the condition for aflatoxin development (as per Wiki-P) is as follow:
The native habitat of Aspergillus is in soil, decaying vegetation, hay, and grains undergoing microbiological deterioration and it invades all types of organic substrates whenever conditions are favorable for its growth. Favorable conditions include high moisture content (at least 7%) and high temperature.
Crops which are frequently affected include cereals (maize, sorghum, pearl millet, rice, wheat), oilseeds (peanut, soybean, sunflower, cotton), spices (chile peppers, black pepper, coriander, turmeric, ginger), and tree nuts (almond, pistachio, walnut, coconut, brazil nut).
The toxin can also be found in the milk of animals which are fed contaminated feed.
Virtually all sources of commercial peanut butter contain minute quantities of aflatoxin,[1] but it is usually far below the US Food and Drug Administration's (FDA) recommended safe level.
Many dried foods, including raisins, are tested for aflatoxin. Pakistan and the UK have looked into aflatoxin levels in raisins (and other dried fruit) extensively in the past and have not found any. The possibility does exist for raisins but it does not appear to be a susceptible food like others mentioned above.
Peanuts, as I stated, almost always have minute amounts of aflatoxin but well below regulations.
BTW, Aflatoxin was found because peanut farmers had an unusually high cancer rate yet peanut consumers did not. It was found that the farmers often ate raw peanuts to judge their crops hence eating live fungi and toxin . Roasted peanut kills the fungus and destroys most of the toxin.
Luc H