TExcelTAD
Home › Security Foundations: Concepts, Law, Ethics & Your Lab › US Law: the CFAA, Van Buren and Good-Faith Research

US Law: the CFAA, Van Buren and Good-Faith Research

Security work crosses borders: the server you test may be in another country, the company may be American, the cloud region may be in Europe. Even if you never live in the United States, US law is worth knowing, because a large share of the services you will touch are run by US companies and because US court decisions shape how the whole industry writes its rules. This lesson covers the federal anti-hacking law, the 2021 Supreme Court case that narrowed it, and the 2022 Department of Justice (DOJ) policy on security research.

Note: This is an overview for learners, not legal advice. Laws, court decisions and prosecution policies change; read the current text and ask a lawyer before relying on any of it.

The Computer Fraud and Abuse Act

The main federal law is the Computer Fraud and Abuse Act (CFAA), codified at 18 U.S.C. § 1030. It was enacted in the 1980s and has been amended many times. Its offences are in subsection (a). The ones that matter most for security work:

Provision In plain words
§ 1030(a)(2) intentionally accessing a computer without authorization or exceeding authorized access, and thereby obtaining information from a "protected computer" (and some other categories)
§ 1030(a)(4) the same kinds of access, knowingly and with intent to defraud, to obtain something of value
§ 1030(a)(5) causing damage: knowingly transmitting code or a command that intentionally damages a protected computer, or accessing without authorization and recklessly causing damage
§ 1030(a)(6) trafficking in passwords or similar access information with intent to defraud
§ 1030(a)(7) extortion: threatening to damage a computer or to disclose information obtained without authorization, to get money or something of value

Three features make the CFAA wide:

  • A "protected computer" (§ 1030(e)(2)) includes any computer "used in or affecting interstate or foreign commerce or communication". In practice that is almost every computer connected to the Internet.
  • Attempts and conspiracies are punished too (§ 1030(b)): a failed attack is still an offence.
  • There is a civil action (§ 1030(g)): a company that suffers damage or loss can sue, within two years of the act or of discovering the damage, provided the harm meets one of the statute's thresholds (most often a loss of at least $5,000 in one year). Even when no prosecutor is interested, a researcher can be sued.

The law does not say "hacking". It turns on authorization, a word it never defines. "Without authorization" (you had no right to be there at all) is the outsider case. "Exceeds authorized access" (§ 1030(e)(6): accessing a computer with authorization and using that access to obtain or alter information you are "not entitled so to obtain or alter") is the insider case, and for decades courts disagreed about what it meant.

Van Buren v. United States (2021)

Nathan Van Buren was a police sergeant in Georgia with valid credentials for a state licence-plate database. In an FBI sting, he took money (about $5,000) to look up a plate for a private person. The search broke his department's policy, which allowed the database to be used only for law-enforcement purposes. He was convicted under § 1030(a)(2) for exceeding authorized access.

The Supreme Court reversed the conviction on 3 June 2021, by 6 votes to 3 (Justice Barrett wrote the majority opinion; Justice Thomas dissented, joined by Chief Justice Roberts and Justice Alito). The Court held that a person "exceeds authorized access" when they access a computer with authorization but then obtain information from particular areas of the computer (files, folders, databases) that are off limits to them. Using information you are allowed to reach, for a bad purpose, is not a CFAA violation under this clause. The opinion describes the test as a "gates-up-or-down inquiry": either you are allowed into that part of the system or you are not.

The Court also warned that the government's broader reading would make "a breathtaking amount of commonplace computer activity" criminal, such as breaking an employer's computer-use policy.

What Van Buren did not settle matters just as much. In a footnote the Court left open whether the "gates" are only technical barriers (passwords, access controls) or can also be limits written in contracts and policies. So:

  • Bypassing a login, guessing a password, using someone else's account or reaching a directory your account cannot open are still the core of the CFAA.
  • Breaking a website's terms of service, on its own, is a much weaker basis for a federal case after Van Buren, but it can still matter in civil disputes and under state law.
text
Van Buren in one picture

   your account may open:   [ A ]  [ B ]       you open A or B for a bad reason
                                               -> not "exceeds authorized access" (Van Buren)
   your account may NOT:    [ C ]  [ D ]       you get into C anyway
                                               -> exceeds authorized access
   no account at all:       the whole system   -> "without authorization"

