If you get caught, no matter where, u get banned !
GM check ur inventory and see you hack (Lots of badges for example)
People report you (screenshot, rec video) and send that to GM
GM checks your room (even you locked it with password, they still can get into your room and kick u out)
There are more ways to get banned ! So no way to say 100% safe if u hack, u have to accept the risk.
I hack and never get banned (I'm always careful when come to hacking, especially on my main)