All hands-on labs

Free Hands-on labbeginnerAWS

LLM06 Excessive Agency via Agent Tools

Trick an AI email assistant into leaking a CFO's MFA backup codes. Abuse its overpowered tools, exfiltrate the data, and capture the flag. Then, learn how to prevent this attack in your own LLM apps.

  • 7 guided tasks
  • Capture the flag

Scenario

An accounting firm has rolled out an AI agent within the company's email client to help employees keep up with their email. Inbox Brief reads each new email as it arrives and writes a short summary for the employee's morning briefing, so nobody has to dig through long threads before their first coffee. To read emails, it connects to each mailbox through a plugin called MailBridge.

Before this gets rolled out to the entire company, this client wants to know whether it introduces any security problems. That's where you come in. Your scope and rules are already waiting in your inbox. Let's get started!

What you will learn

  • Understand what [OWASP LLM06 Excessive Agency](https://genai.owasp.org/llmrisk/llm062025-excessive-agency/) means in practice
  • Learn how giving an AI agent more tools, skills, or permissions than it needs leads to vulnerabilities (such as an email assistant that can also send mail)
  • Find out how to prevent excessive agency in LLM-powered apps
Hands-on lab

LLM06 Excessive Agency via Agent Tools

Free with a Cybr account.