TL;DR: Self-replicating prompt injection turns each touched agent into a carrier because shared memory can preserve the payload after quarantine, explains ARMO. Agent containment has to follow the reachable graph, or the alerted workload may not be the only place the payload remains active.
Editorial analysis by NHI Mgmt Group, based on content published by ARMO: “Prompt Infection: Why LLM-to-LLM Injection Makes Every Agent Your Blast Radius”.
Key questions
Q: When does shared memory make an agent incident harder to contain?
A: When the malicious context is written into a store that later agents read from.
Q: How do security teams know if prompt infection is still spreading?
A: Look for multiple agents departing from their own baselines in the same window, especially when no deployment, image, or model change explains the shift.
Q: What breaks when prompt infection can replicate across agents?
A: Single-workload containment breaks first.
Practitioner guidance
- Map the reachable agent graph Inventory which agents can delegate to others, which shared stores they can reach, and where context can be forwarded transitively.
- Purge infected shared memory Identify every write made during the infection window in vector stores, scratchpads, and session backends, then remove those entries before recovery.
- Enforce per-agent behavioural baselines Collect process, syscall, network, file, tool, and identity telemetry per agent so deviation is scored against each agent’s own history.
Bottom line: Self-replicating prompt injection changes the control problem from one compromised agent to a propagating chain of carriers and shared-state reuse.
Glossary terms: Prompt Infection, Agent Graph, Shared Agent Memory, Per-Agent Baseline
Explore further
View Full Forum → | NHI Foundation Course → | Our Services → | Read the full analysis →
Prompt infection creates a propagation problem, not just a prompt-safety problem. Once the payload can copy itself, the relevant unit of security becomes the reachable agent graph. That shifts governance from single-agent monitoring to control over delegation paths, shared context, and recovery boundaries. Practitioners should treat propagation as the core risk, because containment that stops at one workload leaves the incident alive elsewhere.
A few things that frame the scale:
- AI-related credential leaks surged 81.5% year-over-year in 2025, with the surrounding AI infrastructure leaking 5x faster than core LLM providers, according to the State of Secrets Sprawl 2026.
A question worth separating out:
Q: Who is accountable for containing AI agent blast radius?
A: The team that owns the agent graph, the shared memory, and the recovery process is accountable, even when the payload arrives through a user prompt or retrieved document. In practice, AI platform owners, security operations, and application owners all share responsibility for limiting propagation across delegated agents.
👉 Read our full editorial: Prompt infection turns agent graphs into a wider blast radius