Yes, that is journalism.
If the CIA managed to stop that hacking before it happened no journalist would have cried.
If the journalist had participated in the hacking they would be criminally responsible.
And if the journalist obtain proof of relevant stories (especially related to corruption in politics) they will publish them.
There has never been a poisonous tree standard in journalism.