If moisture gets into your flour then you can expect mold, especially if it’s in a humid environment. Keep the flour in a cool and dry place.