prevent wallet hacking