No, all companions are like that. The difference is in non-Passive, they'll attack upon any detection, but in Passive, they won't until you attack or you're being attacked...or, if you're sneaking, as soon as the [ HIDDEN ] turns red and says [ CAUTION ] they'll attack. They're just trying to protect ya.

If you want to sneak crit I think it needs to be done while in HIDDEN anyway, once it's red you just get normal crits, but I could be wrong about that, someone can correct me if I am.
It can be very annoying in vaults/indoors tho, because walls/doors are in their way so they'll go rushing up & down stairs/corners to get to enemies their perception can sense.
Only solution is to make them "wait" outside while you explore those areas...they'll still be there when you exit. For more casual use you can tell them to wait a small distance away while you're sneaking, and then if you get into trouble you can run back towards them and they'll cover your retreat.