AI agents can now take a compiled program, read it with a decompiler and write a working copy in a new language. Dave Plummer showed it this month by rebuilding Windows Calculator in Rust from the binary alone, and then said the quiet part: as an engineering demo it amazed him, and as a way to copy someone’s product he thinks it should be illegal. So is reverse engineering legal? In the US the honest answer is “sometimes, for some purposes”. Here is the short version of what the law covers, the cases people cite and why the old clean room method matters more than ever. This is not legal advice.

Is reverse engineering legal? What copyright covers

Copyright protects expression, not function. Section 102(b) of the US Copyright Act says protection doesn’t extend to any idea, procedure, process, system or method of operation (17 U.S.C. 102). So Microsoft doesn’t own adding numbers, and anyone can write a calculator. The code that expresses those functions can be protected, and so can some structure beyond the literal text, which is why renaming every variable isn’t a free pass.

The cases people cite

CaseWhat happenedWhat it means
Sega v. Accolade (9th Cir. 1992)Accolade disassembled Sega game code to learn how to make compatible gamesDisassembly to reach unprotected functional parts for compatibility was fair use there
Sony v. Connectix (9th Cir. 2000)Connectix copied the PlayStation BIOS while building an emulatorThat intermediate copying was fair use

Neither case is a permission slip to duplicate a commercial app. Plummer points out that Sega left open claims about the finished products. Contracts can also forbid reverse engineering in a license, and other laws, such as anti-circumvention rules, can apply.

Clean room reverse engineering, explained

The classic safe route is a clean room. One person or team studies the original and writes a specification of what it does, without passing along its code. A separate team, which never sees the original’s code, builds to that spec. Phoenix Technologies used this approach in 1984 to write a PC BIOS compatible with IBM’s, and it became the standard way to build compatible replacements. The catch: the IBM BIOS had only a handful of entry points, while a modern app has thousands, so the spec alone can be enormous.

What AI changes

AI makes the first half, studying the original, fast and cheap. That cuts both ways. It helps people recover software they own, keep old systems running and build compatible tools. It also tempts people to skip the second half and simply translate the original into a new language. Plummer’s line is that new source text isn’t independent authorship: “A compiler produces an executable. It does not produce a certificate of independent authorship.”

Is reverse engineering legal for your business? A practical test

Ask four questions before you point an AI at someone else’s software:

  1. Do we own it, or do we have written permission?
  2. Does the license forbid reverse engineering?
  3. Are we after compatibility, or a replacement that copies its look and code?
  4. Can we write our own spec and build from that instead?

If the honest answers are “no, yes, replacement, no”, stop and talk to a lawyer.

Why we tell clients to build from their own spec

I’ve built, scaled, and sold three companies, generated over $85 million in the last seven years in my own companies. The products we were proudest of came from decisions we wrote down ourselves. They were also the easiest to defend, to sell and to keep improving.

EvidenceSource
Ideas and methods of operation are not protected17 U.S.C. 102(b)
Disassembly for compatibility allowed in Sega v. Accolade977 F.2d 1510 (9th Cir. 1992)
Intermediate copying fair use in Sony v. Connectix203 F.3d 596 (9th Cir. 2000)

Want a new tool built from your own spec?

We work out with your team what the tool must do, write it up as a plain spec you approve, and have AI build and test it against your real data. If you’re replacing old software you own, we check ownership first and compare the new version with the old one before you switch. You keep the spec, the code and the tests. Why now: building from a spec has never been cheaper, and it is the route that holds up.

What you getWhere
A written spec, a built tool and a test suiteAI automation

FAQ

Is AI cloning software legal?
It depends on what you copy, how and with whose permission. Copying function can be fine; copying protected code or expression usually isn’t, whatever language it ends up in.

Is decompiling a program illegal?
Not always. US courts have allowed it for compatibility in some cases, but licenses and other laws may forbid it.

What makes a clean room clean?
The people building the new version never see the original’s code; they only see a spec of its behavior.

Is this legal advice?
No. Ask a lawyer about your specific case.

Sources

Would your next tool hold up if someone asked where it came from?

Book a call and we’ll start with the spec.

Book a Search Strategy Call