Lion Cipher Lab

Secure your AI agents: the risk of excessive agency

Why it matters

An AI agent is a large language model that has been given tools and the freedom to use them: it can call APIs, run code, send email, move money, change files. That is enormously useful, and it is exactly why agents are a different security problem from a chatbot. A chatbot that is wrong just says something wrong; an agent that is wrong does something wrong. OWASP's Top 10 for LLM applications names this directly as 'Excessive Agency' — harm that follows from an agent having too much functionality, too many permissions, or too much autonomy over consequential actions. And because an agent…

What you'll learn

Steps in this lab

  1. What an AI agent actually is
  2. The core risk: excessive agency
  3. Prompt injection: your agent as a confused deputy
  4. Give the agent only the tools it needs
  5. Keep a human in the loop for consequential actions
  6. Sandbox tool execution and contain the blast radius
  7. Validate outputs before you act on them
  8. If you build agents, do this

Open the full interactive lab →