AI is going to force a rewrite of existing software

I think we are going to have to rebuild a lot of the software we currently trust in production. Some of it will still work perfectly well for the people who use it. The problem will be whether the team responsible for it can understand and secure it quickly enough.

An experienced developer wrote the code, other experienced developers reviewed it and it has been running for years. Those are reasons to take its history seriously. They cannot establish how the system will hold up when finding a subtle weakness becomes much cheaper.

On 16 November, Anthropic announced that it will shorten its vulnerability disclosure window from 90 days to 30 for high- and critical-severity issues reported from January 2027. Its explanation is that independent rediscovery has become more likely as models improve. A bug one model finds is increasingly likely to be found by another, so the company no longer thinks maintainers can count on it remaining private for months. Anthropic's policy update

I would read that as a warning about the way we maintain software. A company can have a sensible security policy and still depend on an application that takes months to change safely. The developer who understood it has left. Nobody is sure what depends on an old endpoint. A fix needs a release window, and the tests do not give anyone much confidence.

For that company, finding the vulnerability faster exposes a second problem: it cannot respond fast enough.

This is where I think the rewrite argument becomes serious. We have kept some systems alive because replacing them looked more expensive and dangerous than carrying on. If the cost of investigating and maintaining those systems rises, while AI reduces some of the work involved in building replacements, more of those decisions will change.

I would start with the parts that are difficult to defend. Suppose a customer portal checks that a person is logged in, then trusts the account number sent from their browser to decide which records to return. Reproducing the same behaviour in a new language preserves the flaw. The useful rebuild puts the ownership check at the point where records are accessed and tests that another customer's records stay inaccessible.

That is the kind of work I expect to grow: finding a security assumption buried across a system and replacing it with a smaller, explicit boundary. The application may look identical afterwards. The important change is that the team can explain what the component permits and produce evidence that it enforces the rule.

On 10 November, Google DeepMind published work using AlphaProof Code to prove specific security properties of Signal's cryptographic implementation. The proofs were checked by Lean, a formal proof checker. Researchers still had to review the specifications and assumptions that defined what was being proved. AlphaProof Code research

They verified existing, unmodified code. That is a good reason to reject a literal demand to throw everything away. Some code can earn stronger confidence without a rewrite. Other code will be easier to reason about after it has been simplified or replaced.

What interests me is the standard this points towards. A model saying that a function looks secure is a review opinion. A test that reproduces the failure gives you something you can run again. A checked proof gives a stronger guarantee about the particular property it covers. We should become more demanding about which of those we have for the code that handles money, identity and access to customer data.

Replacing human-written code with AI-written code does not settle that question. A model can reproduce an insecure design very efficiently. The expensive part of a rebuild may turn out to be deciding what the system must guarantee, including the exceptions nobody documented.

My expectation for 2027 is that more software replacement decisions will begin with that maintenance problem. A system that works but cannot be patched confidently within a reasonable period becomes a liability its owner has to price in. Some vendors will have to rebuild critical components to keep the product credible, even when customers have asked for no new features.

If a vendor told me its product was mature and had passed a security review last year, I would want to know what happened after the last serious finding. How long did the fix take? How did they check it? Can they make the next change without relying on the one person who understands that part of the system?