That's just the first example I found. Cookie dough contains raw egg. Raw egg is a known carrier of salmonella. It kinda makes sense. They make raw cookie dough that's safe to eat because it's made with pasteurized egg.