hack validation