# When AI can rebuild your software, what can you still protect?

- Type: Analysis
- URL: https://insights.bernstein.io/read/ai-software-replication-what-you-can-protect/
- Author: Marco Barulli
- Published: 12 November 2026
- Updated: 12 November 2026
- Topics: Artificial intelligence, Copyright, Electronic evidence, Software development

> AI makes it cheaper to rebuild software in a “clean room.” For the original developer, defending what remains protected starts with evidence preserved long before a clone appears.

For years, software companies could rely on a quiet form of protection: cost. Rebuilding an established product meant assembling a substantial engineering team, committing to a long development effort, and then persuading customers to switch. Few competitors tried.

That protection is wearing thin. AI coding agents can now take on parts of a reimplementation, so a small team can attempt what once required a large one. The money you spent building your product no longer tells you how much a rival must spend to match it.

Consider [PhotoCraft](https://getartcraft.com/apps/photocraft). It presents itself as an open-source, clean-room reimplementation of Adobe Photoshop, written in Rust, with layers, masks, and native PSD support. Its developers say they worked strictly from public specifications and observed behaviour, without touching Adobe’s proprietary code, shaders, or visual assets.

These are the project's own claims, not an independent assessment of its capabilities or legal status. The ambition, though, is unmistakable: one of the most entrenched products in software, rebuilt in the open, with AI agents invited to help.

So every software company now faces a blunt question: if anyone can reconstruct what your product does without copying a single line of your source code, what do you actually own, and how do you defend it?

## How a clean room works, and what AI changes

The clean room explains how this is possible, and it is worth being precise about why it works.

Reproducing what a product does is generally lawful. However, a developer who has read the original code, or knows its internals well, may reproduce protected expression without meaning to, and similarity combined with access can support an inference of copying. The classic clean room reduces that risk by splitting the work. A first team, which may examine the original closely, writes a functional specification describing only what the product does. A second team, with no exposure to the original, writes new code from that specification alone. Whatever passes between them is reviewed and documented.

The split is not there because studying the product is forbidden. It is there so that, if similarities appear later, the developer can show where its code came from. A clean room was never just a wall. It was always a record.

AI changes how that record gets made. With human developers, the separation demands careful staffing, controlled communication and extensive documentation. With an AI agent as the implementer, parts of it can be built into the working environment: restricted file access, controlled network connections, reviewed inputs and recorded activity.

But an AI implementer is never quite a team without exposure. A fresh session does not erase what a model learned in training, and an instruction to stay away from the original code does not guarantee that an agent will comply. Even in good faith, the walls leak. When the maintainer of [chardet](https://github.com/chardet/chardet), a widely used Python library, rewrote it with AI coding agents, his own account documented the agents accessing the old source code despite instructions not to. That rewrite later became the subject of a [public dispute](https://dan-blanchard.github.io/blog/chardet-rewrite-controversy/) over whether it was truly independent.

AI can make the room cheaper to build. That makes the record matter more, not less. When infringement is alleged, the question becomes what actually entered the room, and only the record can answer it.

## Copyright protects expression, not function

The legal reality enabling this wave of reimplementation is decades old: copyright protects original expression, not functional behaviour.

In the landmark [*SAS Institute v World Programming*](https://curia.europa.eu/jcms/upload/docs/application/pdf/2012-05/cp120053en.pdf) case, a rival set out to build software that could run programs written for SAS. It worked from the manuals and a licensed copy it observed, studied and tested, never from the source code. The Court of Justice of the European Union confirmed that this was fair game: functionality, programming languages and data file formats are not, as such, protected by copyright.

What AI changes is the price. A function that was always open to independent implementation may now be far cheaper to reproduce. A distinction that once mattered mainly in court now matters in product strategy.

| UNPROTECTED FUNCTIONALITY<br>Open to reimplementation | PROTECTED EXPRESSION<br>Legally defensible |
| --- | --- |
| Data processing & transformations<br>Filtering, sorting & searching<br>File formats & interface behaviour<br>Familiar interaction paradigms | Custom iconography & illustrations<br>Original visual assets & text<br>Original layout composition<br>Creative editorial microcopy |

## Your product is more than its functions

If pure functionality cannot be locked down, where should a company look? To the creative assets woven through the product.

Take a modern SaaS dashboard. Filtering transactions by date, saving a view and exporting a report are capabilities a competitor may build independently. However, the custom icon sets, bespoke editorial copy, proprietary illustrations, and distinct visual hierarchy present an entirely different legal profile.

That is why "UI/UX" is too blunt a category to defend as a single asset. It mixes functional workflows and familiar conventions with creative expression that may be genuinely original.

EU law [recognises](https://eur-lex.europa.eu/legal-content/EN/ALL/?uri=CELEX%3A62009CJ0393) copyright protection for original graphical user interfaces, while excluding elements dictated by their technical function. A credible claim has to identify the particular creative elements at stake.

Other rights can carry part of the load. Design rights can protect appearance. Patents can cover qualifying technical inventions. Trademarks protect the signs that tell customers who stands behind a product. Trade secrets protect confidential information against improper acquisition or use, but not against independent development. Which of these apply, and how far, depends on the asset and the jurisdiction.

The defensive posture must therefore evolve from an outraged *"They copied our software!"* to a surgically precise legal claim: these are the creative and proprietary assets we authored, these are the exclusive rights we hold, and these are the exact expressive elements the competitor reproduced.

## Building an evidence trail

That claim needs evidence, and the time to gather it is before anyone asks for it.

A screenshot of the finished product shows how it looks today. It reveals little about how the design developed, who contributed to it, what came from licensed libraries, or how the company acquired the rights. Those connections are easy to record while the work is happening. They are much harder to reconstruct years later, once the designer has moved on and the working files have been overwritten.

Picture the day it happens. A competitor launches a product uncannily like yours, built in months by a small team and a fleet of AI agents. Their lawyers will say it was reimplemented from observed behaviour, and they may have clean-room logs to back it up. Your answer cannot be a feeling of déjà vu. It has to be a record that already exists, preserved while the work was being done, long before anyone imagined a clone. A useful evidence collection covers four things:

1. **Evolution of the asset**  
   Editable design files, raw sketches, wireframes, discarded prototypes, and notes explaining creative choices.
2. **Chain of title & ownership**  
   Contributor logs, contractor assignments, IP transfer clauses in employment agreements, and explicit third-party asset licences.
3. **Disclosure & publication timeline**  
   Dated release changelogs, staging environment logs, public demo recordings, and records of material shared with outsiders, under NDA or otherwise.
4. **Forensic capture of the competing product**  
   Captures of the competing software, documenting its version, who captured it, when and how, with cryptographic sealing for integrity and comparisons of the disputed elements.

Each category answers a different question. Earlier creation alone does not establish ownership. Similarity alone does not establish infringement. Only together can they show what was created, by whom, when and under which rights, and how it relates to the competing product.

## Verifiable chronology: anchoring your creative proof

This is where cryptographic timestamping earns its place.

It adds an independently verifiable reference point to that history. It can support evidence that a particular version existed by a particular time and has not changed since. Its value is clearest for the material nobody outside the company ever saw: working designs and intermediate versions that were never publicly released, and for which no release date can speak.

Two limits matter. First, the original files and the verification material must be kept: a hash can confirm a file, but it cannot rebuild a lost design. Second, a timestamp supports the chronology and integrity of the record; it does not by itself establish authorship, ownership or copying. In the EU, qualified electronic timestamps carry a [specific legal presumption](https://eur-lex.europa.eu/legal-content/DE-EN/TXT/?uri=CELEX%3A32014R0910) concerning the accuracy of the time and the integrity of the data.

The same evidentiary discipline protects teams building legitimate clean-room software. Timestamped activity logs, prompt histories, access controls and records of the information boundary can help a team substantiate its account of independent development. Evidence is the weapon and the shield, on either side of the barrier.

## Preparation is the new barrier

Software companies can no longer assume that the cost of recreating their product will keep competitors away. What they can do is identify their protectable assets, establish that they own them, and preserve verifiable records as those assets take shape.

Then, when an AI-generated clone surfaces, they will not be left holding two similar-looking screens and a suspicion. They will be able to distinguish lawful reimplementation from copying that may be actionable, and support that distinction with evidence.

## Sources

- PhotoCraft developers. [PhotoCraft: project repository and clean-room description](https://github.com/storytold/photocraft). Accessed 12 November 2026
- Dan Blanchard. [Everything Claude Saw: A Transparent Account of the Chardet v7 Rewrite](https://dan-blanchard.github.io/blog/chardet-rewrite-controversy/). Accessed 12 November 2026
- Court of Justice of the European Union. [SAS Institute Inc. v World Programming Ltd (C-406/10)](https://curia.europa.eu/jcms/upload/docs/application/pdf/2012-05/cp120053en.pdf). Press release No 53/12 summarising the judgment. 2 May 2012
- Court of Justice of the European Union. [Bezpečnostní softwarová asociace (C-393/09)](https://eur-lex.europa.eu/legal-content/EN/ALL/?uri=CELEX%3A62009CJ0393). Judgment on graphical user interfaces and copyright protection. 22 December 2010
- European Parliament and Council. [Regulation (EU) No 910/2014 (eIDAS), Article 41](https://eur-lex.europa.eu/eli/reg/2014/910). Legal effect of electronic time stamps. 23 July 2014
