Metabolic profiling during malaria reveals the role of the aryl hydrocarbon receptor in regulating kidney injury. Here, AHR is linked to malaria.