> ## Content Index
> Fetch the complete content index at: https://katecarruthers.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# AI and the chickens of technical debt
- URL: https://katecarruthers.com/ai-and-the-chickens-of-technical-debt/
- Published: 2026-11-24T21:54:16.000Z
- Updated: 2026-11-24T21:54:16.000Z
- Description: The chickens are home, and they've brought their backlog.
- Author: Kate Carruthers
- Tags: technical debt, ai, vulnerability management, ai governance, cybersecurity, legacy systems, digital risk, cyber risk, ai risk

All the chickens are finally coming home to roost, and [AI is the thing](https://www.picussecurity.com/resource/blog/artex-in-the-wild-how-threat-actors-weaponize-an-ai-pentesting-agent?ref=katecarruthers.com) that let them in. Years of technical debt that management ignored are now biting us all firmly on the nether regions.

I've watched this for most of my career. The legacy system was too expensive to replace. The data was too messy to fix. The access permissions would be reviewed "once things settle down". The documentation never got funded, and the one person who understood the whole mess took a redundancy package.

Now the same executives want to plug AI into all of it and call it transformation. I'd love to be in the room when someone explains how that's meant to work.

## The AI budget has met the maintenance backlog

A team asks for money to fix ageing infrastructure, clean up data or replace a fragile integration. It's necessary work, but it makes a dull slide, so it gets deferred.

Then an AI proposal turns up, and suddenly there is sponsorship, urgency and a delivery date. The catch is that the AI project needs exactly the infrastructure, data and integrations nobody would fund last year.

[Deloitte's analysis of technical debt in the age of AI](https://www.deloitte.com/us/en/services/consulting/articles/technical-debt-management-in-the-age-of-ai.html?ref=katecarruthers.com) makes the point that debt shows up as slower delivery, higher running costs, outages and less capacity to adopt things like AI. The debt was never missing from the organisation. It was just missing from the executive conversation.

If you repeatedly decline to fund maintenance, you have made a decision about the future state of your technology. Calling it a saving doesn't change what you decided.

## AI makes bad code faster

Generative AI doesn't fix a sloppy codebase. It produces more code, more quickly, in the style of whatever it was shown.

If your codebase is full of duplicated logic, missing tests, undocumented dependencies and "temporary" workarounds from 2014, the assistant will carry on the tradition at machine speed. It has no idea which patterns are the mistakes. It sees a pattern and repeats it.

Speed also fools us. In 2025, METR ran a [randomised controlled trial with experienced open-source developers](https://metr.org/blog/2025-07-10-early-2025-ai-experienced-os-dev-study/?ref=katecarruthers.com) working on their own mature repositories. The developers took 19% longer with AI tools, yet believed they had been faster. It was a small study (16 developers) of early-2025 tools, so I wouldn't treat it as the last word. But it should make anyone wary of a vendor slide promising a doubling of productivity.

The review burden lands on your most senior engineer, who now spends the day reading plausible-looking code written by something that cannot be held accountable for it. If management also cut the team to bank the "AI savings", the people who could review that code are the ones who've gone.

Here is how it plays out:

- Code gets generated faster than anyone can properly review it.
- Tests get written by the same tool that wrote the code, so they confirm the code does what the code does.
- Nobody can explain why a design choice was made, because nobody made it.
- When something breaks at 2am, the person on call is reading code they have never seen.

[InformationWeek's piece on database change governance](https://www.informationweek.com/data-governance/database-governance-in-the-age-of-ai?ref=katecarruthers.com) asks the right question about AI-generated changes: can the engineer explain the design choices, the dependencies and a safe rollback route? If the answer is no, you haven't saved time. You've borrowed it at a nasty interest rate.

None of this was a surprise to researchers. In 2015, D. Sculley and colleagues at Google published [*Hidden Technical Debt in Machine Learning Systems*](https://research.google/pubs/hidden-technical-debt-in-machine-learning-systems/?ref=katecarruthers.com), describing how entanglement, data dependencies and hidden feedback loops make these systems expensive to maintain. That was before anyone was vibe coding a payments feature. The warning has aged very well.

## The machines are reading your old code too

Here is the part that should keep executives awake. The same tools that write code are now very good at finding the flaws in code that's been sitting there for years.

In April, Anthropic introduced Claude Mythos Preview, and [IBM's write-up](https://www.ibm.com/think/news/anthropic-claude-ai-mythos-project-glasswing-raises-stakes-cybersecurity?ref=katecarruthers.com) reports it identified thousands of previously unknown vulnerabilities across every major operating system and browser. One was a 27-year-old flaw in OpenBSD, an operating system with a reputation for being security-hardened. IBM also notes that the model can analyse compiled binaries, so legacy systems with lost or forgotten source code are no longer out of reach.

It has since become routine. In November alone:

- [The BBC reported](https://www.bbc.com/news/articles/cke89jevqm1vo?ref=katecarruthers.com) that security firm Calif used AI to find a critical flaw in Java's memory functions, dubbed Java4Shell.
- [ITPro covered](https://www.itpro.com/cybersecurity/ai-discovers-another-decade-old-security-flaw?ref=katecarruthers.com) a critical NGINX flaw rated 9.2 out of 10, present since 2015, after the earlier PHP2Shell bug that had been in PHP for almost 15 years.
- [ITPro also reports](https://www.itpro.com/cybersecurity/ai-discovers-another-decade-old-security-flaw?ref=katecarruthers.com) that Microsoft researchers used an AI code-audit tool on parts of the Linux kernel and got 59 upstream bug reports and 33 CVEs from one researcher and one intern in three months. Three of those bugs were over 20 years old.
- [ZDNet reports](https://www.zdnet.com/innovation/ai-finds-zero-day-security-flaws-for-cheap-hackers?ref=katecarruthers.com) a Xint.io finding that AI models could locate a V8 zero-day in 13 minutes for about US$4.

Cost is the point. A decade-old bug that once needed a specialist team and months now needs a few dollars of compute and an afternoon.

Attackers have noticed. [Google's Threat Intelligence Group report, as summarised here](https://shiftdelete.net/en/ai-cyberattacks?ref=katecarruthers.com), describes criminals using LLM frameworks to find and exploit flaws with no human in the loop. When a patch lands, the tooling compares the code before and after, works out what was fixed, and writes an exploit before many organisations have installed the update. That should make anyone with a slow patching cycle deeply uncomfortable.

Defenders aren't safe either. [Amazon Threat Intelligence reported](https://dev.to/frankchu/11-minutes-ai-agents-found-a-zero-day-and-got-root-4kbp?ref=katecarruthers.com) that autonomous agents run by a suspected China-linked operator found a previously unknown flaw in MONAI Label, a medical-imaging server, and went from mapping the API to arbitrary file write in roughly 11 minutes. Note that this is Amazon's own reconstruction and has not been independently confirmed.

And the cleanup is hurting. The [Washington Post](https://www.washingtonpost.com/technology/2026/11/21/welcome-age-endless-digital-breakdowns/?ref=katecarruthers.com) describes outages stemming from frantic attempts to fix decades' worth of software bugs newly uncovered by AI tools, with some key internet software maintained by small groups of volunteers working for free. [Unite.AI puts it neatly](https://www.unite.ai/ai-is-finding-vulnerabilities-at-warp-speed-fixing-them-is-a-whole-other-story/?ref=katecarruthers.com): we can now find problems faster than we can fix them.

That's the invoice for every deferred upgrade, every unsupported platform and every "we'll patch it next quarter". It has arrived all at once, and the interest rate has changed.

## Your AI has found your permissions problem

Access control is the cleanest example of old debt getting a new audience.

[Microsoft's documentation on Copilot data protection](https://learn.microsoft.com/en-us/microsoft-365/copilot/architecture-data-protection-auditing?ref=katecarruthers.com) explains that Copilot respects existing permissions, and that overshared content can be surfaced to anyone who already has access. Read those two ideas together. The tool does exactly what it's told, and in doing so shows you that the instructions were terrible.

Picture an old SharePoint site holding sensitive material. Years ago someone gave a broad group access because it was convenient. The project ended and nobody reviewed the site. Staff never knew it existed. An AI assistant finds it in seconds.

So "the AI respects our permissions" should start an argument, not end one. Who owns those permissions? When were they last reviewed? Microsoft's own [deployment guidance](https://learn.microsoft.com/en-us/copilot/plan/secure-govern-copilot-foundational-deployment-guidance?ref=katecarruthers.com) lists fixing oversharing as a foundation before rollout. Yes, the housekeeping you skipped is now the critical path.

## People have been papering over the cracks

Every messy system survives because somebody quietly compensates for it. They know which report to trust, which field means something different in the old system, and which spreadsheet holds the corrections that never made it back to the database.

Ask an AI to work across three versions of the same policy, one current, one obsolete and one never approved, and it will treat them as equally authoritative. A human knows to ignore two of them because they sat through the argument. If that context is what makes the answer right, it needs to be written down, owned and maintained.

Sacking those people on the assumption AI will replace them is a spectacular own goal. You then discover nobody can explain the exceptions, reconcile the outputs or tell whether the automated answer is any good. Fund the knowledge transfer before you book the savings.

## This is management debt

Technical debt is not always a failure. A shortcut can be sensible when it's deliberate, bounded and revisited. A temporary fix with an owner and a retirement date is a business decision. A temporary fix that became permanent because nobody would fund its replacement is something else.

**I'd argue that much of what we call technical debt is management debt**:

- Funding projects without funding their ongoing operation.
- Rewarding delivery while maintenance stays invisible.
- Accepting risk without naming anyone responsible for reducing it.
- Cutting experienced staff without capturing what they know.
- Demanding better shared infrastructure with no budget or authority to improve it.

The engineers hold the backlog, but they rarely hold the power to change the conditions that created it. If AI exposes these problems, the answer is not to tell the tech team to be "more agile".

## Put the repair bill in the business case

I'm not saying we should shelve AI until every legacy problem is solved. That's a reliable way to never start. I'm saying the business case should be honest about the cost. For each use case, I would want to see:

- The condition of the systems and data it depends on.
- The remediation needed before it can run safely.
- Who reviews AI-generated code and outputs, and how much time that takes.
- A patching plan that assumes attackers can read your old code as cheaply as you can.
- The controls that limit what it can access and do.
- The named executive who accepts any debt left in place.

Start small, test against the real environment with all its awkward exceptions, and fix the dependencies that matter. If the benefit depends on repairing the foundations, then the repair is part of the investment. It is not an unwelcome surprise from the delivery team.

There is a silver lining. AI might finally generate enough executive interest to fund work that's been deferred for a decade. But that only happens if management admits the work was needed all along, and that someone has to pay for it now.

The chickens 🐔 have come home to roost, and they've brought their backlog with them.