why is it dangerous to eat raw lima beans? raw lima beans contain a compound called linamarin, which turns into cyanide when consumed. though you're likely not sitting around eating raw lima beans, it's important to keep them away from children and to make sure that, when you are cooking them, you're doing it properly.