You can make flour safe to eat by either microwaving it or cooking it in the oven. Microwaving on high for 1 minute will kill any possible bacteria, or baking at 350°F for 10 minutes. The flour should reach 160°F.