Can You Compost Tainted Peanut Butter?
Treat your tainted peanut products as you would treat unwanted raw chicken bits. If you are fortunate enough to have a recalled product in hand rather than in GI tract, throw it away without opening it. Wash your hands carefully if you had to touch salmonelly foods, keep such foods away from children and the elderly, etc.
I wouldn't compost infected products unless you already run a composting system that is capable of handling dead animals and manure. And even then I'd think twice or thrice: The danger, remote as it may be, is that the salmonella will stay alive in your compost and wend its way back to your mouth via garden vegetables or soil handling.