Asking a model to strip the ads doesn't make the code yours
AI didn't invent software piracy. It made piracy cheap enough to outrun a 1998-era takedown system, and GitHub's slow reply shows the cost of that gap.
The most revealing part of this story isn't that people pirated a web app. People have been saving pages and stripping ads since browsers had a "Save As" menu. What has changed is the cost. Copying used to be a deliberate act by someone who could read a large minified JavaScript bundle. Now it's a one-sentence prompt, and the result goes up on the world's biggest code host looking like a new open-source project. The takedown system it runs into was designed for a world where copying took effort.
The prompt is not a transformation
Let's be clear about what these repositories contain. Someone took the shipped code of a commercial, ad-supported product, asked a model to remove the parts that pay the developer, and published what was left. Using a language model as the editor doesn't change the legal character of that act, just as running a novel through a find-and-replace for every adjective wouldn't. The output is a derivative of a copyrighted work, made without permission, built specifically to remove the work's revenue mechanism. That is close to the textbook case.
The source excerpt cuts off before GitHub's full reasoning, so I won't guess at the exact grounds for its reply. It could be a procedural problem with the notice, a dispute over whether the listed repositories were identified precisely enough, or something else. Whatever the reason, a month to reach a non-removal on a case this legible is a bad result. The DMCA safe harbour in Section 512 asks platforms to act "expeditiously" on valid notices. A month is not expeditious by any reasonable reading. If the notice was defective, the developer should have heard that in days, with a clear explanation of how to fix it.
AI didn't make piracy legal; it made piracy cheaper than enforcement, and that turns out to be nearly the same thing.
Why the platform's incentives point toward doing nothing
The strongest defence of GitHub runs like this. Takedown systems get abused constantly, and GitHub has been burned for complying too quickly. In 2020 it removed youtube-dl after an RIAA notice, faced a large backlash from developers, reinstated the project, and announced a legal defence fund for developers facing questionable takedown claims. After that, a cautious platform has good reason to look hard at any notice involving code that is technically public. Photopea's JavaScript is served to every visitor's browser. Lawyers looking at that might reasonably wonder where "publicly delivered" ends and "freely reusable" begins.
That argument fails, though, because it treats every hard case as if it were hard. youtube-dl was a genuine dispute about circumvention law and a tool with clear legitimate uses. An ad-stripped copy of a commercial editor has no such defence. Code that is publicly delivered is not publicly licensed. Every web app ships its client code to the user, and nobody seriously thinks that makes Google Docs' front end public domain. If the caution learned from youtube-dl now protects obvious cases, the lesson was learned too broadly.
The structural problem is the more important one. Notice-and-takedown assumes infringement is scarce and identifiable: one file, one notice, one removal. The developer describes tens of repositories. Each of them can be regenerated in minutes by anyone with a chatbot, under a new name, with a slightly different diff. A process that takes a month per batch can't keep up with a copying process that takes minutes per copy. The platform doesn't need to approve of the infringement for it to win. Being slow is enough.
What actually breaks at scale
The damage the developer describes is less obvious than lost ad revenue, and arguably worse. They describe receiving support complaints from users of forks, and needing several emails to work out that the person wasn't using Photopea.com at all. That cost hits the original developer with no matching benefit. Forks that drift out of date, run on unknown modifications, and carry the original name still produce bug reports, and the original author has to answer them. Multiply that by the number of AI-generated repackagings of any popular client-side app, and a small developer's support load starts filling up with other people's builds.
There is also a security issue that nobody in the thread seems to be pricing in. A repository described as "popular editor, ads removed" is exactly the bait you'd use to distribute something worse. Users who download one can't easily check what else the model, or the person prompting it, changed in a large minified bundle. Ad-free forks of free software are an old and reliable malware vector. Generating them automatically doesn't make them any safer.
In practice: if you use AI coding assistants at work, this is a good moment to look again at what you are asking them to do. The model will happily strip the licence checks, telemetry, or ads from code you didn't write. It has no idea whether you have the right to do that, and the liability is yours, not the model vendor's. "The assistant rewrote it" won't hold up in a code-provenance audit, and it's a weak answer to give your legal team. Before your team ships something partly derived from someone else's client-side code, find out where that code came from. On the other side, if your product's value lives entirely in JavaScript sent to the browser, assume it can now be copied and repackaged in an afternoon. The defences are mostly old ones: keep the valuable logic server-side where you can, keep clean authorship records, and, if you're in the US, register your copyrights early, because registration affects what remedies you can pursue.
What GitHub should do instead
The fix isn't stricter law. Section 512 already covers this case. The fix is operational. GitHub owns the infrastructure, can see the forks, and knows which repositories share large amounts of identical code with a disputed original. Code hosts already run similarity detection for secrets and malware. Pointing the same tooling at verified takedown requests is an engineering task, and the same is true of fast-tracking repeat notices from a rights holder whose earlier claims were upheld. Meanwhile, Microsoft-owned GitHub sells AI coding products whose usefulness depends on developers trusting that code provenance means something. Leaving a commercial developer in limbo while AI-generated copies of their product pile up undermines that trust.
One developer's month-long wait won't change copyright law. It does show where the burden falls when generation is fast and adjudication is slow: on the original author, who now has to monitor, report, and wait. Platforms that benefit from frictionless code generation should also absorb some of the enforcement cost it creates. For now, the people paying that cost are the ones whose work is being copied.
Sources & further reading
The analysis above is our own. The underlying reporting and primary documents are credited here.