Last updated: 23 November 2026.

AI penetration testing means testing AI systems, not using AI to run a pen test. It is a scoped, authorised security test of an LLM application, a retrieval-augmented generation (RAG) system or an AI agent with tool access. Testers try to make it leak data, ignore its instructions or act unsafely, then report fixes and retest.

Security Solution Consultants (SSC) is a Melbourne-based Australian cyber security and GRC consultancy. AI penetration testing and AI security consulting is a new SSC service. SSC’s testing is delivered by certified security professionals.

What is AI penetration testing?

It is adversarial testing of an AI system you own or operate, with written permission and agreed limits. The word “AI” in “AI penetration testing” is used in two ways online. One meaning is testing AI systems, which is what this page covers. The other is using AI tools to help testers do a conventional pen test, which this page does not cover.

The target can be a customer chatbot, an internal assistant that searches company documents, an agent that books appointments or sends emails, a voice receptionist, or the cloud services and guardrails around them.

AI penetration testing, AI red teaming and AI security assessment: what is the difference?

The terms overlap, and providers use them differently. These are the definitions this page uses.

TermWhat it isTypical output
AI penetration testingScoped, authorised testing of a defined AI system to find exploitable weaknessesFindings with severity, evidence and fixes; retest
AI red teamingAdversarial testing of an AI system’s behaviour, including safety and misuse, often broader and goal-drivenAttack narratives, behavioural failures, recommendations
AI security assessmentReview of design, controls and governance of an AI system, with or without active testingGap list, risk ratings, roadmap
AI governance review (ISO/IEC 42001)Review of the management system around AIGap analysis, policies, improvement plan
How the four terms differ.

What can be tested?

AI systems differ in how they are built, so the test differs too. Scoping by architecture works well: one main type per engagement, with others added as needed. A voice receptionist that books appointments, for example, can be tested as a voice agent, an AI agent and a cloud AI service in one engagement.

LLM applications and chatbots. Can a user or a piece of content override the application’s instructions? Can the system prompt be extracted, or other users’ data reached? Is output handled safely when it is rendered or passed to other systems? Are there limits on usage and cost?

RAG and knowledge systems. Does retrieval respect each user’s document permissions? Can someone poison the knowledge base through a path they can reach? Can instructions hidden in a retrieved document change the answer? Are tenants kept apart in the vector store? Do citations point to real sources that support the answer?

AI agents and tool use. What can each tool do, and does it need to? Can injected content trigger tool calls the user never asked for? Can human approval steps be bypassed or misrepresented? Are agent credentials scoped and short-lived? Is every action logged somewhere the agent cannot alter?

Voice AI agents. Covered in its own section below.

Model and supply chain. For fine-tuned, self-hosted or open-weight models: where did the model come from, is its version pinned and its file format safe to load, could fine-tuning data be tampered with, and can weights be downloaded by too many people?

AI infrastructure and cloud AI services. Are inference servers, notebooks and registries reachable without authentication? Are cloud AI services set up with private endpoints and least-privilege access? Are API keys, quotas and budget alarms in place so an attacker cannot run up your bill? Are prompt and response logs protected?

Guardrails. Covered in its own section below.

AI red team exercise. An objective-led test across layers, for example “obtain another customer’s record through the assistant”. It uses the same checks as coverage evidence and also measures how quickly your team detects and responds.

How do you test for prompt injection?

Prompt injection is when text, from a user or hidden in content the system reads, changes what the AI does. Testers try both direct attempts (typed into the chat) and indirect ones (placed in a document, web page, email or ticket that the system ingests). They also check whether the system prompt, keys or internal addresses can be pulled out, and whether data leaks through rendered output such as links or images.

Because AI answers vary, a single success or failure proves little. Testers repeat each attack and record how often it works, for example 3 times in 20. A finding says what happened, how reliably, and what the system could do as a result. This page does not publish attack payloads.

How do you test a RAG system?

