AI penetration testing can mean using AI tools to support a conventional security assessment or assessing the security of an AI-enabled application. This guide focuses on the second meaning. It builds on what a penetration tester does and looks at how specialists assess systems such as chatbots and internal assistants, which skills transfer and where this work appears in UK job descriptions.
What is AI penetration testing?
AI-assisted penetration testing uses AI to help with an assessment of another system. For example, a tester might use an AI tool to organise observations from a standard web application assessment. The web application remains the subject of the test.
Security testing of AI-enabled applications examines the AI application itself, including the services and data it can access. An AI penetration tester might examine whether a company assistant respects document permissions when answering employees’ questions. This work can overlap with AI red teaming, which may also look at safety, misuse and how reliably a model behaves under pressure.
What does a professional testing AI systems do?
The systems a tester can assess and the limits they work within depend on what the client has authorised. An assessment typically follows five stages:
- Agree the scope: Record written authorisation, the objectives, permitted systems and test accounts, and any limits on data or connected services.
- Understand the application: Review how prompts, models, document sources, APIs and connected tools fit together, including where permissions are enforced.
- Assess realistic risks: Use controlled scenarios agreed with the client to evaluate whether safeguards hold during normal and unexpected interactions.
- Validate and document findings: Gather repeatable evidence, identify the affected security control and explain the impact and recommended fix in a report.
- Discuss findings and retest: Walk developers through the evidence and priorities. If retesting is part of the engagement, confirm that the changes address the original weakness.
How would a tester assess an internal AI assistant?
Imagine a company whose employees use an assistant to ask questions about internal policies. The application fetches relevant documents for the model to use in its answer, a technique known as retrieval-augmented generation (RAG). The assistant can also call an approved tool to check the status of a support ticket.
The tester assesses whether employees can see only the documents and tickets their accounts permit, as well as whether retrieved text can improperly influence a tool request. The application and connected service must enforce permissions independently of the model’s response. If evidence shows that restricted policy information is consistently disclosed to a standard employee account, the report identifies the affected access control and the information exposed. A fix could enforce document permissions before retrieval, with a retest confirming that the restriction holds.
Which AI-specific security risks does the tester assess?
Three risks in OWASP’s 2026 Top 10 for LLM Applications are especially relevant to the internal assistant.
- Prompt injection (LLM01:2026): Instructions in an employee’s message or a retrieved document can influence the model. The security question is whether that influence causes a control to fail. An unusual reply on its own gives the tester little evidence about permissions or tool behaviour.
- Sensitive information disclosure (LLM02:2026): The assistant could reveal restricted information in an answer. A finding records what was exposed, where it came from, who could see it and whether the result was repeatable.
- Excessive agency (LLM03:2026): The assistant’s tools may have more access than they need or lack an approval step for sensitive actions. In the ticket example, the connected service should check the employee’s permissions before returning ticket details.
How does this differ from application testing and AI red teaming?
These assessments can overlap, but their scope depends on what the team needs to learn about the application, its AI features or the model itself.
- Application penetration testing covers web and mobile applications and their APIs. A tester might check whether an API verifies that a signed-in employee has permission to view a particular ticket.
- LLM application penetration testing adds the model and its integrations to the assessment. The tester also considers what information influences the assistant’s decision to call the ticket API and whose permissions apply to that request.
- AI red teaming can cover a wider set of questions. Depending on the brief, a team may assess whether a model produces harmful responses, how it handles misuse or how reliably it behaves under unusual conditions
What skills do AI penetration testing roles require?
Much of the experience gained in conventional penetration testing carries over to AI applications. The additional challenge is understanding how a model interacts with the rest of the application and judging when its behaviour points to a security weakness. Here are some of the expertise employers look for:
- Application and API security is a strong foundation. Authentication establishes who is making a request, while authorisation determines what they can access or do. Both matter when an assistant acts on a user’s behalf. Threat modelling helps testers decide which risks to assess and scripting helps them make checks consistent across repeated runs. Written scoping, evidence collection and clear reporting carry over directly from conventional testing.
- AI application knowledge helps testers follow information through prompts, retrieval systems, model responses and connected tools. It also helps them understand agents, which can select tools and carry out tasks across several steps. A tester should be able to explain where untrusted content enters the application and which component is responsible for enforcing access.
- Professional judgement matters because model responses can vary. If an assistant claims it opened a restricted ticket, the tester needs evidence that the ticket was actually accessed or that its contents were disclosed. That distinction helps developers identify the control they need to fix.
Which UK jobs involve AI-system security testing?
In the UK, AI-system security testing can form part of a penetration testing, application security, security engineering or red team role. The kind of work you’d do depends on whether the team is assessing an AI-enabled product, securing the infrastructure behind it or running a broader security exercise.
- Penetration testers and application security specialists may assess AI-enabled products such as chatbots and internal assistants. They examine how these applications handle sensitive data, user permissions and connected tools, then explain what needs fixing.
- Security engineers may assess the environments where AI systems are developed, deployed or evaluated. Their work can cover cloud infrastructure, access controls and how those environments are kept separate.
- Offensive security and red team specialists may include AI systems in wider exercises that assess how an organisation’s defences hold up against realistic threats.
If you’re comparing AI security jobs, look for descriptions that explain which systems you’d assess, how much of the role involves testing and who acts on your findings.
How can a penetration tester develop AI security expertise?
If you’re working out how to become a penetration tester, start with application and API security. Then use authorised labs to learn how AI applications handle prompts, retrieve information, enforce permissions and use connected tools. OWASP and NCSC guidance can help you understand the risks and write findings developers can act on.
If you’re comparing certifications for penetration testers, GIAC’s AI Penetration Tester (GAIPT) is an emerging specialist certification. GIAC currently lists it as a presale, so check when the exam will be available before booking.
You can create a job alert on CyberSecurityJobsite to hear about UK penetration testing, application security and red team roles as they’re advertised.