Security Engineers: Patched Prompt Injections Reappear After Model Upgrades; Treat Updates as Release Events

Patched prompt injection vulnerabilities in AI agent stacks can silently reappear after a model upgrade without any change to the original prompt, according to security engineers. Engineering teams must treat model updates as release events and implement automated regression testing on every build to catch recurring threats.

Testing Model Upgrades

Most engineering teams treat prompt injection as a standard security issue, keeping security separate from delivery. Specialists run adversarial reviews once or twice a year, patch holes, and move on. That cadence worked for legacy systems where code changed through planned releases. Agentic systems move much faster, shifting between reviews without anyone touching the reviewed code.

An agent stack keeps shifting under a patch. A model upgrade, a prompt edit, or a new data connector can reopen a gap closed months earlier. Catching these regressions requires test suites that run on every build. Scheduled reviews check a system at one moment, while a regression suite runs every time any part of the stack changes.

Handling Internal Traffic

Part of the reason holes reopen is how agentic systems pass data. The output of one model becomes the input of the next, and nothing in that handoff treats incoming data with suspicion.

“A malicious instruction introduced into one model can propagate to others it communicates with, producing a chain reaction where compromised output becomes the next agent’s input,” said Akash Agrawal, Vice President of DevOps and DevSecOps at TestMu AI.

“the zero-trust posture security already applies to users and services to the models themselves, treating no agent's output as safe simply because it came from inside the system,” Akash Agrawal, Vice President of DevOps and DevSecOps at TestMu AI, said.

Teams should log every message an agent passes to another and run it through input validation like a public API endpoint. Teams should log every message passed between agents and run it through this validation process.

Managing Retrieval Connectors

Jose Lejin P J, Principal Member of Technical Staff at Salesforce, watched fixed issues return through repeated cycles of patching and retesting. In one case, a patched injection came back through a retrieval connector that let malicious instructions ride inside a document the agent read.

“This flaw was corrected by tightening the structure and processing of system prompts and inputs, but we still observed it failing for several weeks before we finally fixed it,” said Lejin.

The fix held until a model version bump brought the injection straight back.

“The updated version was just more compliant to the instructions found in retrieved documents, so it executed the instructions previously disregarded by the older version. Our prompt did not change at all,” added Lejin.

TestMu AI is an agentic AI quality engineering platform that tests apps, chat and voice agents, and agent-to-agent workflows. In AI security testing and DevSecOps, the organization provides automated AI red teaming that executes adversarial scenarios—such as prompt injection, jailbreak, and data exfiltration tests—against agent channels to catch regressions and security gaps between releases.

Photo of author

Technology Desk

Technology Desk at Archyde.

GOLF Panelist Says Ohoopee Match Club Ranked Too Low in 2026-27 Top 100

Study of 54,000 UK Adults Links Two Diet Habits to Lower Death Risk With Fatty Liver Disease