Testers load synthetic documents with permission labels and secret marker strings, then ask questions as users who should not see them. They test who can add or edit source content, whether deleted documents are really gone, whether the vector store and its APIs require authentication, and whether retrieved text can carry instructions. Typical results are retrieval filters applied only in the user interface, or a source page that any staff member can edit but the assistant trusts.

How do you test an AI agent that uses tools?

An agent turns a text weakness into an action. Testers map each tool and its permissions, then check whether injected content can cause unintended calls, whether approvals show the real action or only a summary written by the model, whether code execution is sandboxed, and whether runaway loops and spend are limited. Third-party tool servers are checked for pinned versions and over-broad permissions. Test copies of every tool, with synthetic data, are used. For the governance side, see SSC’s agentic AI risk assessment checklist.

What is different about voice AI agents?

A voice agent adds a phone line, speech recognition, speech synthesis and, often, recording of calls. Testing covers entry points such as phone numbers and SIP trunks; whether a caller can make the agent transfer or dial arbitrary or premium numbers; spoken prompt injection; whether caller verification resists spoofing and social engineering (a cloned voice is only ever the consenting tester’s own); whether personal or health information is disclosed to an unverified caller; call and spend limits; and whether a person can always be reached in an emergency.

Voice agent testing draws on the general AI frameworks below plus telephony good practice. Call recording rules in Australia differ between jurisdictions, so every test call opens with a recording notice, testers consent in writing, and SSC takes legal advice before recording anyone.

Worked example: a voice receptionist (fictional)

This is an invented example. It describes no client and no past engagement.

A fictional medical clinic is piloting an AI receptionist. It answers one inbound number, books, moves and cancels appointments through the practice’s booking system, looks callers up by phone number and date of birth, and sends confirmation texts. Callers can be transferred to reception. It uses a cloud AI service for language, plus speech-to-text and text-to-speech providers. Transcripts are kept for 30 days.

A scoped test would use a separate test number, a test cloud account, synthetic patient records and a test calendar, with texts going only to tester phones. Testers would try to get the agent to transfer to numbers other than reception, to disclose or change a record using only a date of birth, to follow spoken instructions that override its rules, to give medical advice beyond its role, and to keep the line busy. They would check recording notice and retention, rate and spend limits, and what gets logged. The likely findings in a pilot like this are the kind that are easy to fix once seen: transfer rules that are too loose, weak caller verification, no per-caller limits, and transcripts kept longer than needed. The report would say so in plain terms and list fixes in priority order.

How do you test guardrails?

Guardrails are the filters and rules around an AI system. They reduce risk. They do not remove it, so they are tested like any other control. Testing covers both sides of the model, and every path into it, not only the chat window.

  • Jailbreak and prompt injection detection: how many attacks in a labelled set are caught, including encoded, split-across-turns and non-English versions, and how many harmless requests are wrongly blocked.
  • PII masking: whether personal information is detected and masked on input, output and in logs.
  • Harmful content: whether moderation matches your own content policy, and how much it over-blocks.
  • Data leakage: whether output checks stop secrets, other users’ data and internal details leaving, and whether links and markdown are restricted.
  • Policy and business rules: whether the rules you set (for example what the assistant may not promise, approve or advise) hold under pressure.
  • Rate limiting: whether per-user limits and spend caps work, tested with small measured samples, never flooding.
  • Logging: whether guardrail events are recorded, alerted and reviewed, and what happens if the guardrail service is slow or down (fail open or fail closed).

Which frameworks does testing map to?

Findings are mapped to public frameworks so your risk, audit and engineering teams can use them. Mapping means “related to”, not “equivalent to”. Table checked 23 November 2026.

