Aflatoxins are potent carcinogenic compounds, mainly produced by fungi species of the genus Aspergillus in the soil. Because of their stability, they are difficult to remove completely, even under extreme conditions. Aflatoxin contamination is one of the main causes of safety in peanuts, maize, wheat and other agricultural products. Aflatoxin contamination originates from the soil. Through the investigation of soil properties and soil microbial distribution, the sources of aflatoxin are identified, aflatoxin contamination is classified and analysed, and post-harvest crop detoxification and corresponding contamination prevention measures are identified. This includes the team’s recent development of the biofungicide ARC-BBBE (Aflatoxin Rhizobia Couple-B. amyloliquefaciens, B. laterosporu, B. mucilaginosus, E. ludwiggi) for field application and nanomaterials for post-production detoxification of cereals and oilseed crops, providing an effective and feasible approach for the prevention and control of aflatoxin contamination. Finally, it is hoped that effective preventive and control measures can be applied to a large number of cereal and oilseed crops.