DOJ's 2022 policy on good-faith security research

Prosecutors decide which cases to bring. On 19 May 2022 the DOJ revised its policy for charging CFAA cases. Federal prosecutors are told to decline prosecution when the evidence shows that the defendant's conduct consisted of, and the defendant intended, good-faith security research. The policy defines that as accessing a computer solely for purposes of good-faith testing, investigation and/or correction of a security flaw or vulnerability, where the activity is carried out in a manner designed to avoid any harm to individuals or the public, and where the information derived is used primarily to promote the security or safety of the devices, machines or online services, or those who use them.

Read the limits as carefully as the promise:

  • It is a charging policy, not a change to the statute. It binds federal prosecutors, not courts, state prosecutors or companies that sue under § 1030(g).
  • "Solely" and "good faith" are judged on the facts. Research used to extort the owner ("pay me or I publish") is excluded explicitly, and claims of research used as cover for other aims are not protected.
  • It does not authorise anything. It is a reason a prosecutor may decline, after the fact.

Copyright: DMCA section 1201

A second US law often meets security research: section 1201 of the Digital Millennium Copyright Act forbids circumventing technical measures that protect copyrighted works (software, firmware). Every three years the Librarian of Congress grants exemptions, and since 2015 these have included one for good-faith security research on computer programs, renewed in each cycle, most recently in the rule that took effect on 28 October 2024. The exemption has its own conditions (lawfully acquired device or software, research carried out in good faith, no violation of other laws such as the CFAA), so it is a narrow door, not a general licence.

State laws and contracts

Every US state also has its own computer-crime law, and some are broader than the CFAA. Contracts matter too: a bug-bounty programme's terms or a client's authorization letter is what turns testing into authorised access, and a programme's safe-harbour clause (the company promises not to pursue you for research that follows its rules) is the most practical protection a researcher has (Responsible Disclosure).

Pitfalls

  • "It was publicly reachable, so it was allowed." Reachable is not authorised. Van Buren narrowed the insider clause; it did not make guessing someone's admin URL plus password legal.
  • "DOJ won't charge researchers." It says it will decline good-faith research cases. A civil suit, a state charge, or a prosecution abroad are still possible.
  • "I live outside the US, so US law doesn't apply." The CFAA reaches computers used in interstate or foreign commerce, and extradition treaties exist. Your own country's law applies anyway.

Practice

1. A support engineer may view any customer record in the CRM. She looks up her ex-partner's address out of curiosity. Is that "exceeding authorized access" after Van Buren?

Most likely not under the CFAA: the record is in an area her account is allowed to open, and using it for a forbidden purpose is the situation Van Buren excluded. It can still be a fireable offence, a privacy-law violation or another crime, depending on the jurisdiction.

2. A researcher changes `id=1001` to `id=1002` in a URL and sees another customer's invoice. Is the DOJ policy a guarantee they won't be charged?

No. It is guidance for federal prosecutors, conditional on good faith, harm avoidance and using the information primarily to promote security. The company could still sue, and state law could apply. The safe path is a bug-bounty programme or disclosure policy that covers the site, stopping at one record, and reporting at once.

Test yourself

What did the Supreme Court decide in Van Buren v. United States (2021)?

  1. Breaking any terms of service is a federal crime
  2. 'Exceeds authorized access' covers getting information from areas of a computer that are off limits to you, not misusing information you may access
  3. Security research is always legal
  4. The CFAA no longer applies to insiders

Which statement about the DOJ's May 2022 CFAA charging policy is correct?

  1. It amended 18 U.S.C. § 1030
  2. It tells federal prosecutors to decline cases that are good-faith security research, but it does not bind civil plaintiffs or states
  3. It protects anyone who calls their activity research
  4. It allows extortion if the vulnerability is real

Why is almost every Internet-connected computer a 'protected computer' under the CFAA?

  1. Because it has antivirus
  2. Because the definition includes computers used in or affecting interstate or foreign commerce or communication
  3. Because it has a password
  4. Because it is owned by the government

A company believes you damaged its server during unauthorised testing. Apart from a prosecution, what does the CFAA allow?

  1. Nothing
  2. A civil lawsuit for damages under § 1030(g)
  3. Only a warning letter
  4. Only a fine paid to the vendor