Skip to main content

Many companies run machine learning models that nobody has attacked on purpose. A fraud score, a credit decision, a document classifier or a camera-based check all make decisions that someone can try to bend. We test those models the way an attacker would, then show you what it would take to fix them.

This page is about model-level testing for classic ML systems. For chatbots and agents, see LLM penetration testing. For the full pipeline and infrastructure view, see AI penetration testing.

Why an ML model needs its own test

A model can pass every accuracy test and still be easy to fool. Accuracy tells you how it behaves on normal data. It says nothing about inputs built to push it the wrong way, or about what an outsider can learn by querying it enough times.

Where attacks land in practice

System Realistic attack What it costs you
Fraud or risk scoring Fraudster shapes transactions until the score drops below the alert line Losses that look normal to the model
Credit or underwriting Applicant edits inputs the model over-weights Bad loans approved, unfair rejections
Image or document checks Altered image passes identity or KYC verification Fake accounts, failed audits
Recommendation and ranking Fake accounts feed poisoned signals Skewed results, brand damage
Any model behind an API Competitor queries it thousands of times and trains a copy Your model becomes theirs

How we test

We work in three modes, depending on what access you give us.

  • Black-box: we only see inputs and outputs, like a real attacker. This shows what can be extracted and evaded from outside.
  • Grey-box: we get documentation, feature lists or sample data. This lets us test poisoning and inversion more precisely.
  • White-box: we get the model and training code. This is the deepest test and the one that finds backdoors.

We use open tooling such as the Adversarial Robustness Toolbox and Foolbox for generating attack inputs, plus our own scripts for the parts that depend on your data. Every finding comes with the input that triggered it, so your data scientists can reproduce it.

What you get

  • A list of confirmed weaknesses with severity and the evidence behind each one.
  • Plain-language impact: what an attacker gains in your business, not only in the model.
  • Fix options: input checks, rate limits, output hardening, retraining steps or monitoring rules.
  • A retest of the fixes you make, with a short closure note.

Standards

We map findings to the OWASP Machine Learning Security Top 10 and MITRE ATLAS, so the report fits into your existing risk register. If you need a compliance angle, we also cover ISO/IEC 27001 and SOC 2 evidence.

Our article on testing LLMs and AI agents covers the language-model side in more depth.

Questions we get asked

What is machine learning penetration testing?

It is a security test of an ML model and the system that serves it. We try to fool the model, extract it, poison its data and recover training data, then report what worked.

Does it work on models we bought or downloaded?

Yes. Third-party and open-source models can carry backdoors or unsafe files. We test how you load, store and use them, and how the model behaves on hostile input.

Do you need access to our data scientists?

A short session with one of them helps a lot. It saves time on how features are built and where the training data comes from.

Is this the same as a model fairness audit?

No. Fairness audits check bias in outcomes. We check whether an attacker can change or steal what the model does. The two can run side by side.

Talk to us about scope

Send us a short description of the model and what it decides. We will come back with a scope and a quote.

Book a scoping call