Speaking before Judge David Hennessy on Thursday, prosecutors said the IT specialist, who served in the 102nd Intelligence Support Squadron in Massachusetts, would pose a “grave threat to the US national security” if he were to be released from custody pending his trial.