You can lose a hero when scouting, but there are a couple of criterias

1) Gates are open
2) There are defending scouts
3) You lose the fight (scouts vs scouts)

and I am not talking about scout bombs.