Skip to content
Exploited Juniper Session Smart Conductor flaw CVE-2026-103406 lets remote attackers run commands as root
Black Shard

AI security

AI penetration testing for Australian businesses.

Manual AI penetration testing shows whether your chatbot, copilot or agent can be talked into leaking data or acting outside its limits.

At a glance

  • OWASP LLM Top 10The method for the AI surface
  • Repeated attemptsRecorded for each AI technique
  • Re-testInside the fixed scope

Overview

Anyone who can type into your AI feature can try to redirect it. We test for prompt injection, jailbreaks, insecure output handling and data leakage through retrieval. Model behaviour is probabilistic, so a fix is tested across repeated attempts before we call it closed.

What carries over, and who tests

You get the same written scope, rules of engagement and reproduced findings as a standard penetration test, extended to guardrail bypass and to abuse of the tools and permissions an agent holds.

Your tester comes from a firm that builds and operates production AI systems as well as testing them. We test your system wherever it runs, to a defined scope, with provisioned access and an agreed testing window.

AI penetration testing runs remotely for organisations in Sydney, Melbourne, Brisbane, Perth and the rest of Australia, over the same paths your users reach the feature on. The debrief is by video call, or in person in Brisbane: penetration testing in Brisbane.

Scoping an AI penetration test

You get a written scope and a quote before any testing starts.

What scope covers

We set the scope by what your AI feature does and what it touches: a chatbot or copilot answering from a knowledge base, a retrieval pipeline pulling from client data, an agent that can call internal tools, or a model-facing API another system consumes. The quote names what drives it: how many AI features and integration points are in scope, whether retrieval or tool access is involved, the tenancy count for multi-tenant products, and whether any work runs on-site.

Rules of engagement for AI systems

We agree the rules of engagement in writing before testing begins. For AI they also cover which prompts and inputs are in scope, any content the system must never be made to generate, even to prove a finding, and a stop-work procedure if testing turns up a live production issue. Access is least-privilege and limited to the testing window. It covers what a normal user of the feature has, plus whatever the scope needs on the configuration behind it, such as the system prompt or guardrail settings.

How an AI penetration test runs
  • Scoping: a written scope, quote and rules of engagement, naming each AI feature and integration point in bounds
  • Mapping: every source that feeds the prompt, each retrieval index and each connected tool is listed
  • Application layer: authentication, session handling and access control tested against OWASP web and API guidance
  • AI surface: OWASP LLM Top 10 techniques in scope attempted by hand, several times, before a result is called clean
  • Reporting: each reproduced finding written up with its repeated attempts, then a debrief with the tester
  • Re-test: once your fixes are deployed, each reported finding is tested again across repeated attempts
Access for a multi-tenant product with retrieval

Testing starts from what a normal user of the feature has. For a multi-tenant product with retrieval, the scope asks for two tenants, two roles with different record access, a way to submit content through the paths an outsider would use, and read access to the retrieval logs.

Two tenants and two roles let the tester show whether retrieval returns one tenant's records to another: security testing an LLM feature in production.

Testing an AI feature already in production

We test your system wherever it runs, including a feature already in production. The rules of engagement set the testing window, the prompts and inputs in scope and the stop-work procedure, so your team knows what is being attempted and when.

NIST's safeguards for testing a live system include an agreed level of intrusiveness, logged tester activity and off-hours testing: can a penetration test break production systems?

What makes testing an AI system different

Your chatbot, copilot or agent sits on the same authentication, session handling and access control as the rest of your application. We test that layer as we always do.

Natural language as input, and probabilistic behaviour

The AI feature adds a surface that standard web and API testing does not reach. Plain language becomes an input an attacker can use to redirect the system, and its output can be trusted downstream in ways a fixed API response never is.

Model behaviour is also probabilistic. A prompt injection or jailbreak that fails once can succeed later with the same input, so we run each technique several times before calling a result clean. Every guardrail is tested as a control that can fail, whether it is a system prompt, a content filter or a permission boundary on a connected tool.

AI penetration testing and AI red teaming

Adversarial testing of an AI system is often called AI red teaming. This engagement does that work to a written scope: prompt injection, jailbreaks and agent abuse attempted by hand, with every finding reproduced. A red team assessment is an objective-led exercise across people, process and technology, reported as the path taken.

What we test

