Questions

Data poisoning: your questions answered

Plain answers, each with its source, to the things UK security and business teams ask about poisoned training data.

Last reviewed against Anthropic, UK AI Security Institute and arXiv. Sources

The home page gives the overview, and the plan sets out the work step by step.

Quick answers

Questions people ask

What is data poisoning?

It is the manipulation of pre-training, fine-tuning or embedding data to introduce vulnerabilities, backdoors or biases[4]. OWASP calls it an integrity attack, because tampered data undermines the accuracy of what a system produces[4].

How many documents does it take to poison an AI model?

In one study, 250 poisoned documents backdoored models from 600 million to 13 billion parameters, while 100 did not reliably do so[1]. The authors found the absolute count mattered, not the share of training data[1].

Does poisoning work on larger models too?

That is not yet known. The authors say it is unclear whether the pattern holds for larger models or more harmful behaviours[1]. They tested up to 13 billion parameters[3].

Is data poisoning the same as prompt injection?

No. Poisoning changes the data a system learned from, while prompt injection manipulates it through input at run time. OWASP lists them as separate risks, though it notes weak filtering can let injected content become training data[4].

Can data poisoning be detected?

Only partly. OWASP says backdoors can stay dormant until a trigger activates them, which makes them hard to test for[4]. It suggests red-teaming, monitoring and checking outputs against trusted sources[4].

Can poisoning of web-scraped datasets happen cheaply?

Researchers said in 2023 that about 0.01% of the LAION-400M or COYO-700M datasets could be poisoned for about $60[8]. They notified the maintainers of the affected datasets[8].

Can poisoned models pass normal tests?

In a medical study reported by Hackaday, corrupted models were not readily caught by standard medical benchmarks[9]. Hackaday says replacing about 0.001% of training tokens was enough to produce erroneous medical statements[9].

Is there UK guidance on this?

The NCSC publishes guidelines for secure AI system development, first published on 27 November 2023[6], and machine learning principles at version 2.0 from 22 May 2024[7]. For poisoning controls in detail, OWASP's LLM04 entry is the most specific[4].

What should we do first?

List every dataset, feed and document store your AI systems learn from or read, and track where each came from[4]. Then version the data and ask suppliers how theirs is checked[4][6].

How CyPro can help

Need a hand planning for this?

Understanding the change is one job. Working out what it means for your systems, your suppliers and your roadmap is several more. CyPro's consultants can take any of them on.

Security lead advising a board

Fractional CISO for the board

A senior security lead who advises the board on what to fix first, what to accept and what to tell customers, and owns the decision record.

More on cypro.co.uk
Cyber security consultants planning hardening work

Hardening and segmentation

Our consultants put the controls in place that limit the damage when something is missed: firewall rules, network isolation and tighter admin access.

More on cypro.co.uk
Penetration tester probing an application for weaknesses

Penetration testing

A focused test of your systems and the controls around them, so you know they hold before an attacker finds out for you.

More on cypro.co.uk
Scanner checking internet-facing systems for weaknesses

Vulnerability scanning

Find every internet-facing system you run, including the forgotten ones, and see which are still on a vulnerable build.

See the scanning service
Security analysts monitoring systems around the clock

24/7 security monitoring

Our SOC analysts watch your systems day and night for the signs of an attack in progress: unexpected processes, new outbound connections, logins that do not fit.

More on cypro.co.uk
Incident responders containing an attack

Incident response

If you may already be compromised, our responders contain it, preserve the evidence, find out what was touched and get you running again safely.

More on cypro.co.uk
Rocket launching from a cloud

Plan ahead

Want a plan for your organisation?

Defending against data poisoning starts with knowing which AI systems you run, where their data comes from and who owns the risk. CyPro can help set the governance, risk assessment and controls around that.