FrameworkUse in testingWhat it is not
OWASP Top 10 for LLM Applications, 2026 edition (released August 2026; the 2025 edition is the previous one)Checklist of risk categories for LLM applicationsNot a test method on its own
OWASP Top 10 for Agentic Applications for 2026 (released 9 December 2025)Risk categories for autonomous, tool-using agentsNot a full agent test plan
OWASP AI Testing Guide (version 1, released 26 November 2025; still an incubator project)Test categories for AI applications, models, infrastructure and dataNot a certification scheme
MITRE ATLAS (data release 2026.10)Knowledge base of adversary tactics and techniques against AI systems, used to describe how an attack would runNot a compliance standard. ATLAS is a MITRE trademark; SSC is not affiliated with or endorsed by MITRE
NIST AI Risk Management Framework 1.0 (26 January 2023) and the Generative AI Profile (NIST AI 600-1, 26 July 2024)Voluntary framework (Govern, Map, Measure, Manage); testing evidence supports the Measure function, including security and resilience, privacy and safety. NIST says it is revising the frameworkNot mandatory, not certifiable
ISO/IEC 42001:2023AI management system standard; test results are evidence about whether controls in the management system are workingTesting is evidence within it, not the standard itself. See SSC’s ISO/IEC 42001 consulting
Public frameworks that AI penetration test findings map to, as at 23 November 2026.

Safety or security: what is the difference?

Security testing asks whether an attacker can use the AI to compromise confidentiality, integrity or availability, for example to steal data or trigger actions. Safety testing asks whether the AI produces harmful, biased or inappropriate output. HackerOne describes the same split, and NIST’s framework treats safety, security and privacy as separate measurement areas. Both matter, but they are rated and reported separately. Safety and trustworthiness testing (harmful content, hallucination, bias) is opt-in, agreed up front, and limited to the minimum content needed to prove a gap.

What does the Australian context look like?

The National AI Plan (2 December 2025) says the government will build on existing laws. That means existing obligations apply: privacy, consumer law and sector rules. Useful public guidance includes:

  • ASD’s ACSC AI publications on cyber.gov.au, including Deploying AI systems securely (16 April 2024, which calls for adversarial testing of models), Careful adoption of agentic AI services (1 May 2026), Open-weight AI models (5 November 2026) and Securing AI testing environments (12 November 2026, which supports separate test environments and independent kill switches).
  • The Guidance for AI Adoption from the Department of Industry, Science and Resources, whose “Test and monitor” practice includes testing proportionate to risk, such as testing for jailbreaking and prompt manipulation.
  • OAIC guidance (21 October 2024) on commercially available AI products and on developing generative AI models. Health information is sensitive information under the Privacy Act, which matters for the clinic example above.

How does an AI penetration test run, and what do you receive?

A typical engagement has five steps.

  1. Scope and authorisation. You describe the system: purpose, users, models and providers, tools, data, guardrails, limits and logging. The scope, what is in and out, is agreed and written authorisation is given.
  2. Rules of engagement. These cover a test environment separate from production, synthetic or marker data only, spend caps, tools pointed at test systems with irreversible actions redirected, and a kill switch. They also cover the AI providers’ own terms: some providers restrict bypassing their safeguards without prior authorisation (OpenAI usage policies and Anthropic usage policy, as read on 23 November 2026). Testing is therefore scoped to your controls and, where needed, the provider’s authorisation is sought first.
  3. Testing. Manual testing, supported by open-source tools where they help. Results from tools are checked by a person. Each attack is repeated and the success rate recorded.
  4. Findings. Each finding has a rating based on how likely it is (access needed, effort, how reliably it works) and how bad it would be (data exposed, actions the AI can take, how many users are affected). Standard CVSS scores are kept for conventional flaws such as a vulnerable inference server.
  5. Retest. After you fix an issue, the original attacks and variants are re-run, because fixes based on keyword filters often fail against rewording. If the model or configuration has changed, the retest records that. Outcomes are fixed, partly fixed, not fixed or could not retest.

