Skip to content
Illustrative close view of optical network connections and fibre cables.
Offensive security

AI and agent security testing

Penetration testing for AI agents, copilots, chatbots and LLM applications. We test what an attacker can make your AI read, reveal and do, before it reaches customers or company data.

An AI that can act can be made to act for someone else.

AI assistants now read email, search company files, query customer records and call other systems. Each connection is useful, and each is a route for an attacker. A hidden instruction in a document, web page or support ticket can redirect an agent that was only meant to summarise it.

The UK’s National Cyber Security Centre has warned that prompt injection may never be fully mitigated in the way SQL injection was, because a language model does not reliably separate instructions from data. Security therefore depends on what the model is allowed to reach and do, not only on filtering what goes in.

GIFGIF is CREST accredited for penetration testing and an NCSC CHECK company. Our testers assess AI applications and agents against the OWASP Top 10 for LLM Applications and the OWASP Top 10 for Agentic Applications, alongside the conventional application and infrastructure testing those systems still need.

No permission. No test.

Authorisation. Testing requires written authority over the AI application, its tools and connected systems, plus agreed environments, test accounts and rules of engagement. Third-party models and platforms are tested only within their providers’ terms. Model behaviour can change with updates, so results are point-in-time observations, not a guarantee of future behaviour. Remediation remains with the system owner; any retesting must be separately confirmed.

Why GIFGIF?

Testing built around what the AI can reach. Filtering prompts alone will not make an AI application safe. We test the whole chain, from the content the model reads to the systems it can act on, and report what an attacker could achieve.

Every input source tested

Users, documents, emails, web pages and retrieved records are all treated as possible carriers of hostile instructions.

Impact, not just jailbreaks

A finding matters when it leaks data or triggers an action. We show that consequence, not just that the model said something odd.

Mapped to recognised standards

Findings are mapped to the OWASP Top 10 for LLM Applications and for Agentic Applications, so developers, auditors and boards share one vocabulary.

Fixes that limit the damage

Recommendations focus on permissions, approvals and output handling, which still hold when the model is fooled.

Assessment areas

The work is defined by the systems and applications agreed for this assessment. These descriptions do not expand that scope.

INPUTS

Prompt injection, direct and indirect

Test whether users or planted content can override your instructions.

Direct injection is a user typing instructions to make the model ignore its rules. Indirect injection hides those instructions in content the model processes: an email, a PDF, a calendar invite, a web page or a record in your own database. We test both, across every source of content the application reads.

Findings show the exact input, what the model did with it and what an attacker gained, such as leaked instructions, another user’s data or an action taken without approval.

AGENCY

Agents, tools and permissions

Find out what a manipulated agent could actually do.

Agents act through tools: sending email, updating records, running code, making payments and calling APIs. We map each tool and the identity it runs under, then test whether the agent can be steered into misusing them, chaining them or acting beyond the user it serves.

This covers the risks set out in the OWASP Top 10 for Agentic Applications, including goal hijack, tool misuse and identity and privilege abuse. Where Model Context Protocol (MCP) servers or plug-ins connect the agent to other systems, those connections are in scope too.

DATA

Data leakage, retrieval and copilots

Test whether the assistant reveals what the user should not see.

Assistants that search SharePoint, mailboxes, CRMs or a vector database can surface data the user has no right to, either because the permissions behind the search are too broad or because an attacker knows how to ask. We test retrieval boundaries, tenant separation, system prompt exposure and the ways a response could carry data out, such as links and images.

For Microsoft 365 Copilot and similar tools, we establish what the assistant can reach in practice for an ordinary user, which is often far more than anyone intended.

FOUNDATIONS

The application around the model

Test the conventional security an AI feature still depends on.

An AI feature is still a web application with an API, authentication, logging and cloud hosting behind it. Model output passed to a browser, database or shell without checks can become cross-site scripting, injection or code execution. We test those links in the same engagement.

Where relevant, we also test cost and availability: inputs that run up excessive model usage or tie up the service.

Illustrative close view of optical network connections and fibre cables.
Authorisation
Written authorisation, identified targets and agreed rules of engagement are prerequisites. Activity stays within that scope.

Our approach

From the brief to useful security findings. We agree the objective, written authority and rules of engagement before assessing the named systems and explaining the results.

01

Agree the question

We clarify the decision, parties or systems in scope, intended use and lawful purpose of the work.

02

Confirm authority

Written permission, identified targets, exclusions and rules of engagement are established before testing.

03

Assess in context

Information is considered for source, date, relevance and corroboration; uncertainty is not converted into a conclusion.

04

Report useful findings

The account explains what was observed, what it may mean, what remains unresolved and the limits of the work.

When to call us

When AI security testing is commonly commissioned.

Before a customer-facing chatbot goes live

A business may want to know whether its assistant can be talked into leaking data, making promises or misusing its tools before customers use it.

An agent gets access to real systems

An internal agent that can send email, update records or approve payments may need testing before its permissions are widened.

A Copilot or AI search rollout

An organisation switching on an assistant across its files and mailboxes may want to check what it can surface for an ordinary user.

A customer or board asks for assurance

Enterprise customers, insurers and boards increasingly ask for evidence that AI features have been independently tested.

Common questions

Short answers to the questions we are asked most about this work.

What is AI penetration testing?

An authorised test of an AI application or agent that tries to make it reveal data, ignore its instructions or misuse its tools, alongside testing of the application and APIs around it. It shows what a real attacker could achieve and how to limit it.

What is prompt injection?

An attack where instructions are placed in the model’s input, either typed by a user or hidden in content the model reads, such as an email or document. The model may follow them instead of the developer’s instructions. Our prompt injection guide explains it in detail.

Can prompt injection be fixed?

Not completely. The NCSC has said it may never be fully mitigated, because language models do not reliably separate data from instructions. The practical aim is to limit what a fooled model can reach and do, through tight permissions, human approval for sensitive actions and careful handling of output.

Is AI security testing different from a normal penetration test?

It builds on one. The application, APIs and hosting still need conventional testing. On top of that, AI testing covers how the model can be manipulated through language and what it can do once it is, which needs different techniques and different fixes.

Do you test Microsoft 365 Copilot and other off-the-shelf assistants?

Yes, within the provider’s terms. For tools such as Copilot, the main risks usually sit in your own configuration: which files, mailboxes and connectors the assistant can reach, and what an ordinary user can make it surface.

Do you test MCP servers and agent tool connections?

Yes. Model Context Protocol servers, plug-ins and API tools are tested for what they expose, the credentials they run with and whether an agent can be steered into misusing them.

Which standards do you test against?

The OWASP Top 10 for LLM Applications and the OWASP Top 10 for Agentic Applications, with reference to the UK AI Cyber Security Code of Practice and ETSI EN 304 223 where clients need to show alignment.

Confidential enquiry

Tell us what your AI can read and what it can do.

A short outline of the question is enough to discuss a proportionate scope. Please do not include sensitive information or documents in an initial enquiry.

Make an initial enquiry