OWASP Machine Learning Security Top 10

Also known as: OWASP ML Top 10

On this page 7

The OWASP Machine Learning Security Top 10 is a community-maintained awareness document from the Open Worldwide Application Security Project that names the ten most critical security risks to machine learning systems, describes how each attack works and recommends preventive controls. In AI security, it gives developers, data scientists and security teams a shared vocabulary and checklist for threats that traditional application security lists do not cover, such as data poisoning, model inversion and model theft.

The list, often shortened to the OWASP ML Top 10, was published as a 2023 draft release and is maintained by volunteers. It focuses on classical and deep learning models across the whole lifecycle, from training data to deployed inference endpoints, and complements the separate OWASP Top 10 for Large Language Model Applications.

The ten risk categories in the OWASP ML Top 10

The OWASP ML Top 10 groups machine learning attacks into ten numbered categories, ML01 to ML10, each with a description, attack scenarios and prevention guidance. The table below summarizes them and the lifecycle stage each one targets.

IDRiskLifecycle stageCore idea
ML01Input manipulation attackInferenceAdversarial inputs cause wrong predictions
ML02Data poisoning attackTraining dataTampered data corrupts learned behavior
ML03Model inversion attackInferenceOutputs reveal sensitive training features
ML04Membership inference attackInferenceAttacker learns whether a record was in training
ML05Model theftDeploymentQueries or leaks reproduce the model
ML06AI supply chain attacksBuild and dependenciesCompromised libraries, models or datasets
ML07Transfer learning attackFine-tuningMalicious base model carries hidden behavior
ML08Model skewingFeedback loopManipulated feedback shifts the model over time
ML09Output integrity attackPost-processingPredictions altered between model and consumer
ML10Model poisoningModel parametersDirect tampering with weights
OWASP ML Top 10 categories

The numbering reflects a rough ordering of prevalence and impact, not a strict ranking. Several categories overlap in practice; for example, a poisoned pre-trained model obtained from a public hub can fall under ML06, ML07 and ML10 at the same time.

How the list structures each risk

Each entry follows a consistent template so that teams can compare risks quickly. It describes the attack, gives concrete scenarios, lists prevention measures and rates the risk along several dimensions adapted from the OWASP risk rating approach.

The rating considers exploitability, detectability and technical impact, together with the attacker’s required knowledge. Membership inference, for instance, is generally easier to attempt with simple black-box queries, while model poisoning through weight tampering usually requires deeper access but has a severe impact once achieved.

This structure makes the document useful as an input to AI threat modeling. A team can walk through ML01 to ML10 for each model, decide which risks apply to its architecture, and record the controls that address them.

The categories also map naturally onto ownership boundaries inside an organization. Data engineering teams own most of the data poisoning and model skewing controls, platform teams own supply chain and output integrity controls, and the teams that expose inference APIs own the defenses against inversion, membership inference and theft. Assigning each category to an owner turns the list from a reading exercise into an accountable security program.

Relationship to other AI security frameworks

The OWASP ML Top 10 is an awareness list, not a complete taxonomy or a standard. It works best together with frameworks that offer more depth or a different scope, as the comparison below shows.

FrameworkScopeBest used for
OWASP ML Top 10Ten critical ML risksDeveloper awareness and checklists
OWASP Top 10 for LLM ApplicationsRisks in LLM-based applicationsPrompt injection and agent risks
MITRE ATLASAdversary tactics and techniques against AIThreat intelligence and red teaming
NIST AI 100-2Taxonomy of adversarial machine learningPrecise terminology and research mapping
Secure AI FrameworkOrganizational AI security practicesProgram-level controls
OWASP ML Top 10 and related frameworks

A practical division of labor is common: the OWASP list sets priorities for engineering teams, MITRE ATLAS describes how real adversaries operate, and the NIST taxonomy supplies exact definitions for attacks such as evasion, poisoning and privacy attacks.

Mapping risks to defensive controls

Every category in the list points to concrete defenses, and most controls reduce more than one risk. The table below maps typical controls to the categories they address.

RiskPrimary controlsResidual concern
Input manipulationAdversarial training, input validation, ensemblesAdaptive attacks bypass weak defenses
Data poisoningData provenance checks, anomaly detection, access controlClean-label poisoning is hard to spot
Model inversion and membership inferenceDifferential privacy, output rounding, rate limitsUtility loss at strong privacy levels
Model theftQuery rate limiting, watermarking, model fingerprintingDistillation from many accounts
Supply chain and transfer learningModel signing, AI bill of materials, safe serialization formatsHidden backdoors in trusted sources
Output integritySigned predictions, integrity checks, secure transportCompromised downstream consumers
Representative controls per risk

A widely cited lesson from adversarial machine learning applies here: gradient masking and obscurity are not defenses. Controls should be evaluated against adaptive attackers who know the defense, and certified robustness methods are preferable where formal guarantees matter.

Limitations and common misreadings

The list is valuable for prioritization, but teams sometimes treat it as a compliance checklist rather than a starting point. Several limitations deserve attention.

  • It is a draft-stage community document, so wording and categories may change between releases.
  • It does not cover prompt injection, jailbreaks and agent risks in depth; those belong to the LLM-focused OWASP list.
  • Ten categories cannot capture every attack variant, such as sponge attacks or model denial of service.
  • Prevention guidance is high-level and must be translated into architecture-specific controls.
  • Passing a Top 10 review does not prove security; red teaming and continuous monitoring remain necessary.

A plain-language summary

The OWASP Machine Learning Security Top 10 is a list of the ten biggest ways attackers can harm AI models. Security experts wrote it so that builders know what to protect.

Think of it as a home security checklist for an AI system. It reminds you to lock the doors, check who delivers your supplies and watch who looks through the windows. Attackers may feed the model bad data, trick it with strange inputs or copy it. The list explains each danger and the basic protections against it.

An example from practice

A bank prepares to deploy a fraud detection model that scores card transactions in real time. Before launch, its security team runs a threat modeling workshop and walks through all ten categories with the data science and platform engineers.

The review finds three gaps. The training pipeline accepts chargeback labels from a partner feed without validation, an ML02 and ML08 risk. The scoring API returns exact probabilities without limits, which enables membership inference and model theft. The base model comes from a public repository in an unsafe serialization format, an ML06 risk.

The team adds label provenance checks, rounds scores to two decimals, introduces per-client rate limits and converts the model to a safe format with a signed hash. The outcome is a documented risk register tied to the OWASP categories, which internal auditors accept as part of the model approval process.