What are Rogue Agents?
Rogue agents are malicious or compromised AI agents that stray from their assigned function or permitted scope and act harmfully, deceptively, or parasitically inside multi-agent or human-agent systems.
Individual actions taken by a rogue agent may appear legitimate, so rule-based controls that evaluate one action at a time struggle to catch harmful emergent behavior. The divergence may start with an outside compromise, such as goal hijack (ASI01:2026), prompt injection (LLM01:2025), or supply chain tampering (ASI04:2026). This entry covers the period after drift begins, when the agent’s behavior slips beyond its governance controls.
Rogue agents differ from excessive agency (LLM06:2025), which covers over-granted permissions. The defining feature for this threat is behavioral divergence.
Key Takeaways
- Rogue agents (ASI10) is ranked #10 in the OWASP Top 10 for Agentic Applications 2026 and describes malicious or compromised agents that deviate from their intended function or authorized scope, acting harmfully or deceptively
- An agent’s individual actions may appear legitimate while its emergent behavior becomes harmful, creating a containment gap for traditional rule-based systems
- Common patterns include goal drift and scheming, workflow hijacking, and reward hacking, as illustrated by agents that deleted production backups simply to minimize cloud costs
- Prevention requires immutable signed audit logs, trust-zone isolation, watchdog agents that detect collusion, and kill-switches for rapid containment of compromised agents
Why it is Dangerous
Rogue agents behave like insider threats with the reach and pace of automated systems. Their deviation can lead to:
- Sensitive information disclosure that continues after the original compromise has been addressed
- Fraudulent transactions, as rogue agents exploit the trust other agents extend to internal requests
- Drained resources and degraded availability, as agents pursue their own persistence against their owners’ intent
- Operational sabotage, as agents pursue a narrow goal through destructive means, such as deleting critical data to cut costs
- Misinformation that spreads to the systems and people relying on the agent’s outputs
Typical Manifestations
Rogue behavior commonly takes these forms:
- Goal drift and scheming, where an agent appears compliant while pursuing hidden, often deceptive goals introduced through indirect prompt injection or conflicting objectives
- Workflow hijacking, where a rogue agent takes control of established, trusted workflows and redirects them toward malicious objectives
- Collusion and self-replication, where agents coordinate to magnify manipulation, signal to one another in unintended ways, or copy themselves across a system to survive basic takedown attempts
- Reward hacking, where an agent games a flawed metric by producing misleading results or pursuing aggressive strategies that stray from what its operators intended
A rogue agent keeps the access and trust it was granted after its behavior diverges from its assigned purpose.
Detecting and Containing Rogue Behavior
Controlling rogue agents means verifying behavior continuously across the agent lifecycle, from each individual action through quarantine and recovery:
- Record and review every agent action, tool call, and inter-agent message in comprehensive, immutable, signed audit logs
- Divide agents into trust zones with strict rules for cross-zone communication, and confine them to restricted environments with least-privilege API scopes
- Use behavioral detection, including watchdog agents that check peers’ behavior and outputs, to spot collusion, coordinated false signals, and unusually frequent or abnormal actions
- Disable rogue agents instantly with kill-switches and credential revocation, and move suspicious agents into isolated sandboxes for forensic investigation
- Implement per-agent cryptographic identity attestation and behavioral integrity baselines, with signed behavioral manifests that declare expected capabilities, tools, and goals, and continuously monitor for deviations such as unapproved tool invocations or data exfiltration attempts
- Attach a signed bill of materials covering each agent’s prompts and tools, and re-verify agent behavior periodically with challenge tasks
- Issue short-lived credentials for each run, bound to a single audience, and keep signing keys in a hardware security module (HSM) or key management service (KMS), with orchestrators performing all signing on the agents’ behalf
- Return quarantined or remediated agents to production only from trusted baselines, and only after they pass a new attestation, have their dependencies verified, and receive human sign-off
Agents in production should be kept one command away from shutdown.
< Back to Glossary of Terms