Module resources
Safety and guardrails
Checked sources to go further than the lessons. Back to the module.
Recommended learning sequence
Work through these in order.
Start with the mental model: private data, untrusted content and an outbound channel in one agent is the combination to avoid. Repeated on purpose: it is a lesson source, and it frames every later step.
2025 Top 10 Risk & Mitigations for LLMs and Gen AI Apps (opens in a new tab)
Then see the whole list the two lessons draw from, so each control you learn has a risk name and number. Repeated on purpose: it is a lesson source, used here as the map of the module.
Mitigating prompt injection attacks with a layered defense strategy (opens in a new tab)
A vendor's layered defence in plain language: model hardening, prompt injection content classifiers, security thought reinforcement, markdown sanitization and suspicious URL redaction, a user confirmation framework. It shows lesson 1's layers working together.
How Microsoft defends against indirect prompt injection attacks (opens in a new tab)
A second production design that separates prevention, detection and impact mitigation, and says some injections will get through. This is the thinking behind lesson 2's blast-radius controls.
Design Patterns for Securing LLM Agents against Prompt Injections (opens in a new tab)
Move from controls to architecture: named design patterns that limit what an agent can do once it has read untrusted text. Read it after the two vendor posts so the trade-offs make sense.
NeMo Guardrails (opens in a new tab)
Finish by trying guardrails in code: an open-source toolkit for input, output, retrieval and tool-call checks. Wire one check into a small app and see what it catches and what it misses.
All resources
Official documentation
OWASP Top 10 for Agentic Applications for 2026 (opens in a new tab)
The OWASP list for autonomous agents, a framework of ten risks for autonomous and agentic AI systems. Read it next to lesson 2's excessive-agency material to see the agent-specific view.
A NIST profile that extends its AI Risk Management Framework to generative AI. Use it to connect this module's controls to a governance vocabulary teams and auditors recognise.
A NIST taxonomy and glossary of attacks and mitigations in adversarial machine learning. It gives shared terms for what lesson 1 calls injection and jailbreaks.
Further reading
Agents Rule of Two: A Practical Approach to AI Agent Security (opens in a new tab)Essential
A short rule of thumb close to the lethal trifecta: until injection can be reliably detected, an agent in one session should hold no more than two of untrusted input, sensitive access and the ability to change state or communicate. A vendor blog post.
Research papers
Design Patterns for Securing LLM Agents against Prompt Injections (opens in a new tab)
Names design patterns for building agents that resist prompt injection by construction, and discusses the trade-offs in terms of utility and security. A preprint; it gives lesson 2 an architectural vocabulary.
Defeating Prompt Injections by Design (opens in a new tab)
Proposes CaMeL, a design that puts a protective layer around the model instead of relying on the model to resist. Read it to see a stronger alternative to detection. A preprint.
Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversations (opens in a new tab)
Describes a model built to classify the safety of prompts and responses, the kind of input and output check lesson 1 weighs for cost and errors. A preprint.
Hands-on
NeMo Guardrails (opens in a new tab)
An open-source toolkit for adding programmable guardrails to LLM-based conversational systems; its README says it can filter input, check retrieved documents, validate tool calls and moderate output. Telemetry is on by default and can be disabled, per the README.
Case studies
Mitigating prompt injection attacks with a layered defense strategy (opens in a new tab)
Shows six layers around Gemini, including markdown sanitization and URL redaction and a user confirmation framework for risky actions, so lesson 1's trade-off between layers has a real example.
How Microsoft defends against indirect prompt injection attacks (opens in a new tab)
Describes Spotlighting, a classifier-based detector, deterministic blocks on known exfiltration methods and human consent for sensitive actions. Useful for seeing which layers are probabilistic and which are deterministic.
Mitigating the risk of prompt injections in browser use (opens in a new tab)
Reports how a browser agent is defended with training, classifiers and human red teaming, and gives attack success rates from Anthropic's own adaptive tests. The authors say even a low rate is a meaningful risk, which supports the module's stance that no layer is a guarantee.
A post-mortem of a zero-click prompt injection in a production assistant. It chains several bypasses, including a classifier, link redaction and a content security policy, which shows why one layer is not enough.