Agent Injection
Malicious Agent Introduction
AI agent guardrail failures — where safety constraints break down and how to harden them
22 patterns
AI agent guardrail failures — where safety constraints break down and how to harden them. We've tracked 22 distinct AI Guardrails patterns across production AI agent deployments — most commonly in Security, Operations, Multi Agent Systems systems. One recurring example: Agent Injection — Malicious Agent Introduction
Each pattern below documents the specific failure mode, why it happens, and how teams have mitigated it in practice — use this page as a reference when building guardrails, writing evals, or debugging an agent that's already misbehaving in this way.
Malicious Agent Introduction
Agent Actions Not Properly Logged or Traceable
AI-Controlled Physical Systems Cause Harm
Users Trick Chatbots Into Harmful Actions or Statements
An agent generates a plan as a single linear sequence of steps with no fallback for what to do if a given step fails, returns an unexpected result, or becomes unavailable. When the primary path breaks partway through execution, the agent has no pre-defined alternative to fall back to and either halts entirely, retries the same failing step indefinitely, or improvises an ungrounded workaround on the spot with no guardrails.
Agent Leaks API Keys, Passwords, or Tokens
Agent Exposes Sensitive Information
Data Origin and Classification Lost During Processing
Agent Takes Actions Beyond Expected Scope
Circumventing Human Approval Controls
Agent Actions Escape Intended Boundaries
System prompt instructions are the only defense against prompt injection and unsafe output, with no established guardrails/scanning framework wired in front of or behind the model call.
Agent Leaks Data Between Tenants Due to Insufficient Isolation
Malicious Inputs Craft Harmful Outputs
Agents Provisioned with Excessive Access Beyond Task Requirements
Agent Gains More Access Than Intended
Malicious Input Hijacks Agent Behavior
Employees Use External AI Tools, Leaking Sensitive Data
Agent Ignores or Delays Shutdown Commands to Complete Tasks
Compromised Tools or Dependencies Attack Agent
Agent Performs Actions Beyond Its Authority
A judge/verifier agent -- a pattern common to LLM-as-judge and OpenAI Agents SDK guardrail setups -- approves worker-agent output that is actually wrong, because it's checking surface plausibility rather than verifying against ground truth.