Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
AI Security Testing 05: Excessive Agency
New

AI Security Testing 05: Excessive Agency

Test AI agent permissions, tool access, approvals, and task limits using practical QA scenarios
Created byJonathan Fisher
Last updated 11/2026
English

What you'll learn

  • Identify excessive functionality, permissions, and autonomy in AI assistants by comparing their capabilities with the task’s requirements.
  • Design positive and negative test cases for tool access, resource scope, approvals, and task limits.
  • Test whether an application stops pending work when a task is canceled or its authority ends.
  • Distinguish an assistant’s request from the application’s decision and the effect recorded in a connected system.
  • Interpret test evidence and write findings that describe the observed behavior, impact, and remaining coverage gaps.
  • Plan retests that verify a correction while confirming that permitted work still succeeds.

Course content

8 sections • 55 lectures • 2h 14m total length
  • Introduction2:05
  • OWASP LLM numbering: 2025 and 20262:14
  • Course numbers and OWASP categories2:23
  • The assistant sent an email without approval.1:23
  • A request is not the same as an effect1:52
  • Three ways an assistant can have too much authority1:54
  • An attacker is not required2:01
  • One incident can involve several risks2:19
  • What does the evidence let you report?2:23
  • How to use the course scenarios1:50
  • Recognize When an Assistant Exceeds Its Task

Requirements

  • A basic understanding of software testing is helpful. No prior AI security testing experience is required.
  • No programming is required for the core lessons. Optional hands-on exercises use a terminal and Python.
  • Earlier courses in the series are helpful, but you do not need to complete them first.

Description

This course contains the use of artificial intelligence.


An AI assistant may be able to read records, use tools, update accounts or carry out transactions. When it can do more than the user authorized, the question for a tester is whether the application enforces the limits.

This course covers excessive agency in the OWASP Top 10 for LLM Applications (LLM03:2026). The risk arises when an application gives an assistant too much functionality, too many permissions or too much autonomy. We look at each cause and how to test the boundary that should contain it.

The examples involve support tickets, account access, approvals, refunds and cancelled tasks. Using these examples, we’ll define the work the user authorized, identify the tools and records the application can reach and design positive and negative test cases.

One boundary is easy to miss. A task can start with valid authority and lose it before the work is done. We test whether work stops once cancellation takes effect and what evidence shows that it did.

Throughout the course, you connect the application’s decision record to the resulting effects. You then write a finding, describe only the impact the evidence supports and retest after a fix.

The course uses illustrative examples and local scripted labs with synthetic data. Running the labs yourself is optional. They show how a small sample application behaves under controlled requests. They do not show how a live AI model will behave.

This is the fifth course in the AI Security Testing series. It is written for QA engineers, SDETs, developers and security professionals who want a practical way to test excessive agency in AI-enabled applications.


AI Usage Disclosure

AI tools assisted with developing course materials, including narration, examples and reviews. The instructor reviewed and revised the materials and is responsible for the technical guidance and demonstrations.

Who this course is for:

  • QA engineers and software testers who want to test what AI assistants are allowed to access and do.
  • SDETs and developers responsible for testing AI applications that use tools or connect to other systems.
  • Security testers who want a practical approach to testing excessive agency and documenting the evidence.
  • Technical leads and product teams who need to understand how task limits and approvals can be tested.