Network pharmacology identified active alkaloids and 194 overlapping targets associated with NAFLD, and protein-protein interaction analysis highlighted TP53, EGFR, STAT3, AKT1, and TNF as key hub genes. The gene discussed is TNF; the disease is metabolic dysfunction-associated steatotic liver disease.