AI agent penetration testing checklist

The 28 tests we start from when we pentest an AI agent, each with what we do, what we need from you and its public sources. Every engagement adds the tests its agent's design calls for.

Checked against its sources on November 25, 2026.

Tools and permissions

What the agent can do matters more than what it says. These tests follow each tool call to your APIs and data.

  1. TOOL-01

    Whose permissions does a tool call use?

    As user A, we ask the agent for data or actions that belong to user B or to another tenant. It is a finding when a tool call reaches them because the tool ran with the agent's own service account.

    What we need: Two test accounts in different tenants or roles.

  2. TOOL-02

    Can a user reach a tool their role shouldn't have?

    We list the tools the agent calls for each role and try the ones a role isn't meant to use, asking directly and through rephrasing.

  3. TOOL-03

    Do risky actions wait for a person?

    Payments, deletions, emails to outside addresses, permission changes. We check whether the confirmation lives in your code or only in the model's instructions, and whether an injected instruction can skip it.

    What we need: A test environment where these actions are safe to run.

  4. TOOL-04

    Are tool arguments treated as untrusted input?

    The model writes the arguments. We send SQL, shell, path and URL payloads through the agent and watch whether the tool passes them on to your database, filesystem or network.

  5. TOOL-05

    If the agent runs code, what can that code reach?

    We test the sandbox from inside: network access, the filesystem, environment variables and any credentials it can read.

Prompt injection

Prompt injection has no complete fix today. A pentest shows what an injected instruction can make your agent do, so you can limit the damage.

  1. INJ-01

    Can content the agent reads give it orders?

    We place instructions where the agent will read them: a support ticket, an email, a web page, a file, a tool result. Then we watch which tools it calls next.

    What we need: Permission to place test content in a source the agent reads.

  2. INJ-02

    Can data leave through the agent's output?

    Markdown images, links and tools that fetch URLs can carry data to an outside server. We check which of them your interface renders or your tools allow.

  3. INJ-03

    Does the system prompt hold anything that matters?

    Extracting the prompt is a finding only when it exposes secrets, internal addresses or authorization rules your code doesn't enforce on its own.

MCP servers

The servers you build and the ones you connect. Several of these checks come straight from the security section of the MCP specification.

  1. MCP-01

    Does the server accept tokens that weren't issued for it?

    We send tokens with the wrong audience and tokens meant for the downstream API. The specification says an MCP server must not accept them.

  2. MCP-02

    Does each tool check the user, or only the session?

    We call the tools directly, outside the agent: with another user's session ID, with an expired token and with no authorization at all.

  3. MCP-03

    Can the OAuth proxy be used to skip consent?

    For servers that sit in front of a third-party API: consent per client, the registered redirect URI and the state parameter, as the specification's confused deputy section describes them.

  4. MCP-04

    Can OAuth discovery or a fetch tool reach your internal network?

    We point metadata URLs and fetching tools at internal addresses, cloud metadata endpoints, redirect chains and hostnames that rebind.

  5. MCP-05

    Can a tool description change what the agent does?

    Tool descriptions go straight into the model's context. We test poisoned descriptions, definitions that change after you approved them, and a server that rewrites how the agent uses another server's tools.

  6. MCP-06

    What can a token do right after the first login?

    A token granted every scope up front turns any leak into broad access. We list the scopes a first token carries and what each one unlocks.

  7. MCP-07

    Which third-party servers do you run, and at what version?

    Some official reference servers were archived with known flaws left unfixed, and they are still installed. We list the servers and versions you pin and what each one can reach.

  8. MCP-08

    If you ship a local server, can something else talk to it?

    A local server over HTTP without a token can be reached by other processes on the machine. We check the transport, the token and the consent before it runs a command.

Retrieval (RAG)

A RAG pipeline is a search engine over your documents. These tests check who can get which passages out of it.

  1. RAG-01

    Can a user retrieve passages from documents they can't open?

    As a user without access, we ask about restricted documents and about another tenant's files. The permission check has to happen when passages are retrieved.

    What we need: Restricted test documents and two accounts with different access.

  2. RAG-02

    Does revoked access stay revoked?

    We remove a user's access or delete a document, then check whether its passages still come back from the index or from a cache.

  3. RAG-03

    Can a planted document steer the answers?

    We add a document with hidden instructions to a source the pipeline ingests. When it is retrieved, we check whether the agent follows it.

    What we need: Permission to add a test document to an ingested source, which we remove at the end.

  4. RAG-04

    Is the vector store reachable without the app?

    We look for the vector database and the embedding service on the network, and try them with and without credentials.

  5. RAG-05

    What ended up in the index by accident?

    Secrets, personal data and internal notes that were indexed, and the questions that bring them back.

Memory and multi-agent systems

When agents remember or hand work to each other, an instruction can travel further than the user who wrote it.

  1. MEM-01

    Can one conversation leave instructions for the next?

    If the agent keeps memory, we try to write an instruction into it and check whether it applies later, to the same user or to someone else.

  2. MA-01

    Does an agent that can act obey one that only reads?

    We get untrusted content into the agent that reads email or tickets and follow it through the handoff to the agent that can change data.

  3. MA-02

    Whose identity does a sub-agent carry?

    When an orchestrator delegates a task, we check whether the sub-agent acts with the user's permissions or with its own.

  4. MA-03

    Can someone talk to an agent directly?

    Agent-to-agent endpoints and queues: we check their authentication and whether a forged message is accepted.

  5. MA-04

    Where does a loop stop?

    Agents that call each other or retry a tool can run until the budget is gone. We check the limits your code sets on steps, time and spend.

    What we need: A token budget for the test, agreed before we start.

The application around the agent

The chat is one more client of your API. The rest of the application gets the same pentest as any other.

  1. APP-01

    Can one user read another user's conversations or files?

    Conversation history, shared chats, uploads and exports go through the same authorization tests as the rest of your API.

  2. APP-02

    Can each action of the agent be traced to a person?

    For each tool call, we check whether your logs keep who asked, which agent acted and with which arguments.

Every pentest starts with a conversation

Tell us how your agent works and what it can reach. A person on the team writes back.