You can eat peanuts beyond the expiration date if they aren’t soft or rancid. But if there’s the slightest hint of mold, or if the peanuts are discolored, shriveled, or the shell is broken, throw them away. That’s because peanuts, especially those grown in Africa and Asia can harbor the fungus aspergillus flavus, which produces a toxin that causes liver cancer. Imported peanuts must pass inspections so you should be OK, but it still pays to be on the look out for substandard nuts and check the packaging for dates.