LLM penetration testing follows the OWASP LLM Top 10 for the AI surface, and the standard OWASP guidance for the application around it.

  • Prompt injection, direct and indirect: instructions typed into the input, or planted in content the system later retrieves
  • Jailbreak and guardrail bypass: making the system act outside the limits you set
  • Insecure output handling: output trusted downstream, rendered as executable content or passed to another system unchecked
  • Data leakage through retrieval: data shown to someone who should not see it, across tenants or permission levels
  • Tool and agent permission abuse: an agent's tool access escalated, redirected or used outside its scope
  • Tenant isolation: the AI feature holds the same tenant boundary as the rest of the system
Model-facing API abuse
  • Model-facing API abuse: rate limiting, cost abuse and unauthorised access to the API behind the model
Each technique in detail

Prompt injection, direct and indirect: an instruction typed straight into the input, or planted in a document, email or web page the system later retrieves and treats as trustworthy

Jailbreak and guardrail bypass: attempts to make the system act outside the behaviour boundary it was configured with

Insecure output handling: whether the system's output is trusted by whatever reads it next, including being rendered as executable content or passed to another system unchecked

Data leakage through retrieval: whether a retrieval-augmented system can be made to surface data outside the requester's access, including across tenants or permission levels

Tool and agent permission abuse: whether an agent's access to internal tools and systems can be escalated, redirected or used outside its intended scope

Tenant isolation of AI features: for multi-tenant products, whether the AI feature enforces the same tenant boundary as the rest of the system

Model-facing API abuse: rate limiting, cost abuse and unauthorised access to the API surface the model sits behind

Agentic AI penetration testing

OWASP's agentic work separates the security of a single model interaction from what happens when models can plan, persist and delegate across tools and systems. Agentic AI penetration testing follows that split. The agent is tested as a system that plans a sequence of steps, calls tools without a person approving each call, and carries state between steps. Testing runs against the threat categories in the OWASP Top 10 for Agentic Applications, including tool misuse and exploitation, identity and privilege abuse, memory and context poisoning, and cascading failures, alongside the adversary tactics and techniques MITRE ATLAS records against AI systems. The practical questions are whether one successful injection triggers a chain of tool calls, whether state written earlier in a session changes what the agent does later, and whether permission is enforced on each connected tool or inherited from the account that started the session.

We test whether each connected tool gives the agent what the task needs and no more: least privilege for AI agents with tool access.

OWASP LLM Top 10 2025 categories covered
  • LLM01 Prompt injection: direct and indirect injection, and jailbreaks, which OWASP treats as a form of prompt injection
  • LLM02 Sensitive information disclosure: data leakage through retrieval, across tenants and permission levels
  • LLM05 Improper output handling: output rendered as executable content or passed to another system unchecked
  • LLM06 Excessive agency: an agent's tool access escalated, redirected or used outside its scope
  • LLM07 System prompt leakage: system prompt recovery, and any credentials or internal detail the prompt holds
  • LLM08 Vector and embedding weaknesses: the vector store behind a retrieval pipeline, including cross-tenant leakage
  • LLM10 Unbounded consumption: rate limiting and cost abuse on the model-facing API
Prompt injection testing

Prompt injection testing covers both entry points. Direct injection is tested against the input box, the API and anything a user types. Indirect injection is tested against every place the system pulls in outside content: a document upload, a web fetch, an email connector, a support ticket field.

Each finding names the entry point, the planted instruction and the action it triggered: what prompt injection testing finds.

Standards and obligations the testing maps to

Testing follows the OWASP Top 10 for Large Language Model Applications 2025, the OWASP Top 10 for Agentic Applications where the feature can call tools, and MITRE ATLAS. OWASP's mitigation list for prompt injection includes regular penetration testing that treats the model as an untrusted user.

Each finding is one you can act on and show to an assessor. Australian Privacy Principle 11 requires reasonable steps to protect personal information from unauthorised access and disclosure. APRA Prudential Standard CPS 234 requires regulated entities to test the effectiveness of their information security controls through a systematic testing program.

ISO 42001 readiness prepares the AI management system around the feature.

A tester’s bench at night: a laptop, a network tap and test hardware under one cold light

What you get

A tester reproduces every finding before it goes in the report, so your engineers fix real exposure. For each AI technique, the report records the repeated attempts.

  • A written scope, quote and rules of engagement before testing starts
  • A findings report with severity, business impact, steps to reproduce and how to fix each issue
  • A debrief with the tester by video call, or in person in Brisbane
  • A re-test of the agreed fixes for the findings in the original report
Automated tooling and where the fix sits

We use automated tooling for coverage, and its output becomes a finding only after a person has confirmed it. Each finding tells your engineers where the fix sits: the system prompt, the guardrail configuration, the retrieval permission model or the surrounding application.

Confidentiality

We hold your findings in confidence and disclose nothing to a third-party vendor, including a model provider, without your consent.

