Vekseid, have you a dark past as hacker?
I'm sure he was just testing, sometimes there's no other way to check security issues. :)
Ah, the white hat vs black hat conundrum. Computer hacking is almost always looked at as a bad thing, just like burglary is, but many places hire both just to have their flaws pointed out in advance. These hackers are normally called white hats, a trope referring to old Western movies and shows, such as the lone ranger. They technically possess skills that are clandestine or could be used for bad shit, but they do good stuff with said skills. Other hackers are either black hats or grey hats.
Black hats are your normal creators of malware/viruses with the ability to hack. Grey hats are the strange group, and there aren't really a whole lot of them. Really, they're the trope who hacks just for the fun/challenge of hacking... not because they actually want to steal stuff, though information seekers who steal military secrets to put them out on the net could sometimes be considered grey hats. Not to trudge up old stories or anything, but if the government is doing something illegal, and call someone a traitor for revealing secrets connecting them to it, it puts both sides in an odd situation.