The laws regarding handling of classified information don’t authorize punishing government officials for carelessness, but they are written so broadly they come close. One section of the Espionage Act,
18USC793(f), for example, says anyone authorized to handle secrets who “through gross negligence permits the same to be removed from its proper place of custody … shall be fined under this title or imprisoned not more than ten years, or both.” Other
laws controlling government secrets are similarly broad,
especially with regard to Top Secret material.