Two NADPH-generating enzymes, ALDH1L2 and MTHFD1, were identified as suppressors of ROS-mediated toxicity in metastasizing melanoma cells. Here, MTHFD1 is linked to melanoma.