People can die in campfire on CS base
I don't even know if there's a way to fix this, but this corpse makes sleeping on CS base not so safe anymore. Maybe somehow disable damage for NPCs? Or heal them as soon as they get damage from campfire?

Most (but not all) campfires deal fire damage. Short of making NPCs invulnerable to fire damage (and hence to fire anomalies and fire poltergeists), or making campfires deal no damage (which would also affect the player), there is no easy fix I'm aware of.
I guess it would be possible to make campfire damage entirely script-based, which would allow for disabling it for NPCs without also disabling it for the player, but I dislike this idea from a program design standpoint enough to reject it outright and just accept that sometimes NPCs unceremoniously fry to death in a campfire.
By the way, the problem isn't caused by NPCs voluntarily walking into campfires - the AI map doesn't cover campfires. Rather, the problem is NPCs colliding with each other and pushing each other off the AI map and into the campfire as they make their way to their designated vertex.
I wonder if it is possible to disable campfire damage for everyone as an optional feature?
For me personally having no campfire damage for player is preferable to randomly dying NPCs