Lays out layered defenses against prompt injectionAn attack that hides instructions in content an AI will read — a webpage, email, or document — tricking it into following the attacker instead of the user.Full definition → and misread intent in agents, spanning model, harness, tools and environment. It gives builders a checklist for where to put controls.
Key takeaways · AI-distilled
Anthropic argues that agent security depends on four layers working together: model training, harness guardrailsThe checks around a model that block bad inputs and outputs — filters, validators, and permission rules the model itself can't override.Full definition →, tool permissionsThe rules governing which tools an agent may call and which need confirmation — the boundary between a mistake and an incident.Full definition → and the operating environment; a well-trained model alone is insufficient.
Its April 2026 policy post describes shifting oversight from repeated action approvals toward reviewing a plan, while retaining user intervention and permission controls for consequential actions.
Anthropic describes layered prompt-InjectionA flaw where untrusted input is pasted into a command so that the input changes the command's meaning.Full definition → defenses including model training, production monitoring and external red-teaming, while explicitly warning that these safeguards do not guarantee protection.
The post calls for shared independently verified benchmarks, evidence sharing and open protocols so agent safety does not depend solely on individual vendors’ internal evaluations.
Terms in this piece · Glossary
prompt injection — An attack that hides instructions in content an AI will read — a webpage, email, or document — tricking it into following the attacker instead of the user.
guardrails — The checks around a model that block bad inputs and outputs — filters, validators, and permission rules the model itself can't override.
tool permissions — The rules governing which tools an agent may call and which need confirmation — the boundary between a mistake and an incident.
Injection — A flaw where untrusted input is pasted into a command so that the input changes the command's meaning.