What each AI finding contains
  • Title and severity, rated for what the system can reach in your environment
  • The OWASP LLM Top 10 category the finding maps to
  • The entry point, direct or indirect, and the input that redirected the system
  • The repeated attempts, and how many of them landed
  • Business impact: the data surfaced or the tool call triggered
  • Where the fix sits: system prompt, guardrail configuration, retrieval permission model or surrounding application
  • Re-test status: open, closed or partially closed, recorded once the re-test runs
The test cases come back with the report

The test cases go back to you with the report as an evaluation suite. Run it in your pipeline after each model version change and each prompt template edit.

Sharing the report with a customer or auditor

Each finding is written with severity, business impact, steps to reproduce and the fix, so an executive can read it and an engineer can work from it.

The findings are mapped to the categories of the OWASP Top 10 for Large Language Model Applications, a published standard your customer or auditor can read them against. Who receives the report is your decision.

Tested by engineers who run production AI

We build and operate production AI systems as well as testing them. Aurii, clinical software built and operated by Black Shard, runs speech recognition and document reading on clinical dictation and documents, with each practice's data kept apart, hosted in Australia.

The AI engineering practice

Our AI and automation engineering practice builds speech-to-text and OCR pipelines and workflow automation, with an audit trail and guardrails around each automated action.

We build these systems ourselves, so our testers know how a guardrail, a tenant boundary and an audit trail are put together.

Who tests, and how engagement data is held

The tester who did the work runs the debrief. Our testers hold postgraduate cyber qualifications, ISC2 certification and ACS and AISA membership. Black Shard holds SMB1001:2026 Gold, issued by CyberCert, and its own estate is at Essential Eight Maturity Level 3, assessed September 2026.

We encrypt engagement data in transit and at rest, and keep access least-privilege and limited to the testing window.

How much does AI penetration testing cost?

AI penetration testing is quoted as a fixed scope before work starts. Four things drive the quote.

  • The number of AI features and integration points in scope
  • A chatbot over a knowledge base, a retrieval pipeline, or an agent with tool access
  • Tenancy count for multi-tenant products
  • Whether on-site work is included
Re-test and scoping

The re-test sits inside the fixed scope.

Send a brief to info@blackshard.com.au and scoping starts from the detail you have.

Getting an AI penetration testing quote

Book a free 30-minute scoping call, or send a brief naming each AI feature, what it retrieves and which tools it can call. The written quote names its drivers, and the scope is fixed before work starts, with the re-test inside it: scoping a penetration test properly.

Towers across the river at night, their floors lit

RAG pipeline security testing and the vector store

If your AI feature answers from your own documents, the vector store behind it is tested too, alongside the chatbot in front of it.

OWASP LLM08:2025, vector and embedding weaknesses

OWASP's 2025 Top 10 for large language model applications lists vector and embedding weaknesses as LLM08:2025, covering how vectors and embeddings are generated, stored and retrieved in systems using retrieval-augmented generation. The category names data poisoning, which can reach the store from insiders, prompts, data seeding or unverified data providers; access control failures that allow unauthorised access to embeddings holding sensitive information; embedding inversion, where an attacker recovers source information back out of an embedding; and cross-tenant leakage, where embeddings from one group are retrieved in response to another group's queries in a shared vector database.

Source poisoning and prompt injection

We test source poisoning and prompt injection as separate problems, because the exposure differs. Content planted in a source the pipeline indexes stays in the index, can be returned to any user whose query retrieves it, and survives until it is removed at the source and the affected index entries are deleted or rebuilt. An instruction placed in one conversation reaches that conversation only. We also test whether the store can be reached outside the application's own access control, and whether a shared index lets a query at one permission level return content indexed at a higher one, including across tenants in a multi-tenant product.

What a RAG finding names

A RAG finding names the source document that populated the retrieved context, the query that surfaced it, and whether the exposure crosses a tenant or a permission boundary. Where the cause sits in the embedding, the finding records what was recovered from it and the control that allowed the query.

Delivered work

Some of the AI systems we build and defend.

  • Aurii, shown with sample data

    Health

    Aurii

    Specialists run notes, letters, orders and billing from one app.

    Every clinical record, recording and generated document stays in Australia.

  • GRM LAW, shown with sample data

    Legal

    GRM LAW

    The firm runs intake, conflicts, trust oversight and AML/CTF from one portal.

    We also run the firm’s Microsoft 365 tenant.

Product screens shown with sample data.

Questions, answered.

What is AI penetration testing?

AI penetration testing is a manual attack on an AI feature, run to a written scope, to find out whether it can be made to leak data or act outside its limits. It is also called LLM penetration testing or AI security testing. It covers chatbots, copilots, retrieval pipelines, agents and the APIs in front of a model.

