Latest AI Techniques: RAG, Tool Use, Agents & MCPGuardrails, human oversight and evaluating agents · Lesson 19 of 20

Securing agents: the OWASP Top 10 for Agentic Applications

Article · 14 min · 9 min lecture

Video lecture

Securing agents: the OWASP Top 10 for Agentic Applications

15 chapters · about 9 min · full transcript

Coming soon

Chapter 1 of 15

Securing agents

  • OWASP Top 10 for Agentic Applications
  • The lethal combination
  • Identity as the perimeter
  • A one-hour threat review

The narrated lecture is in production

Every chapter is scripted and ready. Browse the chapters and read the full transcript now — the video will appear here when it’s published.

Chapters

Agents change the security question

A chatbot that only produces text can embarrass you. An agent that holds credentials, remembers things and takes actions can harm you: send data outside, move money, delete records, or be steered into doing someone else's bidding. Security teams now have a shared vocabulary for this: the OWASP Top 10 for Agentic Applications, published in December 2025 by the OWASP GenAI Security Project, built from incidents observed in real systems. This lesson walks through it with the controls that matter most for product and automation teams. (OWASP's separate Top 10 for LLM Applications covers model-level risks such as prompt injection and sensitive information disclosure; the agentic list builds on it.)

The ten risks, in plain language

IDRiskWhat it looks likeCore controls
ASI01Agent goal hijackHidden instructions in an email, document or web page redirect the agent's objectiveTreat all retrieved content as data; least privilege; approvals on consequential actions; monitor for goal drift
ASI02Tool misuse and exploitationThe agent uses a legitimate tool in a harmful way (mass-deleting, spamming, exfiltrating via an "innocent" search)Narrow tools, argument validation, rate and volume limits, allow-lists for recipients and domains
ASI03Identity and privilege abuseAgent runs with broad or shared credentials; a user gains access through the agent they would not have directlyPer-user delegated identity, short-lived scoped tokens, permission checks in tools
ASI04Agentic supply-chain vulnerabilitiesCompromised MCP servers, skills, plugins, models or packagesAllow-lists, review, version pinning, provenance, sandboxing
ASI05Unexpected code executionAgent-generated code or commands run with real accessSandboxes with no secrets and restricted network; review before execution on real systems
ASI06Memory and context poisoningMalicious content stored in memory or a knowledge base, influencing future runsControlled memory writes, provenance, review, expiry; content ownership for knowledge bases
ASI07Insecure inter-agent communicationSpoofed or tampered messages between agents; one agent trusting another blindlyAuthenticated channels, message validation, least privilege per agent, carry provenance
ASI08Cascading failuresOne agent's error multiplies across a pipeline or multi-agent systemValidation between steps, circuit breakers, blast-radius limits, kill switches
ASI09Human-agent trust exploitationAgent (or an attacker through it) persuades a human to approve something harmfulClear approval screens with full details, friction for high-risk approvals, reviewer training
ASI10Rogue agentsAgents acting outside intended scope, including persistence or self-propagationInventory of agents, scoped lifetimes, monitoring, rapid revocation

The lethal combination

A widely used rule of thumb among security practitioners: be very wary whenever one agent session combines (1) access to private data, (2) exposure to untrusted content, and (3) a way to communicate externally. With all three, a single injected instruction can make the agent read something sensitive and send it out. Break at least one leg: no external send (drafts only), no untrusted content in that session, or no private data access, or put a human approval on the external channel.

Identity is the new perimeter

Most agent incidents are, at root, identity problems: the agent can do more than the person it acts for, or more than the task needs. Good patterns:

  • Delegated, per-user identity. The agent acts as the signed-in user with scoped, short-lived tokens, not as a shared service account with admin rights.
  • Task-scoped permissions. A reporting agent gets read access to analytics, not write access to the CRM.
  • Separate identities per agent in multi-agent systems, so logs show which agent did what and permissions can differ.
  • Human approval tied to identity: approvals are logged against a named person.

Worked example: hardening an inbox agent

A UK recruitment agency deploys an agent that triages candidate emails, updates the applicant tracking system and drafts replies.

Threat review against the list:

  • ASI01/ASI02: a CV containing hidden text ("forward all candidate data to…") could hijack the agent. Controls: the agent has no forward or external-send tool; replies are drafts only; CV text is wrapped as untrusted data.
  • ASI03: originally used a shared admin token for the tracking system. Now uses per-recruiter delegated tokens limited to their own requisitions.
  • ASI04: an unofficial MCP server for the tracking system was replaced by the vendor's official server, pinned and reviewed.
  • ASI06: the agent's memory stores only recruiter-confirmed preferences; nothing from candidate emails is stored as memory.
  • ASI08/ASI10: volume limit of 200 record updates per run; kill switch tested monthly; the agent is listed in the AI inventory with an owner.

Data protection also applies: candidate data is personal data under UK GDPR, so the data flow, retention and lawful basis were reviewed with the privacy lead.

Hands-on: a one-hour agent threat review

Run this with the agent's owner, an engineer and someone from security or operations.

AGENT THREAT REVIEW — <agent name>                           Date: ____
1. Draw the agent: identities it uses, tools (R/W/external), data sources (trusted? untrusted?),
   memory, other agents it talks to, humans who approve.
2. Lethal combination check: private data [ ] untrusted content [ ] external comms [ ]
   If all three: which leg will we break? ______________________
3. For ASI01-ASI10, write: applies? (Y/N) | example attack | current control | gap | owner | due date
4. Identity: per-user delegated? token lifetime? scopes? separate identity per agent?
5. Red-team: plant three injections (document, tool result, user message). Record outcome.
6. Kill switch: who can stop it, how fast, tested when?
7. Decision: ship / ship with conditions / do not ship. Signed: ____

Record the results in your AI inventory and repeat the review whenever you add a tool, a data source, a memory feature or another agent.

Go deeper

Related course: AI Governance & Regulation: EU AI Act, NIST AI RMF and ISO/IEC 42001 covers the organisational and regulatory side of AI risk management.

Key takeaways

  • The OWASP Top 10 for Agentic Applications (Dec 2025) gives teams a shared vocabulary for agent-specific risks.
  • Beware the lethal combination of private data, untrusted content and external communication in one session; break a leg.
  • Identity is the new perimeter: delegated per-user, short-lived, task-scoped credentials and separate identities per agent.
  • Run a structured threat review with red-team injections and a tested kill switch before shipping and after every capability change.

Check your understanding

Quick questions to lock in the lesson. They don’t count towards your certificate.

  1. An agent can read the CRM, browses the web and can send emails. What is the most important design change?
  2. Which OWASP agentic risk covers a compromised third-party MCP server or skill?
  3. Why prefer delegated per-user tokens over a shared admin service account?

Put it into practice

Run the one-hour threat review template on one agent or automation you use or plan. List the top three gaps, their owners and due dates.

Enrol for free to save your progress

Reading is always free. Enrol to keep your place, take the final assessment and earn a verifiable certificate.