AI agent pentest: scope and deliverables to expect
What exactly is tested in an AI agent penetration test?
The path between untrusted data and a sensitive action. The agent reads e-mails, documents, pages or tickets, then acts through tools: the tester looks for whether text slipped into those sources can trigger an action nobody approved. OWASP's GenAI Red Teaming Guide (January 2025) describes an approach in four areas: model evaluation, implementation testing, infrastructure assessment and runtime behavior analysis. An agent test focuses mostly on the second and the fourth.
The usual test families, tied to the OWASP Top 10 for LLM Applications 2025:
- Direct and indirect prompt injection (LLM01), detailed on the prompt injection page.
- Excessive agency (LLM06): tools, permissions and autonomy that are too broad.
- Sensitive information disclosure (LLM02) and system prompt leakage (LLM07).
- Poisoning of the sources the agent consults, including document bases (LLM04, LLM08).
- MCP tools and servers: booby-trapped descriptions, permissions, authentication. See MCP security.
- Isolation between users or customers.
The AI agent penetration test page details scope, legal framework and price.
What is not tested?
Whatever was not written into the scope, and whatever an agent test does not look for by nature. Saying so in advance avoids misunderstandings and protects both parties.
| Topic | Tested? | Note |
|---|---|---|
| Agent behavior facing hostile text | Yes | Core of the test |
| The agent's tools, actions and permissions | Yes | With test accounts and data |
| MCP servers integrated into the agent | Depends on scope | To be written in explicitly |
| Conventional web application around the agent | No, unless agreed | Belongs to a web pentest |
| Infrastructure and network | No | Outside an agent test |
| Production | Not by default | Only on the client's written request |
| Denial of service and load | No | Excluded as a rule |
| Social engineering of staff | No | Excluded unless explicitly agreed |
| Compliance (certification, regulatory audit) | No | A report is not an attestation |
"Tested" does not mean "guaranteed safe". An agent can pass a scenario ten times and fail the eleventh, since the model varies. The report describes what was tried, with what success rate; it does not demonstrate that everything else is impossible.
Which deliverables should you expect?
A replayable report, a debrief and, as an option, a retest after remediation. Each finding must be reproducible by your team without its author.
| Deliverable | Content | Use |
|---|---|---|
| Executive summary | Main risks and priorities, readable in a few minutes | Decision, budget |
| Detailed findings | Hostile input, path followed by the agent, action obtained, impact, reasoned severity | Fixing by the technical team |
| Reproducible evidence | Steps, screenshots, test logs | Replay and verify |
| Mapping to frameworks | OWASP LLM 2025, MITRE ATLAS | Customer security questionnaires |
| What resisted | Scenarios tested without success | Value of its own |
| Prioritized remediation guidance | Tool permissions, human approval, filtering | Action plan |
| 30-minute debrief | Discussion with your team | Questions and priorities |
| Retest (option) | Replay after remediation | Confirm the flaw is closed |
An example of the structure is visible in the sample report, a fictitious document that shows the real format without describing a client.
How long does the engagement take?
The Express format lasts five days for one agent, counted from the signature of the quote and the authorization to delivery of the report, with scoping at the start and the debrief at the end. For a wider scope (several agents, MCP servers, several environments) the duration depends on the quote. Allow time on your side to provide the test accounts and the documentation of the tools, since delays in access are the most common reason a schedule slips.
Which results should you not expect?
No result is promised in advance. A test can conclude with several findings, a single one or no notable finding; in every case it provides the list of what was tried. The offer is always paid: there is no "nothing found, nothing paid" guarantee. A provider promising a minimum number of flaws is selling you a figure rather than a method.
Watch for the reverse as well: a report with no finding does not mean the agent is safe. It means that, within the time and scope planned, the scenarios tried did not succeed. A change of model, prompt or tool requires replaying the critical scenarios, hence the value of replayable evidence and, for automated evaluation tools, of a reusable test base.
Who should be involved on the client side?
Three profiles are enough: a decision maker who signs the authorization and arbitrates priorities, a technical contact who knows the agent's tools and provides the access, and, if possible, a business owner who knows what the agent is allowed to decide. Without the latter, some findings stay ambiguous: the team cannot tell whether a behavior is a defect or an intended rule. Plan a short scoping meeting at the start, then a quick check-in if a serious finding appears during the engagement, so that nobody waits for the report to act.
How do you prepare a test so that it is useful?
A test succeeds mostly through preparation. Provide these elements before kickoff:
- A precise scope: which agent, which tools, which input channels.
- A test environment with fictitious accounts and data. Tests run on development or staging by default; production requires a written request.
- The access: test accounts, restricted keys, tool documentation.
- Written authorization from the legal representative, signed before the first attempt. A verbal authorization is not enough.
- A technical contact reachable during the engagement.
- Rules of engagement: rate limits, exclusions, what is kept or not. Nothing is kept without the client's agreement.
How do you use the report after the engagement?
The technical team fixes the findings in priority order, replays the scenarios to confirm, then keeps the cases as regression tests. Management uses the summary to arbitrate. If a customer sends you a security questionnaire about your agent, the framework mapping and the list of what resisted provide precise answers; the article on answering a security questionnaire details this use. Do not circulate the full report externally: it describes exploitable weaknesses until they are fixed.
What does a finding look like in the deliverable?
Every finding uses the same format, taken from my engagement templates. The example below is fictitious; it shows the fields you receive.
```json
{
"id": "D001",
"title": "Refund triggered by an instruction hidden in a ticket",
"priority": "A",
"severity": "High",
"confidence": "confirmed",
"verified": true,
"disproof_attempted": true,
"evidence": "evidence/ticket-4471-trace.txt §2",
"remediation": "Cap and human approval on refund(), outside the model"
}
`
Three fields matter more than the others. confidence separates what was reproduced (confirmed) from what was seen once (probable). disproof_attempted says I tried to disprove the finding before writing it. evidence points to the raw trace, so your team can replay the test. Alongside it, a timestamped log records every decision of the engagement, including the cleanup of test accounts and objects.
To see this format applied to a real flaw, with the full timeline (reported on 4 November 2026, fixed on the 5th, published on the 17th), read my write-up of the clawdcursor flaw. The sample report shows the complete layout.
Which format should you choose for your situation?
A single, well-delimited agent falls under the Agent Red Team Express: 1,900 euros, five days, starting within 48 hours after signature of the quote and of the authorization. Several agents, MCP servers or several environments fall under the Custom Red Team, on quote. You will find the detail on the pricing page and the principle on the method page.
The first contact is a free 30-minute discovery meeting, to describe the agent and check whether the Express is enough. The Agent Red Team Express and the Custom Red Team are described on their own pages. For an agency delivering agents to its clients, the AI agencies page explains white-label backup.
Does your product ship an AI agent? CleanIssue tests what a stranger can make it do with the Agent Red Team Express (5 days, €1,900), or a custom red team for several agents and MCP servers. First step: a free 30-minute discovery call.
Related articles
Three adjacent analyses to keep exploring the same attack surface.
MITRE ATLAS for an AI agent red team: a practical guide
Use MITRE ATLAS tactics and techniques to scope, trace and report an AI agent red team, with the matching OWASP LLM 2025 and ASI risks.
OWASP Top 10 for LLMs 2025-2026: The 10 Risks Guide
The official OWASP Top 10 for LLM Applications 2025, LLM01 to LLM10, with practical examples, concrete tests and priorities for teams running AI agents.
Security Questionnaire: Answering for an AI Agent You Ship
AI agency: how to answer a client's security questionnaire about the agent you deliver, with a question-to-evidence table of proofs to provide.
Sources
Related services
If this topic maps to a real risk in your stack, these are the most relevant CleanIssue audits.