Skip to content
Zyberum Cyber Security Firm
Menu

AI & LLM penetration testing

Your chatbot is polite. We check whether it can also keep a secret.

A language model cannot tell an instruction from data. Anything it reads can steer it: the user input, the PDF in the knowledge base, the email in the inbox. We test chatbots, RAG systems, copilots and agents with tools, on cloud APIs and on your own inference server.

  • OWASP Top 10 for LLM Applications
  • Cloud APIs and self-hosted models
  • No customer data sent to online AI services

In short

AI penetration testing (LLM penetration testing) is a manual security test of an application built on a large language model: a chatbot, a RAG system, a copilot or an agent with tools. It covers prompt injection, system prompt and data leakage, access control in retrieval, excessive tool permissions and the handling of model output, following the OWASP Top 10 for LLM Applications. Zyberum, based in Hannover, Germany, tests applications on cloud AI APIs as well as locally hosted and self-hosted models, and delivers rated findings with evidence and a concrete countermeasure for each.

What we test

Where LLM applications actually break

The weakness classes follow the OWASP Top 10 for LLM Applications. The weighting follows your application: an FAQ bot has different problems from an agent with write access to the ERP.

Prompt injection

Direct through the input, and indirect through content the model reads: documents, web pages, emails, tickets. We check whether text from a stranger can take over what the application does.

System prompt and data leakage

Does the model give away its system prompt, embedded keys, internal documents or data from other sessions? A system prompt is not a security control, but it is often used as one.

Access control in retrieval

Does user A get documents of tenant B out of the RAG system? We check whether permissions are enforced in the vector store search or only in the front end.

API penetration testing

Excessive agency

The agent calls a tool it should not call in this situation: send an email, delete a record, place an order. We check tool permissions, confirmation steps and what happens with no human in the loop.

Insecure output handling

Model output ends up unchecked in SQL, HTML or a shell. A text answer then becomes an injection, cross-site scripting or a command on the server.

Web application pentest

Denial of wallet and supply chain

Missing limits that run up your token bill or saturate your GPU. Plus the origin of models, plugins and libraries: what gets loaded, from where, and who checked it?

Local models

Self-hosted does not mean secure by default

Many companies run models in-house on purpose: open-weight models on their own hardware, an internal inference server, no data leaving for a cloud provider. That solves the data protection problem. The security problem moves in with it.

For on-premises setups we therefore test more than the application. Is the inference API reachable on the network without authentication? Who may load or swap models? Where do the model files come from, and in which format? How are GPU servers, vector database and orchestration separated from the rest of the network?

We know these environments from running them. Zyberum works with self-hosted models itself. Nothing from your project goes to an online AI service, and that includes your system prompt.

  • Applications on cloud AI APIs
  • Open-weight models on your own hardware
  • Internal inference servers and model gateways
  • Vector databases and embedding pipelines
  • Agent frameworks and tool integrations

How it runs

An LLM pentest in four steps

  1. 01

    Scoping

    We agree on model, data sources, tools, roles and what must never happen. The system owner gives written authorisation. Without it we do not test.

  2. 02

    Understand the architecture

    We trace where text enters the context and where the output goes. If you want that on paper first, do a threat modelling session. It sharpens the scope.

  3. 03

    Testing

    By hand and with many repetitions, because models do not answer deterministically. The classic attack surface around the model is part of it: web front end, API, authentication, data storage.

  4. 04

    Report and retest

    Every finding with evidence, impact and fix. We walk your team through the results and retest once the measures are in place.

Related

The AI is rarely the only problem

Threat modelling

Before you build or before the test: draw the trust boundaries and decide what an agent is allowed to do. Cheaper than any rework.

Threat modelling

API penetration testing

The tools of an agent are API calls in the end. If the API believes every token, the best system prompt will not help.

API penetration testing

Secure development

Output validation, a permission model for tools and tests in the pipeline, so the findings do not come back with the next release.

Secure development

Who tests

Pentesters who also run models

Your test is run by security engineers who attack web applications and APIs and use self-hosted models in their daily work.

Case studies

What it looks like when we test

FAQ

AI penetration testing FAQ

How much does an LLM penetration test cost?

It depends on how much the application can do: the number of data sources, tools and roles, and whether the infrastructure behind it is in scope. A chatbot without tools is tested much faster than an agent with write access to several systems. We fix the price after the scoping call.

What is the difference between an LLM pentest and AI red teaming?

The terms are often used for the same thing. AI red teaming frequently also includes probing the model for unwanted content. Our focus is the security of the application: what data can an attacker reach through the model, and what actions can they trigger? Both can be combined in one project.

Do you test locally hosted models as well?

Yes. We test applications on open-weight models and internal inference servers just like applications on cloud AI APIs. For self-hosted setups we also look at the inference server, the origin of the models and the network separation. We can test on site if you prefer.

Can prompt injection be prevented completely?

Not reliably with what is known today, as long as a model reads text from others. So we do not only assess whether an injection works, but what is possible afterwards. The measures that hold are in the architecture: minimal tool permissions, authorisation checks outside the model, validation of the output and a human confirmation for critical actions.

Do I need an AI pentest for the EU AI Act?

Depending on the risk class of an AI system, the EU AI Act sets requirements that include risk management, robustness and cybersecurity. A security test can be one building block of that risk management and gives you traceable results for it. Whether and how your system falls under the regulation is a legal question a test does not answer. Our report is evidence, not a certificate.

What do you need from us?

Access to the application with test accounts for each role, a short description of the architecture and written authorisation from the system owner. A test environment with realistic but non-critical data works best. Helpful but not required: the system prompt, tool definitions and source code for a white-box test.

Get started

Your AI penetration test, scoped in 15 minutes

Tell us what the application can do: which model, which data sources, which tools, which user roles. After the call you get a fixed-price offer.

  • Scope by data sources, tools and roles
  • Fixed-price offer after the call
  • We name the earliest start in the scoping call
Tom Zaubermann

Your call is withTom ZaubermannFounder & CEO, Zyberum

Call us: +49 176 439 17074info@zyberum.com

Or send us a message

We reply within one business day.

No sales offers, please. We are not hiring at the moment.

Call usRequest an LLM pentest

Pick a time that suits you

Open in a new tab