Securing trust boundaries between agents
For engineers
Stopping injected instructions and borrowed privileges from crossing between agents, and trusting external agents only as far as needed
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
A browsing worker summarises a web page that contains a hidden instruction. The orchestrator then reads the summary. What is the main risk?
Check yourself · 2 of 5
What makes an agent a confused deputy?
Check yourself · 3 of 5
Three agents (search, writer, publisher) all use one organisation-wide token. What is the main problem?
Check yourself · 4 of 5
In a dual-model design, what does the quarantined model lack?
Check yourself · 5 of 5
What is an A2A agent card?
Topics
- Prompt injection spreading from agent to agent4 min read · Instructions hidden in a page a worker read can ride its report into the orchestrator and onward
- Delegated privilege and confused-deputy agents4 min read · A low-trust agent asking a high-privilege agent to act for it, and requests that launder authority
- Per-agent tools, credentials and scopes4 min read · Separate credentials and narrow tool lists for each agent instead of one shared, broad key
- Quarantine and plan-then-execute agent patterns4 min read · Dual-model quarantine, plan-then-execute and capability-based designs that keep untrusted text away from privileged choices
- Trusting third-party agents over A2A4 min read · Agent cards, authentication, what data a remote agent receives and which of its answers need checks
Start here
- Design Patterns for Securing LLM Agents against Prompt Injections (arXiv) (opens in a new tab)PaperFree
Six named patterns, including plan-then-execute and dual LLM, with the utility each one gives up.
- Defeating Prompt Injections by Design (CaMeL, arXiv) (opens in a new tab)PaperFree
Shows a capability-based design that separates trusted plans from untrusted data and tracks where values flow.
- Agentic AI threats and mitigations (OWASP GenAI) (opens in a new tab)DocsFree
A threat catalogue for agents, including privilege compromise and multi-agent trust problems.
110 questions · last verified 2026-12