In the case linked, "NASA had to shut it's systems down for 3 weeks at the cost of $41000 to check and fix it's systems"...This is bullshit. First off, you should have sufficient redundancy in your internal systems, especially for life critical code, that an intrusion affects the front line, not things like your source repository. Further, you should have regular backups and checkpoints -- checksums, etc. to be able to compare and identify anything compromised.
Laws to guard against lazy employees should not be allowed.
A bogus case.