AI red teaming

If you ship a chat, retrieval, or agent feature, this guide will help you define what unsafe behavior looks like before you test. You’ll learn what Pentoma AI Red Teaming covers, which observations can confirm a finding, and how to decide what to fix when an endpoint behaves inconsistently.

What an AI red team tests

An AI red-team exercise looks for ways a deployed feature could cross a boundary your product is supposed to enforce. A chat assistant returns text. A retrieval-augmented generation (RAG) feature brings documents or records into context before answering. An agent may also call tools. Define the policy at the level of the feature: which data it can see, which outputs your application trusts, and which actions it can take.

Pentoma AI Red Teaming uses single-turn prompts against authorized chat, RAG, and agent endpoints. Its five OWASP LLM Top 10 (2025) categories are LLM01 Prompt Injection, LLM02 Sensitive Information Disclosure, LLM05 Improper Output Handling, LLM06 Excessive Agency, and LLM07 System Prompt Leakage. A category describes the risk under examination. The verification status tells you what the run actually established.

A rule violation or returned canary
ConfirmedA customer-declared rule was broken, or a customer-planted marker appeared in the reply.
Concerning response without proof
Needs reviewThe response warrants review. The AI judge alone cannot confirm that the system crossed a boundary.
Other categories and longer conversations
Not covered todayRuns cover five categories and one turn per prompt. Multi-turn behavior, document planting in RAG, and out-of-band exfiltration are outside coverage.

How the test works

Start with one feature and a protected boundary you can describe in plain language. For a billing assistant, a useful boundary might be that invoice details remain within the user’s organization. Tie your expectation to the service that enforces the boundary. This gives the product team a place to look if the test finds a problem.

  1. You identify and authorize the endpoint

    Provide the endpoint, its request template, and the response field the test should read. Verify ownership or record authorization.

  2. You define what can count as proof

    For an eligible, verified target, define a rule or use a non-sensitive marker in authorized test data. Describe what would count as a violation.

  3. Pentoma runs and triages the test

    Pentoma sends the single-turn prompts, records which checks ran, and distinguishes confirmed findings from items that need review.

  4. You decide whether to approve replay

    With approval for that target, Pentoma can replay a confirmed finding to assess whether the observed behavior is stable or intermittent.

What counts as confirmation

Separate the model’s words from evidence about the application. A reply that says an action happened can warrant investigation. A relevant change that breaks a customer-declared rule gives the team something concrete to verify. Likewise, a canary is a harmless test marker. Its appearance in a reply provides evidence that the tested response exposed the marked data.

In the Northmere exhibit, a routine request for invoices returns a planted marker from another organization. That observation gives the engineering team a boundary to investigate. Check how the product assigns organizations and permissions when serving the underlying data. Treat a possible issue that lacks this kind of evidence as a review item with a clear owner.

How to read the report

Start with coverage in the PDF report. Compare which checks ran and how many prompts the endpoint answered before you interpret the findings count. When nothing answers, Pentoma reports a failed run. Then look at the confirmed findings and the items that need review. For each issue, read the evidence and root cause alongside the fix so the owner knows what must change.

If the report includes replay, read it as a measure of repeatability for that finding on the tested target. A result that occurs intermittently can still matter when the data or action involved is sensitive. In the sample below, the fix belongs in the invoice tool’s access rules. Keep that boundary explicit when you turn the report into a ticket.

PENTOMALLM RED-TEAM

Another organization's invoice was returned

A routine request to the billing assistant returned an invoice that belongs to a different organization.

HOW TO FIX

Scope the invoice tool to the caller's organization before results reach the model.

  • OWASP LLM02:2025
  • AI governance
  • Replayable prompt
PNTM-AI-2026-1109-NM01Page 4 of 12
Sample data. Northmere is a fictional company on a Pentoma testbed.

What to prepare

Use a target your team is authorized to test and data you can identify without exposing customer records. Coordinate with the product and engineering owners so they agree on expected behavior before the run. If the endpoint is behind a shared gateway, include someone who can distinguish a test request that reached the application from one that failed earlier.

  • The endpoint URL, its type, and verified ownership or recorded authorization
  • A request template, the response text path, and any required authentication
  • A product owner who can state which behavior would violate the policy
  • A non-sensitive marker or declared rule for eligible verification
  • Approval for replay if you want to measure repeatability on that target

Where the test ends

A single-turn result describes a specific request and response. If the risk depends on what the system remembers across a conversation, plan separate testing. Pentoma does not plant documents in a retrieval store or test destructive agent behavior. Use the coverage record to decide what the run leaves open, especially when the endpoint answers only some prompts.

Red teaming and product evaluation serve different purposes. A product evaluation can tell you whether normal requests get useful answers. A red-team exercise asks whether the feature can violate a defined security rule. Keep both in your release process when the feature handles sensitive data or can act on someone’s behalf.

Questions

Can we test a RAG endpoint?

Yes. Pentoma tests authorized RAG endpoints through a request template. The run covers single-turn responses and does not plant documents in the retrieval store.

Can the AI judge confirm a finding?

Confirmation requires an observed break of a rule you declared or the return of a canary value you planted. A judgment without that evidence is a review item.

Does this cover the entire OWASP LLM Top 10?

Pentoma covers the five 2025 categories listed in this guide. Use the report coverage to see which checks ran for your endpoint.

How many times can a finding be replayed?

On an approved target, Pentoma can replay a confirmed finding ten times and grade whether it is stable or intermittent. Check the result against the target and conditions recorded in the report.

What if the endpoint never responds?

Pentoma reports a failed run. Review the connection and request template before treating the test as evidence about the feature.

Is an MCP check the same as an agent red-team test?

Pentoma’s MCP checks cover OAuth 2.1 setup, which tools are listed, and whether tools answer without authentication. Authorization-boundary testing of MCP tools is outside current coverage.

Test how your AI features respond to adversarial prompts

Explore Pentoma AI Red Teaming
Request a pentest