A typical engagement produces:

  • A short shareable report (about 4 to 8 pages): plain-English summary, what was tested and when, results by area (security, privacy, safety, trustworthiness), top findings with business impact and fixes, framework coverage, a remediation roadmap and limitations such as model version and time box. It does not include raw attack transcripts.
  • A technical appendix with restricted distribution: method, checklist results, full findings with redacted transcripts and steps to reproduce, success rates, tool names and versions, and the model and configuration tested.
  • A retest after remediation, with the result recorded against each finding.

Customer data is never used to train any AI model.

Who should buy this, and when?

Before go-live for any customer-facing or regulated AI. After a major change to the model, prompts, tools or data sources. When an agent gets new permissions, or when an auditor or board asks for evidence that AI risks are being tested. Smaller organisations can start with a limited-scope test of one system.

Questions people ask

What is the difference between AI red teaming and AI penetration testing?

AI penetration testing tests a defined AI system for exploitable weaknesses. AI red teaming is broader and goal-driven, and also covers safety and misuse behaviour. In practice the terms overlap, so agree the objectives and scope in writing, whatever the label.

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

A normal test targets software and infrastructure, where results are mostly repeatable. AI systems respond differently each time and can be steered by plain text, so testers repeat attacks and record success rates. They also test what the AI is allowed to do, not just whether the code is flawed. Conventional testing still applies to the surrounding application, APIs and cloud.

What does an LLM penetration test include?

It covers prompt injection (direct and indirect), system prompt and secret disclosure, leakage of other users’ data, unsafe handling of output, usage and cost limits, logging, and the conventional controls around the AI feature, such as access control and key handling. Safety and trustworthiness checks are added if agreed.

How do you test an LLM for prompt injection?

Testers send direct attacks through the interface and plant indirect attacks in content the system reads, such as documents, web pages or email. They repeat each attack, record how often it works, and note what the system could do as a result. Findings describe impact and fixes, not attack payloads.

How do you security test a RAG system?

Testers seed synthetic documents with permission labels and marker strings, then try to retrieve them as unauthorised users. They also test who can edit source content, whether retrieved text can carry instructions, whether the vector store requires authentication, and whether deleted content is really removed.

How do you pentest an AI agent that can use tools?

Testers list every tool and its permissions, then test whether injected content can trigger unintended calls, whether approvals can be bypassed, whether credentials are scoped, and whether limits and logging work. Tests run against copies of the tools with synthetic data, so no real email, payment or deletion occurs.

What is the OWASP Top 10 for LLM Applications and how is it used in testing?

It is a community list of the main risk categories for applications built on large language models, from the OWASP GenAI Security Project. The current edition is the 2026 edition. Testers use it as a coverage checklist and to label findings. It is not a test method on its own, and the edition used is named in every report.

How does MITRE ATLAS relate to AI penetration testing?

MITRE ATLAS is a knowledge base of tactics and techniques used against AI systems. Testers use it to describe how an attack would run, step by step, and to label findings in a common language. It describes attacker behaviour; it is not a compliance standard.

Do we need AI penetration testing if we use a vendor’s model such as ChatGPT or Copilot?

Usually yes for what you build on top of it. You are responsible for your prompts, data connections, tools, permissions and guardrails, and those are what testing covers. The vendor secures its own platform. Check each provider’s terms before testing.

How long does an AI penetration test take and what does it cost in Australia?

It depends on how many components are in scope: a single chatbot is quicker than an agent with many tools, a RAG system and a voice channel. SSC agrees scope first, then quotes.

Next step

If you are planning to launch an AI system, or already run one, book a scoping conversation with SSC through the contact form. To see how a GRC platform can keep the scope, findings and retests in one record, read managing AI security testing in GRCLens.

Related reading: SSC’s penetration testing services and AI risk management.

About SSC

Security Solution Consultants is an Australian cyber security GRC consultancy, founded by Athar Awan. SSC holds ISO/IEC 27001:2022 certification covering its consulting services and the GRCLens cloud-hosted SaaS product. That certification is not an AI-specific certification and does not relate to this testing service.

Sources