The Walls Are Falling: A Legal Approach to AI-Assisted Reverse Engineering

By: Stuart Methner

Introduction:

In 2009, Activision spent $200 million to develop and market Call of Duty: Modern Warfare 2. It took approximately two years to develop the game. In the fall of 2026, a few developers using AI models created a near-perfect replica of the game in three months. Using Claude, they reverse engineered the game by translating its machine code, which is unreadable by humans, into a standard, readable code through a process called decompilation. Decompilation is not a novel practice; cases regarding decompilation date back as early as 1992. However, AI has revolutionized the process for decompiling programs. A process that used to take years of dedicated human effort now takes weeks, or even days, to achieve with AI. The implications are enormous, as developers have long relied on the complexity of this process to protect their programs from being copied or recreated. This is, in part, why the law surrounding decompilation is relatively undefined; courts have been operating under the assumption that there are technological barriers to reverse engineering programs that protect developers from copycats. Because of the breakdown of these barriers, software developers will likely push for legal clarity surrounding AI-assisted decompilation.

Relevant Law:

Trade Secret:

Trade secret law offers developers little help in preventing decompilation. A trade secret is information with economic value based on its secrecy. A violation of a trade secret considers whether a secret was misappropriated through improper means, such as theft or espionage. Programmers may argue that using artificial intelligence to decompile a program destroys the value derived from its secrecy, and thus constitutes misappropriation. While the actual proprietary code itself can be protected as a trade secret, reverse engineering is a long-established means by which a third party can properly discover that code. This shields decompilation from trade secret misappropriation, as the process involves writing new code with the same functionality as another program, rather than copying the actual program’s code. This mattered little in the past, when reverse engineering software was as time-intensive as reverse engineering any other product.

However, there is no requirement that reverse engineering must be difficult to achieve. This means that, as long as someone has lawful access to the code, trade secret law does not prevent them from using AI to rewrite the code for themselves. Further, trade secret law only protects things that can actually be kept secret; if the program’s coding information is easily ascertainable upon release, then courts may eventually find that such programs can no longer be considered trade secrets. While proprietary images and slogans are still protected under trademark law, trade secret law currently does not limit AI-assisted decompilation in a meaningful way.

Copyright:

Copyright law is likely the strongest IP barrier to decompilation, yet it still falls short in significant ways. Copyright law grants the creator of an original work, like a program, exclusive rights relating to the ownership of that work. Because it protects the idea behind a work, rather than the code itself, decompiled recreations of a program can infringe on a copyright if 1) the assets of the program are protected by copyright, and 2) the recreated program copied the protected elements. Even so, developers who decompile a program have several ways around an infringement claim. Primarily, the Fair Use defense allows a developer to use a copyrighted work for their own project when used for certain “transformative” purposes, such as conducting research or producing scholarship related to a work’s subject matter.

Historically, developers have been granted a Fair Use defense when decompiling a program was the only way to achieve a purpose beyond just copying the program, such as creating emulators to run a game or discovering the mechanics of a cartridge for a console. The Fair Use defense, however, largely depends on the purpose of the use; while decompiling code for interoperability may be fair, making an exact replica of a game with similar mechanics and assets to undercut the original is not. Decompiling a program allows a developer to easily make modifications that differentiate the user interface, mechanics, or assets in a game, making it relatively simple to circumvent copyright protection. As a result, copyright law is ill-equipped to prevent much AI-assisted reverse engineering.

Contract Law:

Contracts can offer developers stronger protection against reverse engineering. While trade secret or copyright law may not expressly prohibit reverse engineering a program, courts have held that contracts like End User License Agreements (EULAs) that prohibit reverse engineering a program are enforceable. This requires anyone who gains access to a program lawfully and agrees to a EULA not to use AI to decompile the program. If someone does not acquire it lawfully, they may forfeit their protection under copyright law and trade secret law.

But enforceable does not mean followed. For one, it would be nearly impossible to track whether a private individual decompiled a game for their own personal use, and whether that would be impermissible at all. It can also be difficult to track whether a copy of a program was obtained lawfully or not. Developers relying on EULAs or other terms of service must draft them carefully to protect their information.

Conclusion:

Decompilation is a complicated legal subject with compelling rationales on both sides. Throughout the history of intellectual property law, reverse engineering has been a valid means of acquiring an idea or production method, regardless of its ease. A freer system in which programs are easily analyzed and improved leads to a greater array of products that continually build upon each other, giving consumers a great benefit. However, larger developers may be disincentivized from investing time and money into a project that can be ripped and copied for a fraction of the cost, leading to an overall reduction in innovation. Additionally, smaller independent developers who lack the resources to legally protect their programs face a substantial risk of copycats profiting off of their work, as it can be nearly impossible to prevent the decompilation of smaller games once they are available on the market.

AI is radically changing our technological landscape, and the law must respond accordingly. It may very well be that AI-assisted decompilation is a valid form of reverse engineering and thus lawful. However, the current IP landscape rests on outdated assumptions and does not adequately address the dangers of reverse engineering through AI-assisted decompilation, which poses a substantial threat not just to video games, but to any program that can be accessed and analyzed.

Leave a Reply