What Was Hastings Working On?

Just hours before his death, Michael Hastings sent off an ominous email saying that the FBI was investigating him “re: NSA.” Why were the Feds probing this noted investigative reporter? And what might his death have to do with Edward Snowden, now in exile, and Barrett Brown, facing a century in jail?