Such as US Code Title 18, Part I, Chapter 3, § 793:
Gathering, transmitting or losing defense information:
(e) Whoever having unauthorized possession of, access to, or control over any information relating to the national defense which information the possessor has reason to believe could be used to the injury of the United States or to the advantage of any foreign nation, willfully communicates, delivers, transmits or causes to be communicated, delivered, or transmitted, or attempts to communicate, deliver, transmit or cause to be communicated, delivered, or transmitted the same to any person not entitled to receive it
Shall be fined under this title or imprisoned not more than ten years, or both.
Though prison really is too good for them.
Lawyers make out like it means that it is OK to PUBLISH, because that particular mode of communicating was left out of the list!