Prevention

Preventing data poisoning: the controls that matter

No control removes the risk, but a few reduce it a great deal: know where data comes from, version it, vet suppliers and keep unverified sources away from training.

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

The controls below come mainly from OWASP's mitigation list for data and model poisoning [4], set beside the NCSC's secure development guidance [6].

The controls

What to put in place

Work down the list in order, as each one builds on the one before.

  1. 1

    Track the origin and transformation of every dataset, and verify its legitimacy at each stage of development [4].
  2. 2

    Version datasets so that manipulation can be detected [4].
  3. 3

    Vet data vendors carefully [4].
  4. 4

    Sandbox access to unverified data sources and use anomaly detection to filter adversarial data [4].
  5. 5

    Restrict infrastructure so models cannot reach data sources they should not use [4].

Tooling

Records you can keep

OWASP gives examples of record keeping: CycloneDX or an ML bill of materials for provenance, and DVC for versioning datasets [4]. The aim is the same whichever tool you use: a record of what went into each model.

Where the NCSC fits

The NCSC guidelines follow a system from design through to day to day running, and file supply chain security under the development stage [6]. Its machine learning principles set out goals, rationale and implementation for each principle [7].

Design choices

Reduce exposure by design

OWASP also suggests fine-tuning on datasets specific to each use case, and storing user-supplied information in a vector database so it can be adjusted without retraining the whole model [4]. Both narrow what a poisoned input can affect.

Also consider:

  • Limiting who can add to training and retrieval stores
  • Keeping production and experimental fine-tuning apart
  • Treating downloaded model files as software, given OWASP's warning about malicious payloads in shared models [4]
Cloud above a green shield with a padlock beside a stack of blue servers

Be realistic

Controls are not proof

The 2025 study notes that attackers face practical barriers and that poisoning is somewhat favourable to defenders [1]. Prevention lowers the odds, and detection covers what gets through.

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.