Skip to main content
HPI CYBERApplication Security

AI report

Sample AI security test report

This is what the output of an AI security test looks like: a fictional SaaS product combining a RAG chatbot and an AI agent.

Demo report — every system, finding and figure is fictional, for illustration only

The ai-demo.test system, the findings, the figures and the evidence in this report were written for illustration only. There is no real customer, no real identifiers, no exploit code and no personal data.

Demo report — every system, finding and figure is fictional, for illustration only

AI security test report - ai-demo.test

A fictional SaaS product combining a RAG chatbot and an AI agent. No real customer findings, real identifiers or exploit code.

Executive summary

The test was performed within the agreed scope, against a test environment and in a coordinated time window, after written authorization. The most significant finding is that the RAG layer returns chunks from another organization's documents when access control is applied to the user only, not to the document source. The second finding shows that an external document ingested into the knowledge base can change the system's behavior.

Findings
5
High
2
Scope
SaaS + RAG + Agent

Findings table (illustrative)

AI-01 · Cross-tenant data exposure through RAG answers

Retrieval access control

High

AI-02 · Indirect prompt injection from a document ingested into the knowledge base

Document handling

High

AI-03 · Excessive tool privileges granted to the AI agent

Agent tooling

Medium

AI-04 · Authorization bypass in the AI feature's API

AI API authorization

Medium

AI-05 · Insufficient usage controls on the model endpoint

Resource abuse

Low

Architecture as understood during the test

  • An external LLM consumed through an API provider
  • A RAG knowledge base indexed from every organization's documents
  • An AI agent with tools to read records and write notes
  • Users with member and admin roles inside each organization

Threat model (summary)

  • A user in one organization tries to read another organization's data through the model
  • An external document containing instructions is ingested into the knowledge base
  • An agent invokes a tool beyond what the invoking user is allowed to do

AI-01 — Cross-tenant data exposure through RAG answers

Business impact: One customer can receive chunks of another customer's internal documents in a chatbot answer. In a SaaS product this is data exposure between organizations, with contract, trust and security-compliance consequences.

Evidence: A conversation record and a knowledge-base retrieval response from the authorized test environment, using fictional organization and document identifiers only.

Reproduction: A step-by-step description of what was done in the authorized test environment: identifying a document outside the user's scope, phrasing a query that retrieved it, and confirming the chunks appeared in the answer. No ready-to-use exploit code.

Remediation: Filter retrieval results by the requesting user's permissions before they enter the context, rather than only filtering the answer after the model has already received the document.

Prioritization and what happens after the report

  1. 1. Filter RAG results by the user's permissions — first priority.
  2. 2. Separate document content from system instructions and restrict external sources.
  3. 3. Reduce the agent's tool privileges to the invoking user's role.
  4. 4. Enforce authorization at the AI feature's endpoints.
  5. 5. Add rate limits and usage budgets to the model endpoint.
  6. 6. Review call with the team, and a retest within the agreed scope.

The report reflects the system's state at a point in time and within the scope tested. AI vulnerabilities keep emerging after a test, so it does not guarantee that every vulnerability was found.

What each part of the report tells you

Executive summary

The main risk, the possible impact and the recommended order of handling — in business language.

Testing scope

What was tested, what was out of scope, in which environment and time window, and which limits were set in advance.

System architecture

How the system is actually built: the model, the RAG sources, the agent's tools and the permissions underneath them.

Threat model

Who the attacker is, what they are trying to achieve, and where the trust boundary sits in the system.

Findings table

Every finding with an identifier, an area, a severity and an impact — so the team can prioritize and work from it.

Risk assessment and remediation

What to fix first and how, written for the development team.

Limitations

What was not tested and what remains an open risk. A report that doesn't list its limitations is a report you can't choose from.

What the report doesn't guarantee

  • The report reflects the system's state at a point in time and within the scope tested
  • AI vulnerabilities keep being discovered after a test, so the report is not valid forever
  • Areas not defined in the scope are not tested, and are recorded as a limitation

Demo report — every system, finding and figure is fictional, for illustration only

Want to explore a test like this for your AI system?

Please don't send passwords, API keys, access credentials or confidential information in this form.

Get a Pentest Quote