Raw cookie dough or batter can contain harmful bacteria from raw eggs and flour. Always cook dough and batter before eating to ensure safety.