This study systematically assessed heavy metal pollution in agricultural soils near Lanzhou’s industrial zones, revealing severe Hg and Cd risks and highlighting the urgent need for targeted control and risk-based certification standards to protect both ecological and human health.