Is this the same as your standard penetration testing?

It runs the same way, with more to test. You get a written scope, rules of engagement, findings reproduced before reporting and a re-test of agreed fixes. The AI feature adds prompt injection, jailbreak attempts, insecure output handling and data leakage through retrieval.

Do you test for prompt injection?

Yes. We test direct injection, where an attacker types the instruction straight into the input, and indirect injection, where the instruction is planted in a document, email or web page the system later retrieves and trusts.

What is chatbot security testing?

Chatbot security testing checks a customer-facing or internal chatbot for prompt injection, jailbreak and guardrail bypass. It also checks whether a conversation can be steered into retrieving or disclosing data the person should not see.

What methodology do you test AI systems against?

The OWASP LLM Top 10 for the AI-specific surface, and OWASP's standard web and API guidance for everything the AI feature sits inside: authentication, session handling and access control.

Can you test an AI agent that has access to internal tools or systems?

Yes. If your AI feature can call tools, trigger workflows or act on other systems, we test whether that access can be escalated, redirected or used outside its intended scope.

Is a re-test included?

Yes. A re-test of the findings in the original report sits inside the fixed scope. Model behaviour is probabilistic, so we re-test each fix across repeated attempts.

What is agentic AI penetration testing, and how does it differ from testing a chatbot?

It tests the agent as a system that plans steps, calls tools without a person approving each call, and carries state between steps. Testing follows the OWASP Top 10 for Agentic Applications and MITRE ATLAS: whether one injection triggers a chain of tool calls, whether earlier state changes later behaviour, and whether each tool enforces its own permission.

How long does an AI penetration test take?

Longer than a standard web test of the same application, because each AI entry point and each tool it reaches is worked separately. The window is set in the scope and quoted with it. Reporting and the re-test sit outside the testing window.

Which AI systems do you test?

Chatbots and copilots answering from a knowledge base, retrieval-augmented generation pipelines over your own documents, agents that call internal tools, and model-facing APIs another system consumes. We test the application as it is configured, wherever it runs.

Do you offer AI penetration testing in Sydney, Melbourne, Brisbane and Perth?

Yes. AI penetration testing runs remotely for organisations anywhere in Australia, over the same paths your users reach the feature on. The debrief is by video call, or in person in Brisbane. On-site work is scoped and quoted in writing with the rest of the engagement.

Is AI penetration testing the same as AI red teaming?

Adversarial testing of an AI system is often called AI red teaming, and this engagement does that work to a written scope with every finding reproduced. A red team assessment is an objective-led exercise across people, process and technology, reported as the path taken.

Can you test an AI feature that is already in production?

Yes. We test your system wherever it runs. The rules of engagement set the prompts and inputs in scope, the content the system must never be made to generate, the testing window and a stop-work procedure for a live production issue: can a penetration test break production systems?

What access do you need for an AI penetration test?

What a normal user of the feature has, plus whatever the scope needs on the configuration behind it, such as the system prompt or guardrail settings. A multi-tenant product with retrieval needs two tenants and two roles with different record access. Access is least-privilege and limited to the testing window.

How do I get a quote for an AI penetration test?

Send a brief to info@blackshard.com.au naming each AI feature, what it retrieves and which tools it can call. The written quote names its drivers: AI features and integration points, retrieval or tool access, tenancy count and on-site work. The scope is fixed and quoted before work starts, and the re-test sits inside it.

Do we still need a standard penetration test?

The AI penetration test covers the AI feature and the authentication, session handling and access control it sits on. Your wider network, applications and cloud take a standard penetration test, and the two can combine into one engagement with one report: AI and standard penetration testing compared.

When should an AI feature be tested again?

After a change to the AI feature: a new model, a new tool connection, a new retrieval source, or a changed system prompt or guardrail. The evaluation suite returned with the report runs in your pipeline between tests. For the systems underneath: how often should a business run a penetration test?

Does an AI penetration test support Privacy Act and ISO 42001 work?

Yes. Australian Privacy Principle 11 requires reasonable steps to protect personal information from unauthorised access and disclosure, and the report records how the AI feature held up: AI tools, data leakage and the Privacy Act. ISO 42001 readiness prepares the AI management system around the feature.

Can we share the report with a customer or auditor?

Yes. Each finding carries severity, business impact, steps to reproduce and the fix, mapped to its OWASP LLM Top 10 category. We hold your findings in confidence and disclose nothing to a third-party vendor without your consent, so who receives the report is your decision.

Scope an AI penetration test.