Prosecution would open the door for targeting mainstream media outlets that publish classified leaks— and the law is ambiguous.