AI / RAG security assessment

Security assessment for AI, RAG, and agents

We test how an AI system handles instructions, private data, retrieval, tools, and actions in realistic misuse scenarios.

Prompt-injection and model testing is tied to application controls: authorization, data isolation, output handling, logging, and confirmation of sensitive actions.

↓See our method
Testing is limited to the agreed scope and requires written authorization
01OWASP LLM / GenAI
02RAG and data isolation
03Agent tools and actions

01 / Coverage

What we test

We confirm boundaries and critical journeys before testing so the work reflects your business risk.

01

Instructions and prompt injection

Direct and indirect instructions, system-rule priority, external content, and guardrail bypass.

02

RAG and data access

Retrieval authorization, tenant isolation, sensitive chunks, indexing, citations, and data provenance.

03

Tools and agency

Tool authority, action confirmation, server-side checks, call chains, and unsafe trust in model output.

04

Application and operations

APIs, sessions, secrets, browser or downstream rendering, limits, logging, and incident response.

02 / Method

An assessment you can defend to engineers and auditors

We combine manual investigation, tooling, and evidence control. A specialist validates every reported finding.

  1. 01

    Model the threats

    Record assets, roles, knowledge sources, tools, trust boundaries, and the actions with the highest plausible impact.

  2. 02

    Design safe scenarios

    Define testable misuse cases and success criteria without destructive payloads or bulk data extraction.

  3. 03

    Test the full chain

    Observe the model, retrieval, orchestration, APIs, and server controls; repeat variants where behavior is nondeterministic.

  4. 04

    Reduce risk and retest

    Separate immediate guardrails from structural fixes, then rerun the agreed scenarios.

03 / Outputs

Material built for decisions and remediation

The report explains risk to leaders and gives engineers reproducible steps without scanner noise.

Included in the engagement04

PENTEST.RED / AI / 06

01

AI system threat model

Assets, roles, instruction sources, trust boundaries, tools, and paths to impact.

02

Tested scenario register

Preconditions, safe steps, observed result, confidence, and reproducibility constraints.

03

Control improvement plan

Changes to authorization, retrieval, output handling, tool permissions, approvals, logging, and monitoring.

04

Executive brief and retest

Prioritized risks, product-owner decisions, and the result of validation after remediation.

04 / Buyer fit

When this assessment is a good fit

The right format follows the decision you need to make and the test environment you can provide.

01

RAG or AI assistant before launch

Test data boundaries, retrieval, tools, and model actions before exposing the system to real users.

02

Enterprise copilot using private data

Assess tenant separation, source permissions, answer leakage, and trust in externally supplied content.

03

Agent with tools and automation

Test which actions the model can initiate, which need confirmation, and where server-side authorization must hold.

05 / Boundaries

What is in scope — and what needs separate approval

Before testing, we record authorized systems, roles, environments, and constraints. Untested areas remain explicit in the report.

Usually included

  • Agreed models, system instructions, RAG sources, roles, connectors, tools, and observable interfaces.
  • Prompt injection, data separation, retrieval authorization, unsafe output handling, excessive agency, and resource abuse.
  • A threat model, safe test scenarios, observation log, control recommendations, and a focused retest.

Requires separate agreement

  • A guarantee against hallucinations or every unwanted response; conclusions are bounded to the tested scenarios and constraints.
  • Training data, model weights, provider supply chain, and SaaS internal controls without agreed access.
  • Autonomous destructive actions, bulk data extraction, and load testing without specific written authorization.

06 / Engagement estimate

What shapes scope and pricing

We estimate after scoping. These factors drive effort; we do not quote a fixed figure without understanding the environment.

01

AI architecture

The number of models, RAG indexes, sources, tenants, agents, tools, and external connectors.

02

System authority

Read and write access, action execution, financial operations, and required human approval points.

03

Roles and scenarios

User types, data sensitivity, languages, channels, and prioritized misuse cases.

04

Observability and change

Access to traces and logs, response reproducibility, provider limits, and the rate of prompt or model changes.

07 / Evidence and planning

Prepare the scope and inspect the output

Use the open scope planner, synthetic report example, and relevant research before speaking with a provider.

08 / FAQ

Common questions

sales@pentest.red
Is this a normal application pentest?

Partly. We test web and API controls, then add threat modeling and scenarios specific to RAG, prompt injection, tools, and nondeterministic behavior.

Can you guarantee protection from every prompt injection?

No. The assessment validates agreed scenarios and helps contain impact. Resilience depends on server-side authorization, least privilege, action approval, and observability rather than a single system prompt.

Do you need access to prompts and logs?

They improve diagnosis but are not always required. We agree available interfaces, traces, model versions, and provider constraints before testing.

How do you retest nondeterministic output?

We define acceptance criteria in advance, repeat an agreed scenario set, and verify actual access to data and actions as well as the text response.

Next step

Get a scoped assessment plan

Tell us about the system, timing, and reason for testing. We will clarify scope and recommend an engagement with no obligation.

PENTEST.RED

Discuss pentest scope and pricing

We start by agreeing on systems, access, constraints and the expected evidence.

We use these details to contact you about this request.