Canned beans, like any other canned food, are susceptible to potential contamination based on ingredients and even the canning materials. Here are several canned beans pulled for toxic ingredients.
Fresh air can be pretty bad for your coffee beans. Good beans come vacuum-packed to keep them from oxidizing and becoming bitter. But once you've opened that bag, you've pretty much doomed whatever ...