These toxins occur naturally in the shellfish's viscera, which are usually discarded. Those who enjoy cooking and eating crab should simply take precautions not to eat the viscera, located under the crab's back, and avoid using whole crabs in soups and other dishes.