Question: are doughy cookies safe to eat?
Answer: Undercooked cookies are still edible, don't toss them! Some people prefer chocolate chip cookies underdone, but you can't know for sure that the egg has fully cooked (although that wouldn't bother me one bit unless the source was shaky).