It's not safe to eat raw cookie dough. If the recipe does not contain eggs or raw flour, then it is safe to eat.