I think that's an oversight, but if someone tried to kill me I would defend myself.
Floppy ragdoll rpg sandbox with physics-based combat · By
Also when you get inside the boss room, it seems unfinished because you can see all the outside stuff of the game and you can even walk off the boss area, though the ground changes colour, so I guess in a newer update there will be a kill wall or something like that to prevent the player from wandering off.