Hostels are places that you can meet & hang out so fast. It’s normal you ask 6-8 people sleeping together without any trouble. And it’s normal that you thought it’s not safe.
It really depends on the consequences but we can say that hostel travelers mostly open-minded and easy-going. So you are not facing any trouble while you traveling.
If you consider your passport, id, wallet, etc. You can always use lockers.