AI penetration testing

Test how your AI applications, models, APIs and integrations could be attacked, from prompt injection to excessive permissions, and leave with prioritized fixes.

Test it the way an attacker would. Prompts, tools, APIs and data.

Engagement scope

What the work delivers.

A support assistant can read customer records and issue refunds through an API. Its developers tested whether it answers well, not whether an instruction hidden in an uploaded document could make it act for someone else. We test the assistant the way an attacker would: through its prompts, its tools, its APIs and the data it reads.

Illustrative workflow
  1. Map what the assistant can reach
  2. Hide an instruction in a document
  3. Narrow its permissions and retest

Threat model and scope

Map the AI system's inputs, tools, data sources and permissions, and agree what testing may touch.

Adversarial testing

Test for prompt injection, model abuse, insecure APIs, excessive permissions and data poisoning, confirming each finding.

Report and optional retest

An executive summary, technical findings and prioritized remediation, with an optional retest after the fixes.

When to bring us in

  • An AI assistant is about to gain access to customer records, internal documents or actions such as refunds, and nobody has tested what it does when someone tries to misuse it.
  • An enterprise customer's security review now asks how your AI features resist prompt injection and the leaking of data.
  • Your team has connected a model to tools and APIs, and the permissions it holds were set for convenience during development.
  • A model is trained on, or answers from, content that outsiders can influence, such as support tickets, reviews or shared documents.

How the engagement runs

  1. Map the attack surface

    Trace every way input reaches the system, from user prompts and uploaded files to retrieved documents and tool responses, and list what the system can read, change and trigger.

  2. Agree scope and safeguards

    Set which environments, accounts and actions testing may touch, with rules for anything that could reach real customers or move money, and a contact for urgent findings.

  3. Test as an attacker would

    Attempt direct and indirect prompt injection, abuse of the model and its tools, insecure API calls, excessive permissions and poisoning of the data the system learns from or retrieves, confirming each finding.

  4. Report and retest

    Present an executive summary, technical findings with reproduction steps and prioritized remediation, with an optional retest once the fixes are in place.

Decisions that shape the outcome

Limit what a manipulated model can do

Filters catch many injection attempts but not all of them, because a model cannot reliably tell instructions apart from the content it reads. The more durable defense limits what a manipulated model could do: narrow tool permissions, confirmation before consequential actions and checks on its output. Testing shows where those limits are missing, not only where a filter fails.

Indirect inputs count

The most damaging instructions often arrive in content the system retrieves rather than in what a user types: a web page, an email or a document in a knowledge base. Testing only the chat box misses them, so every source the system reads is in scope.

Results change with the model

A model update, a new tool or a revised prompt can reopen a weakness that testing closed. Findings are written so your team can turn them into repeatable test cases, and the report notes which kinds of change should prompt a retest.

Is this the right service?

For a web application without AI components, see penetration testing.

Building the evaluation suites and release gates that keep an AI system dependable is AI engineering. Deciding who approves an AI system, and on what evidence, is AI governance, and a certifiable management system around it is ISO 42001.

Also in Security assurance and compliance

Common questions

What is prompt injection?

An attack in which text the model processes carries instructions that override what its builders intended. It can come directly from a user, or indirectly from a document, web page or tool response the system reads. Its impact depends on what the model can reach and do, which is why testing examines permissions as closely as prompts.

How is AI penetration testing different from a standard penetration test?

A standard test looks for weaknesses in an application's code, configuration and access controls. An AI system adds behavior that follows from language rather than code: a model can be talked into revealing data or calling a tool it should not. The testing covers both the model's behavior and the APIs, permissions and integrations around it.

Do you test the hosted models we build on?

We test how your system uses them: your prompts, retrieval, tools, permissions and the data that reaches the model. Testing a provider's own model or infrastructure directly is outside the scope unless the provider's terms allow it.

What is data poisoning, and can you test for it?

Data poisoning is planting content in the data a model learns from or retrieves, so that it behaves as an attacker wants. We identify which sources outsiders can influence and test, within the agreed environments, whether planted content changes the system's answers or actions.

Is a retest included?

A retest is optional. When you choose one, we check after your fixes whether each finding is closed, and record the result beside the original report.

Discuss the brief.

Which AI system should be tested, what can it read and do, and who uses it?

Book a discovery call