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.
| ID | Risk | Lifecycle stage | Core idea |
|---|---|---|---|
| ML01 | Input manipulation attack | Inference | Adversarial inputs cause wrong predictions |
| ML02 | Data poisoning attack | Training data | Tampered data corrupts learned behavior |
| ML03 | Model inversion attack | Inference | Outputs reveal sensitive training features |
| ML04 | Membership inference attack | Inference | Attacker learns whether a record was in training |
| ML05 | Model theft | Deployment | Queries or leaks reproduce the model |
| ML06 | AI supply chain attacks | Build and dependencies | Compromised libraries, models or datasets |
| ML07 | Transfer learning attack | Fine-tuning | Malicious base model carries hidden behavior |
| ML08 | Model skewing | Feedback loop | Manipulated feedback shifts the model over time |
| ML09 | Output integrity attack | Post-processing | Predictions altered between model and consumer |
| ML10 | Model poisoning | Model parameters | Direct tampering with weights |
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.
| Framework | Scope | Best used for |
|---|---|---|
| OWASP ML Top 10 | Ten critical ML risks | Developer awareness and checklists |
| OWASP Top 10 for LLM Applications | Risks in LLM-based applications | Prompt injection and agent risks |
| MITRE ATLAS | Adversary tactics and techniques against AI | Threat intelligence and red teaming |
| NIST AI 100-2 | Taxonomy of adversarial machine learning | Precise terminology and research mapping |
| Secure AI Framework | Organizational AI security practices | Program-level controls |
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.
| Risk | Primary controls | Residual concern |
|---|---|---|
| Input manipulation | Adversarial training, input validation, ensembles | Adaptive attacks bypass weak defenses |
| Data poisoning | Data provenance checks, anomaly detection, access control | Clean-label poisoning is hard to spot |
| Model inversion and membership inference | Differential privacy, output rounding, rate limits | Utility loss at strong privacy levels |
| Model theft | Query rate limiting, watermarking, model fingerprinting | Distillation from many accounts |
| Supply chain and transfer learning | Model signing, AI bill of materials, safe serialization formats | Hidden backdoors in trusted sources |
| Output integrity | Signed predictions, integrity checks, secure transport | Compromised downstream consumers |
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.