As almost all the cardiometabolic traits were associated with NAFLD risk while only TC, TyG index, γ-GT, ALT and ALP were related with famine exposure, we conducted mediation analyses to assess whether the five contributors mediated the famine–NAFLD relation. The gene discussed is GPT; the disease is metabolic dysfunction-associated steatotic liver disease.