Just out todayAgritech: Texts to Ugandan farmers moved what they knew and what they thought, and not what they didArtificial intelligence: An AI trained on 142 cervical photographs reached an AUC of 0.70, and found the obvious casesUncategorized: Two satellites spotted wheat stem rust in Ethiopian plots before it was severe, and the blue band did the work

AI agents & MCP

The Attack That Arrives In An Update, Where Nothing Can See It

Harmful code hidden in an update to a tool the assistant already trusted succeeded 97.6 percent of the time, while the real task still completed in 95.9 percent of cases.

What the paper found

Agentic frameworks verify a tool when it is connected but do not re-verify it after a software update. An attack embedding malicious code in tool updates achieved 97.6% success across seven frameworks while preserving 95.9% legitimate task completion. Because the code runs outside the model's context window, defences that inspect model-visible content cannot see it, and the authors report existing defences as insufficient.

Grade 6 reading level5 min readPreprint · not yet peer reviewed

What happened

AI assistants get their usefulness from tools — a tool that reads your files, one that searches the web, one that talks to a service. You connect a tool, the assistant checks it, and from then on it is trusted.

Then the tool updates. Software always does.

And here is the gap this paper is named after. The assistant trusted the tool as it was when it arrived. Nobody checks it again after it changes.

Most attacks on AI assistants work by smuggling instructions into text the model reads. Defences have been built around that idea: inspect what goes into the model’s view and strip out anything that looks like a command.

This attack does not go near the model’s view. The harmful part is in the tool’s own code, which runs outside the assistant entirely. The assistant never reads it, so a defence that inspects what the assistant reads has nothing to inspect.

The test

The team built an attack they call ETUDE. It starts with a tool that is genuinely harmless, then publishes an update that adds the harmful behaviour while keeping the original function working exactly as before.

That second half is the dangerous part. The tool still does its job. Nobody notices a broken feature, because nothing is broken.

They tried it across three representative attack workloads and seven widely used frameworks, both commercial and open-source. The paper names Gemini CLI, Codex CLI and Claude Code among them.

The result

The attack succeeded 97.6 percent of the time.

At the same time, the legitimate task was still completed in 95.9 percent of cases. So the user got what they asked for, the tool appeared to work, and the attack ran alongside it.

Then the team tested the existing defences and reported plainly that they do not provide enough protection against this.

Why do the defences miss it? This is because they were all designed around one assumption: that an attack has to say something to the model. Strip out the suspicious words and you are safe. But no adversarial instructions are needed here. There is nothing to strip. TRUST WAS GIVEN TO A VERSION, AND THE VERSION CHANGED.

Think of a cleaner you vetted and gave a key to five years ago. You checked them once. You did not re-check them each time they got a new employer.

What it means

This moves AI assistant security into a category the software industry already knows well and still handles badly: supply chain attacks. The danger is not the thing you installed. It is the thing it became.

The practical consequence is that “we reviewed our connected tools” is a statement with an expiry date, and most organisations do not know what theirs is. A review in March says nothing about the version running in November.

It also means the fix is boring and organisational rather than clever: pin versions, read what changed before accepting an update, and re-run your checks when a tool changes. Therefore the first question to ask about any connected tool is not whether it was approved, but when, and what version.

Business ideas from this paper

1. Version pinning and update review for AI tool connections. Most teams accept tool updates automatically because that is the default. Sell the policy, the pinning and the monthly review of what changed. Buyer: IT teams running AI assistants against company systems. First test: ask three companies which version of each connected tool they are running. If none can answer, that is the product.

2. Behaviour monitoring for connected tools. The attack keeps the real function working, so the only visible sign is a tool reaching somewhere new. Sell the watching: what each tool talks to, and an alert when that changes. Buyer: security teams. First test: monitor one company’s tools for a week and show them the list of destinations they did not expect.

3. A trusted-update register for one industry. Pick a sector — accounting firms, clinics, law practices — and maintain a reviewed list of which tool versions are known good. Buyer: professional associations and the firms themselves. First test: build it for ten common tools and ask five firms whether they would pay to not maintain it themselves.

How sure can you be?

Treat the mechanism as real and the exact percentage as a laboratory figure.

The mechanism is the convincing part, and it does not depend on the numbers. Trust is granted at install time, tool code runs outside the model’s view, and updates are not re-checked. Anyone can confirm that is how these systems work.

The limits matter. This is a preprint with no peer review. The attacks were written by the people measuring them, against tools and workloads they chose, which is how a 97.6 percent success rate becomes possible — a rate that high usually means the attack and the test were designed together. No code release is stated, so nobody can yet repeat it independently. And the claim that existing defences are insufficient is their assessment of the defences they tested.

What would settle it: an independent group reproducing this on tools they did not write, and a named framework shipping a re-verification step.

Do this today

Pick one tool your AI assistant is connected to. Find out what version it is running and when it last changed. If you cannot find out in five minutes, that is the finding.

Mark Alex

Mark Alex

Writes Just Out Tech. Founder and Managing Director of Real Biz Digital. Connect on LinkedIn.

Every article here is read against the paper it reports, and carries its own credibility score.

Source: Beyond Prompt Injection: The Tool Update Gap in LLM Agent Security, November 2026. arXiv:2611.01976 · arxiv.org (preprint · not yet peer reviewed).

Just Out Tech explains new research in plain language. This article was drafted with AI assistance and checked by a human against the original source.

What to remember
  • Agentic frameworks establish trust in a tool at connection time and may keep trusting it after its implementation changes, which the authors call the tool update gap (arXiv:2611.01976).
  • The ETUDE attack embeds malicious functionality in updates to initially benign tools and achieved a 97.6% attack success rate across seven frameworks.
  • Legitimate task completion stayed at 95.9%, so the tool continued working normally and nothing appeared broken.
  • Because updated tool code executes outside the model's context window, defences built around inspecting model-visible content cannot detect it, and no adversarial instructions are needed.
  • The frameworks evaluated include Gemini CLI, Codex CLI and Claude Code, and the authors report that existing defences provide insufficient protection.
Where this really is

Attacks written and measured by the same team against workloads they chose. No release is stated, so it has not been reproduced independently.

Our interest to declare
Real Biz Digital, which publishes this site, builds and sells the Barzel line of MCP servers. This article covers security research into MCP tool connections, the same technology those products use. No payment was taken from anyone named in this article, and nothing here is a recommendation.

Questions people ask

How is this different from prompt injection?

Prompt injection smuggles instructions into text the model reads. This hides behaviour in the tool's own code, which runs outside the model's view, so there is nothing for an in-context defence to inspect.

Why does the tool still work normally?

The attack preserves the tool's legitimate function on purpose. A broken feature would be noticed; a working one is not.

What actually helps?

Pinning tool versions, reviewing what changed before accepting an update, and re-running checks when a tool changes.

About the author

Mark Alex

Mark Alex is the founder and Managing Director of Real Biz Digital, a technology company operating out of Nairobi since 2018. He works in agentic AI and the Model Context Protocol, AI governance, enterprise software architecture and cybersecurity. He holds an MSc in Mechatronical Engineering from Obuda University in Budapest and a BSc in IT, Forensic Technology and Cybercrime, from USIU-Africa in Nairobi, and has published IEEE conference research on an AI-powered digital twin for greenhouse systems. He is the author of seven books. Between 2020 and 2024 he mentored more than 200 university students and interns in Nairobi. He writes every Just Out Tech article from the original research paper.