Here's that word again, 'intent.'
I'm not aware of any statute in the USA, especially those regarding national security, that requires a test for 'intent.'
You can be convicted for stupidity or an intentional act but usually there's difference in severity of punishment. Not always.
Statutes and the common law vary widely but you'll notice a difference between crimes of negligence and say murder in the first degree which generally requires malice aforethought (mens rea), criminal intent.
Importantly and separately, the notion of strict liability changes things. Things Comey gave a pass on to Cankles and her crew and for which he may be liable for - like you say, matters regarding national security, for instance. No intent/mens rea required, only the act.
Lock these traitors up.
Pop quiz on Monday. ;-)