The current anti-hacker system works by doing a server-wide check of the resources of each player... If it dips enough into the negative, they are desynched, and sometimes kicked.
Ever since it came out it's been buggy, llike 4 emergency patches came out to attempt to fix it.
Currently, there is a really high threshold, but...if you have a lot of lag, then there could be a disrepancy between your client (yay I have exactly 0 resources) and the server (-150?).
thanks to the guy who suggested monarchy my special ops rush it can be done better now, what you would put in a new goverment like anarchist(they're not really a goverment but int imes of war all is posible) I would put stronger and faster units whit minor regeneration( 1 point per second of something like that for don't be unbalanced) but no recieving any rescource or building advantage.