
Coding Agent Swarms, Part 5: Running the Fleet From Your Phone
The Last Mile Is the Operator The first four parts of this series built the substrate: foundation, fleet, multi-fleet …

There’s a dangerous assumption spreading through enterprise AI adoption: that the security model for chatbots also covers agents.
It doesn’t. Not even close.
A chatbot takes a question and returns an answer. An agent takes a goal and acts on it. It reads your files. It calls APIs. It executes code. It makes decisions about what to do next, often without asking permission first.
That distinction — from responding to acting — changes the threat model entirely. When your AI can do things, the consequences of compromise stop being theoretical.
The security industry is catching on. Three major reports in early 2026 converge on the same conclusion: AI agents are a fundamentally new attack surface, and most organizations are nowhere near ready for it.
IBM’s 2026 X-Force Threat Intelligence Index, published February 25, documents a 44% increase in attacks exploiting public-facing applications. Vulnerability exploitation became the leading initial access vector in 2026, accounting for 40% of incidents — surpassing phishing for the first time. The report specifically flags the expanding attack surface created by AI-integrated systems and agentic workflows that expose new entry points attackers are already probing.
Cisco’s State of AI Security 2026 report goes further, calling out agents as the defining new attack surface. The top three threat vectors: prompt injection, supply chain compromise, and misconfiguration. These aren’t hypothetical. They’re being observed in production deployments.
Menlo Security frames it even more bluntly: AI agents are “the new insider threat.” They have credentials. They have access to internal systems. They can take autonomous actions. And unlike a human insider, they can be manipulated at machine speed without social engineering — just a well-crafted payload in the right document.
The attack surface for agents isn’t just bigger than for chatbots. It’s categorically different. Here are the patterns that matter most.
This is the one most people have heard of, but few understand at agent scale.
Direct prompt injection — where a user types “ignore your instructions” — is a chatbot problem. It’s been written about extensively, including on this blog . Input validation and prompt hardening can mitigate the worst of it.
Indirect injection is different. The malicious instructions aren’t in the user’s input. They’re embedded in the content the agent consumes autonomously: a document in a shared drive, an email in an inbox, a web page the agent retrieves during research, a code comment in a repository.
The agent reads the content as part of its task. The injected instructions execute in the agent’s context, with the agent’s permissions. The user never sees the payload. The agent doesn’t know it’s been compromised.
This is harder to defend against because the attack surface is every piece of external content the agent touches. And agents, by design, touch a lot of content.
Agents don’t run in isolation. They’re built on frameworks, use third-party tools, load model files, and pull dependencies — just like any other software.
Except the supply chain for agent systems includes novel attack vectors. Model files can contain embedded executable code. Agent framework plugins can be backdoored. Tool definitions — the JSON schemas that tell agents what they can do — can be crafted to grant capabilities the developer never intended.
Cisco’s report specifically flags supply chain compromise as a top-three vector for agent attacks. The agent ecosystem is young, fast-moving, and full of components that haven’t been through the kind of security scrutiny that mature software dependencies have.
Many agent architectures include persistent memory — a store of facts, preferences, and context that carries across sessions. This memory shapes future behavior. It’s also an attack surface.
If an attacker can inject false information into an agent’s memory — through a compromised interaction, a poisoned document, or exploitation of the memory update mechanism — they can influence every subsequent decision the agent makes. The agent will trust its own memory. It has no reason not to.
Memory poisoning is insidious because it’s persistent and invisible. The initial attack might look benign. The impact shows up later, in a different context, making it hard to trace back to the source.
The industry is moving toward multi-agent architectures where specialized agents collaborate on complex tasks. One agent does research, another writes code, another reviews it, another deploys it.
Now consider what happens when one agent in that chain is compromised. Its output — poisoned data, malicious code, subtly wrong analysis — flows to downstream agents as trusted input. Each agent in the chain amplifies the compromise, potentially across different systems and permission boundaries.
A single point of compromise can cascade through an entire workflow. The blast radius of an agent-level attack in a multi-agent system is not one agent. It’s every agent that trusts that agent’s output.
Agents need permissions to be useful. They need to read files, call APIs, access databases, execute code. The principle of least privilege says they should have only the permissions they need for their specific task.
In practice, agents are routinely over-provisioned. It’s easier to give an agent broad access than to carefully scope permissions for every possible task. And agents can be manipulated into requesting or exercising permissions beyond their intended scope — especially when combined with prompt injection.
An agent with read access to a codebase and write access to a deployment pipeline is one successful injection away from deploying malicious code to production. The agent doesn’t need to “hack” anything. It’s using the permissions it was legitimately granted, just not for legitimate purposes.
Most application security assumes a clear boundary between the system and its inputs. User input is untrusted. System logic is trusted. You validate the boundary.
Agents break this model. An agent’s behavior is determined by a combination of its system prompt, its tools, its memory, and the external content it processes — and the boundaries between these are blurry. The agent itself decides what content to consume and what actions to take. There’s no single input validation point that covers the entire attack surface.
Traditional web application firewalls, API gateways, and input sanitization don’t address indirect injection through documents an agent retrieves on its own. Dependency scanning catches known CVEs in packages but doesn’t address backdoored model files or malicious tool schemas. Network segmentation helps but doesn’t prevent an agent from misusing the access it legitimately has within its segment.
The security tooling hasn’t caught up with the deployment patterns. Organizations are shipping agent systems into production while their security teams are still thinking in terms of request-response architectures.
There’s no silver bullet, but the direction is clear: agents need to run in sandboxed, governed environments with strong isolation, scoped permissions, and auditable behavior.
Sandboxed execution. Agents should run in isolated environments where the blast radius of a compromise is contained. Not on your corporate network with broad access. In a controlled runtime where every external interaction is mediated and logged.
Scoped, just-in-time permissions. Instead of granting agents standing access to systems, provision permissions per-task and revoke them when the task is complete. An agent analyzing a quarterly report doesn’t need write access to your deployment pipeline.
Content filtering for agent inputs. Every piece of external content an agent consumes — documents, web pages, API responses, emails — should pass through a filtering layer that checks for injection patterns before the content reaches the agent’s context.
Memory integrity. Agent memory should be treated as a security-critical data store with integrity checks, access controls, and audit logs. Not a casual key-value store that any interaction can update.
Behavioral monitoring. Log what agents do, not just what they’re asked to do. Look for anomalies: unexpected API calls, unusual data access patterns, actions that don’t align with the stated task. This is your detection layer when prevention fails.
Human-in-the-loop for high-risk actions. For anything that modifies production systems, accesses sensitive data, or has irreversible consequences, require human approval. Agents should be powerful assistants, not unsupervised administrators.
This is the approach Calliope takes — running AI workloads in isolated, governed environments on your own infrastructure, where every agent action is scoped and auditable. It’s not about limiting what agents can do. It’s about ensuring they only do what they’re supposed to.
The gap between agent deployment velocity and agent security maturity is growing. Organizations are racing to ship autonomous AI systems while the security frameworks, tooling, and best practices for those systems are still being written.
The IBM, Cisco, and Menlo Security reports all say the same thing from different angles: attackers are already targeting these systems. The 44% increase in application exploitation isn’t happening in a vacuum. AI-integrated applications — agents included — are part of that expanding surface.
The organizations that treat agent security as an afterthought will learn the lesson the hard way. The ones that build security into their agent infrastructure from the start — isolation, governance, least privilege, monitoring — will be the ones that can actually trust their agents to do useful work.
Because an agent you can’t trust is worse than no agent at all.
IBM, “IBM 2026 X-Force Threat Intelligence Index,” February 25, 2026. https://newsroom.ibm.com/2026-02-25-ibm-2026-x-force-threat-index-ai-driven-attacks-are-escalating-as-basic-security-gaps-leave-enterprises-exposed
Cisco, “Cisco State of AI Security 2026 Report,” 2026. https://blogs.cisco.com/ai/cisco-state-of-ai-security-2026-report
Menlo Security, “Predictions for 2026: Why AI Agents Are the New Insider Threat,” 2026. https://www.menlosecurity.com/blog/predictions-for-2026-why-ai-agents-are-the-new-insider-threat
Sombra, “LLM Security Risks 2026,” 2026. https://sombrainc.com/blog/llm-security-risks-2026

The Last Mile Is the Operator The first four parts of this series built the substrate: foundation, fleet, multi-fleet …

A Short Story About Why the Stack Has the Shape It Does Every platform has an origin story. Most of them are forgotten …