# OWASP Machine Learning Security Top Ten
> Ten attacks on classic machine-learning models and pipelines; a 2023 v0.3 draft, never finalised, with no stated method and uneven definitions
- Publisher: OWASP Machine Learning Security Top 10 project · Edition: 2023 · Released: unknown · Status: draft
- Items: 10 · Licence of the source: CC BY-SA 4.0
- Official page: https://owasp.org/www-project-machine-learning-security-top-10/
- Source: https://github.com/OWASP/www-project-machine-learning-security-top-10/tree/eb418d2b5c202d74b58e41f3195f9aaaa93e0563/docs/ (pinned commit)
- Canonical page: https://llms-technical-reviews.com/security/owasp-ml-security-top10/
## Items at a glance
- **ML01:2023 Input Manipulation Attack** — themes: injection
- **ML02:2023 Data Poisoning Attack** — themes: poisoning
- **ML03:2023 Model Inversion Attack** — themes: data-leak
- **ML04:2023 Membership Inference Attack** — themes: data-leak
- **ML05:2023 Model Theft** — themes: data-leak, access
- **ML06:2023 ML Supply Chain Attacks** — themes: supply-chain
- **ML07:2023 Transfer Learning Attack** — themes: supply-chain, poisoning
- **ML08:2023 Model Skewing** — themes: poisoning
- **ML09:2023 Output Integrity Attack** — themes: output, crypto
- **ML10:2023 Model Poisoning** — themes: poisoning, supply-chain
## Review
## What this list is

The OWASP Machine Learning Security Top Ten is an OWASP Incubator project. Its first version was contributed by Sagar Bhure and Shain Singh and has since been edited in public on GitHub. The edition is 2023, version 0.3, and **it is a draft**: the project says so on its front page and adds that the text changes often. No final version has been released, and the repository, which was still receiving commits in 2026, has not produced a newer edition. Every entry still carries the 2023 label.

The scope is machine learning systems in general: classifiers, detectors, scoring and recommendation models, and the pipelines that train and serve them. It is not about LLM applications. The project's own usage notes send LLM readers to the [LLM Top 10](https://llms-technical-reviews.com/security/owasp-llm-top10-2026/), which covers what a model-based application does with prompts and outputs. The project charter says the list should also cover non-adversarial problems, such as security hygiene in ML engineering and operations, but the ten entries are almost all adversarial-ML attacks. For a catalogue of attacker behaviour against AI systems, with techniques, mitigations and case studies, see [MITRE ATLAS](https://llms-technical-reviews.com/security/mitre-atlas/).

## How it was made

The repository does not describe how the ten entries were chosen or ordered. There is no survey, incident data or vote. An open issue from a reviewer asks whether the order means anything and how the risk scores were set; another open issue says the scores follow the OWASP Risk Rating Methodology and that a page explaining how to turn them into a severity is still to be written.

Each entry has a description, prevention advice, a risk-factor table (exploitability, detectability and technical impact on a 1-5 scale, plus threat agent, weakness and impact) and one to three attack scenarios. Each table says it is only a sample based on the page's first scenario. So the scores describe one example attack, not the risk in general, and the list order is unexplained.

## The items

### ML01:2023 Input Manipulation Attack

**What it is.** Inputs crafted at inference time so that the model gets the answer wrong. The page uses it as an umbrella term that includes adversarial examples: small, deliberate changes to an image, a transaction or a packet that flip a classification while looking normal to a human.

**How it shows up.** A fraud model scores card transactions through an API. The attacker sends many probes, learns which features move the score, and tunes amount, timing and merchant fields until fraudulent payments score as safe. A content-moderation classifier is fooled by an image with a faint added pattern. An ML-based intrusion detector misses traffic whose packet features were shaped to look benign. (The page's network scenario also mentions proxies and encryption, which are ordinary evasion rather than attacks on the model.)

**What to do.** Train on adversarial examples and measure robustness as a release criterion, not only accuracy. Check inputs for out-of-range values and unusual feature combinations. Return labels rather than raw scores where you can, and rate-limit queries, so that black-box search costs more. Do not let one model be the only gate: combine it with rules or a second signal. To test: run open-source adversarial attack tooling against a staging copy of the model, measure accuracy under a fixed perturbation budget, and run a query-based attack against the API with the output detail it really exposes.

**Related.** [AML.TA0001 AI Attack Adaptation](https://llms-technical-reviews.com/security/mitre-atlas/#amlta0001-ai-attack-adaptation) (crafting adversarial data), [AML.TA0007 Defense Evasion](https://llms-technical-reviews.com/security/mitre-atlas/#amlta0007-defense-evasion) (evading a model), and the LLM analogue [LLM01:2026 Prompt Injection](https://llms-technical-reviews.com/security/owasp-llm-top10-2026/#llm012026-prompt-injection).

### ML02:2023 Data Poisoning Attack

**What it is.** The attacker inserts or relabels training data so that the trained model behaves the way they want. It can be broad (lower accuracy overall) or targeted (one sender, one pattern, one trigger always gets a chosen label).

**How it shows up.** A spam filter retrains on users' "not spam" clicks, and a ring of attacker accounts marks a campaign as not spam. A labelling contractor is bribed to mislabel a class. A model trained on scraped web data picks up pages the attacker planted. The page's examples: poisoned spam labels injected through a compromised data store or bribed labellers, and mislabelled network traffic that teaches a traffic classifier the wrong categories.

**What to do.** Record provenance for every dataset: source, collection date, who labelled it, and a hash. Restrict and audit write access to training stores. Validate data and look for outliers and label disagreements before each training run, and use several labellers for sensitive classes. Keep a clean hold-out set that never comes from the same feed, and compare each new model with the previous one on a fixed canary set. To test: inject a known fraction of poisoned samples into a staging pipeline and check whether validation, outlier detection or the canary comparison catches it.

**Related.** [ML08:2023 Model Skewing](#ml082023-model-skewing) (the feedback-loop variant), [LLM05:2026 Data and Model Poisoning](https://llms-technical-reviews.com/security/owasp-llm-top10-2026/#llm052026-data-and-model-poisoning), [DSGAI04 Data, Model & Artifact Poisoning](https://llms-technical-reviews.com/security/owasp-genai-data-security-2026/#dsgai04-data-model--artifact-poisoning), [AML.TA0006 Persistence](https://llms-technical-reviews.com/security/mitre-atlas/#amlta0006-persistence) (training data poisoning).

### ML03:2023 Model Inversion Attack

**What it is.** Using a model's outputs, and sometimes its internals, to reconstruct information about the data it was trained on or about a victim's input. The textbook case is rebuilding a recognisable face for a name from a face-recognition model's confidence scores. The page's definition ("reverse-engineers the model to extract information") is looser than that.

**How it shows up.** A face-recognition API returns a confidence for each identity. The attacker starts from noise and adjusts the image step by step to raise the score for one person, until a likeness appears. A medical risk model that returns precise probabilities lets an attacker infer a sensitive attribute of a known patient. The page's own scenarios are weaker: one has a face model "returning" names, addresses and social security numbers, which a classifier only does if those are its labels, and the bot-detection example is closer to evasion or model copying.

**What to do.** Return the least output detail the product needs: a label rather than a full probability vector, rounded scores. Rate-limit and monitor for long runs of near-identical queries. Train with differential privacy where the data is sensitive. Control who can reach the model and its API. To test: run an inversion attack against a staging model through the API, at the precision you actually expose, and check whether coarser outputs break the product.

**Related.** [ML04:2023 Membership Inference Attack](#ml042023-membership-inference-attack), [LLM02:2026 Sensitive Information Disclosure](https://llms-technical-reviews.com/security/owasp-llm-top10-2026/#llm022026-sensitive-information-disclosure), [DSGAI18 Inference & Data Reconstruction](https://llms-technical-reviews.com/security/owasp-genai-data-security-2026/#dsgai18-inference--data-reconstruction), [AML.TA0009 Collection](https://llms-technical-reviews.com/security/mitre-atlas/#amlta0009-collection), where ATLAS 2026.10 now files "Invert AI Model".

### ML04:2023 Membership Inference Attack

**What it is.** Deciding whether a specific person's record was in the training set, from how the model responds to it. Models are often more confident on examples they were trained on, and that difference leaks membership. The page's one-line definition says the attacker manipulates the training data, which is not what the term usually means; its own prevention list and scenario describe the query-based attack.

**How it shows up.** A hospital trains a readmission model on its patients and exposes it to partners. Anyone who can query it with a known person's details can estimate whether that person was a patient, which is itself sensitive. A model trained on one bank's customers reveals who banks there. Over-fitted models and small datasets leak the most.

**What to do.** Reduce over-fitting with regularisation, early stopping and more data. Train with differential privacy when membership itself is sensitive. Limit output precision, as for ML03. Collect only the features you need. To test: run a shadow-model membership-inference attack against a staging model, measure how much better than chance it does, and track that number as a release metric alongside accuracy.

**Related.** [ML03:2023 Model Inversion Attack](#ml032023-model-inversion-attack), [LLM02:2026 Sensitive Information Disclosure](https://llms-technical-reviews.com/security/owasp-llm-top10-2026/#llm022026-sensitive-information-disclosure), [DSGAI18 Inference & Data Reconstruction](https://llms-technical-reviews.com/security/owasp-genai-data-security-2026/#dsgai18-inference--data-reconstruction), [AML.TA0009 Collection](https://llms-technical-reviews.com/security/mitre-atlas/#amlta0009-collection) ("Infer Membership").

### ML05:2023 Model Theft

**What it is.** The attacker gets the model's parameters or a working copy of it. The page concentrates on direct theft: reverse engineering a binary, or getting the code, data and algorithm. It does not discuss the other common route, rebuilding a model by querying it at scale.

**How it shows up.** Model weights sit in an object-store bucket that a CI token can read, and the token leaks. An on-device model ships inside a mobile app and is unpacked. A competitor sends hundreds of thousands of queries to a public scoring API and trains a copy on the answers. Each route ends the same way: the investment in training is gone and the copy can be probed offline for ML01-style attacks.

**What to do.** Treat weights as secrets: access control, encryption at rest, separate storage, access logs. Assume anything shipped to a device can be extracted, and keep the most valuable models on the server. Put quotas, rate limits and anomaly detection on inference APIs. Watermark models so that a stolen copy can be identified. The page also suggests legal protection and backups. To test: review who can read model artefacts, and run a budgeted extraction experiment against your own API to learn how many queries buy a usable copy.

**Related.** [DSGAI20 Model Exfiltration & IP Replication](https://llms-technical-reviews.com/security/owasp-genai-data-security-2026/#dsgai20-model-exfiltration--ip-replication), [LLM10 Model Theft](https://llms-technical-reviews.com/security/owasp-llm-top10-2023/#llm10-model-theft) in the 2023 LLM list, [AML.TA0010 Exfiltration](https://llms-technical-reviews.com/security/mitre-atlas/#amlta0010-exfiltration), [AML.TA0003 Resource Development](https://llms-technical-reviews.com/security/mitre-atlas/#amlta0003-resource-development) ("Replicate AI Model Behavior").

### ML06:2023 ML Supply Chain Attacks

**What it is.** Compromise through anything the ML system is built from: Python packages, pre-trained models from public hubs, datasets, and the MLOps platforms (experiment trackers, model registries, inference servers, data platforms) that teams expose to each other. The page notes that an ML supply chain has more moving parts than a normal software one.

**How it shows up.** A trojaned build of a popular numerical library is uploaded to a public package index and installed by a training job. An inference platform's web UI is reachable from the internet without authentication, and an outsider downloads private models. An attacker impersonates the organisation's account on a model hub and publishes a malicious model, which staff download and load; model formats that run code on load make this an immediate compromise.

**What to do.** Pin and verify packages by hash, and install from an internal mirror rather than straight from public indexes (the page calls those indexes "secure sources", which they are not). Prefer model formats that store only weights, and load untrusted models only in a sandbox. Keep a bill of materials for models and datasets as well as code. Put authentication on every MLOps interface and keep them off the internet. Verify publisher identity on model hubs. To test: list every model and dataset source in your pipelines, and scan your address space for exposed MLOps endpoints.

**Related.** [LLM04:2026 Supply Chain](https://llms-technical-reviews.com/security/owasp-llm-top10-2026/#llm042026-supply-chain), [A03:2025 Software Supply Chain Failures](https://llms-technical-reviews.com/security/owasp-top10-web-2025/#a032025-software-supply-chain-failures), [OSS-RISK-2 Compromise of Legitimate Package](https://llms-technical-reviews.com/security/owasp-oss-risks-top10/#oss-risk-2-compromise-of-legitimate-package), [CICD-SEC-3 Dependency Chain Abuse](https://llms-technical-reviews.com/security/owasp-cicd-top10/#cicd-sec-3-dependency-chain-abuse), [AML.TA0004 Initial Access](https://llms-technical-reviews.com/security/mitre-atlas/#amlta0004-initial-access) ("Supply Chain Compromise").

### ML07:2023 Transfer Learning Attack

**What it is.** The danger that a pre-trained model you fine-tune already carries behaviour planted by whoever trained it. Backdoors in a base model can survive fine-tuning on your own data. The page's definition and its scenario are vague about how the attacker's model reaches the victim; read it as a supply-chain backdoor in a base model.

**How it shows up.** A team downloads a pre-trained face-embedding model from a public hub and fine-tunes it for door access. The base model was trained so that a particular pattern, such as a certain pair of glasses, maps any face close to a chosen identity. After fine-tuning, the trigger still works and the attacker walks in.

**What to do.** Take base models only from publishers you can verify, and check hashes. Evaluate base models for backdoors before use: probe with candidate trigger patterns and out-of-distribution inputs. For high-stakes uses, fine-tune more layers or train from scratch. Keep a provenance record for every base model. The page also suggests differential privacy, which protects training records but does nothing against a planted backdoor. To test: red-team the fine-tuned model with known trigger patterns, and compare its behaviour with an independently trained baseline.

**Related.** [ML06:2023 ML Supply Chain Attacks](#ml062023-ml-supply-chain-attacks), [ML10:2023 Model Poisoning](#ml102023-model-poisoning), [LLM05:2026 Data and Model Poisoning](https://llms-technical-reviews.com/security/owasp-llm-top10-2026/#llm052026-data-and-model-poisoning), [AML.TA0006 Persistence](https://llms-technical-reviews.com/security/mitre-atlas/#amlta0006-persistence) ("Manipulate AI Model").

### ML08:2023 Model Skewing

**What it is.** Poisoning through the feedback loop of a model that keeps learning from production. The attacker shifts the distribution of feedback (outcomes, user ratings, dispute results) so that the next retraining moves the model in their favour. It is a form of data poisoning that needs no access to the training store, only to the feedback channel.

**How it shows up.** A lender retrains its credit model on repayment outcomes reported through the MLOps pipeline, and an attacker feeds in fake outcomes that make high-risk profiles look safe. A review site's ranking model learns from "helpful" votes cast by a network of fake accounts. A fraud model learns from chargeback disputes that an organised group files on purpose.

**What to do.** Authenticate feedback sources and verify feedback integrity. Rate-limit feedback per account and per source. Watch feedback distributions for sudden shifts. Gate every retraining with a fixed evaluation set and a human sign-off when the model moves more than a set threshold, and keep the ability to roll back. To test: simulate a feedback flood in staging and check whether the retraining gate catches it before promotion.

**Related.** [ML02:2023 Data Poisoning Attack](#ml022023-data-poisoning-attack), [LLM05:2026 Data and Model Poisoning](https://llms-technical-reviews.com/security/owasp-llm-top10-2026/#llm052026-data-and-model-poisoning), [DSGAI21 Disinformation & Integrity Attacks via Data Poisoning](https://llms-technical-reviews.com/security/owasp-genai-data-security-2026/#dsgai21-disinformation--integrity-attacks-via-data-poisoning), [AML.TA0011 Impact](https://llms-technical-reviews.com/security/mitre-atlas/#amlta0011-impact) ("Erode AI Model Integrity").

### ML09:2023 Output Integrity Attack

**What it is.** Tampering with a model's results after the model produced them and before a consumer acts on them: on the network, in a message queue, or in a results table. The model is fine; the pipeline around it is not.

**How it shows up.** A diagnostic model writes findings to a database that a clinical system reads. An attacker with write access to that table changes findings, and patients get the wrong treatment, which is the page's scenario. In a SaaS product, an inference service and the app talk over unencrypted internal HTTP, and anyone on that network can rewrite scores in transit.

**What to do.** Encrypt and authenticate the channel between model and consumer (TLS, mTLS). Sign each result together with the model version and have the consumer verify the signature. Restrict write access to result stores. Keep tamper-evident logs of inputs and outputs. Sanity-check outputs (ranges, allowed labels) at the consumer. To test: in staging, change a result in transit and at rest, and check that the consumer rejects it.

**Related.** [A08:2025 Software or Data Integrity Failures](https://llms-technical-reviews.com/security/owasp-top10-web-2025/#a082025-software-or-data-integrity-failures), [A04:2025 Cryptographic Failures](https://llms-technical-reviews.com/security/owasp-top10-web-2025/#a042025-cryptographic-failures), and, as a contrast, [LLM10:2026 Improper Output Handling](https://llms-technical-reviews.com/security/owasp-llm-top10-2026/#llm102026-improper-output-handling), where the danger is trusting genuine output. [AML.TA0011 Impact](https://llms-technical-reviews.com/security/mitre-atlas/#amlta0011-impact).

### ML10:2023 Model Poisoning

**What it is.** Direct tampering with the model's parameters, rather than with its data. Whoever can write the weights decides what the model does. The page's scenario also mentions altering training images, which is ML02; the distinctive case here is a changed model file.

**How it shows up.** A bank uses a model to read handwritten cheque amounts. An attacker with write access to the model registry, or to the artefact store behind it, swaps in weights that read one digit as another, then presents forged cheques that the model processes as valid. In a SaaS product the same thing happens when a deployment job pulls "latest" from a registry that too many identities can write to.

**What to do.** Hash and sign model artefacts at training time and verify them before loading. Use a registry with access control, required approvals and an audit trail. Keep reproducible training records so that a model can be rebuilt and compared. Run a regression suite on a canary set before every promotion. The page's other suggestions (regularisation, robust architectures) do not stop someone who can overwrite the weights; signing does. To test: modify a model file in staging and confirm that deployment refuses it.

**Related.** [ML07:2023 Transfer Learning Attack](#ml072023-transfer-learning-attack), [ML06:2023 ML Supply Chain Attacks](#ml062023-ml-supply-chain-attacks), [LLM05:2026 Data and Model Poisoning](https://llms-technical-reviews.com/security/owasp-llm-top10-2026/#llm052026-data-and-model-poisoning), [AML.TA0006 Persistence](https://llms-technical-reviews.com/security/mitre-atlas/#amlta0006-persistence) ("Manipulate AI Model").

## What it misses

**Generative AI and agents.** The list predates the LLM-application wave and has not been updated: no prompt injection, no retrieval, no tool use. That is by design, but the 2023 label and the long draft status mean it now covers a narrower slice of "machine learning security" than its title suggests.

**Definitions and scenarios that need work.** ML04's definition describes data manipulation, not membership inference. ML03's main scenario has a face classifier returning addresses and social security numbers, and its second scenario is really evasion or model copying. ML07's description does not say how the malicious base model reaches the victim. ML10's scenario mixes in training-data changes, which belong to ML02. ML01's network scenario includes proxies and encryption, which are not attacks on a model.

**Overlaps.** ML02, ML08 and ML10 are all poisoning (training store, feedback loop, weights), and ML07 is poisoning delivered through the supply chain of ML06. A reader could fold these into two entries.

**Scores.** The risk tables are scenario samples, and the scale labels are inconsistent: an exploitability of 4 is "Easy" on one page and "Moderate" on another; a technical score of 5 is "Difficult" for ML01 and "Moderate" for ML06. ML06's page metadata gives exploitability 6 on a 1-5 scale, while its own table says 4.

**Weak controls.** Several prevention lists include advice that does not address the attack (regularisation against weight tampering, differential privacy against a backdoored base model) or that is out of date (treating public package indexes as vetted sources).

**Missing risks.** Model extraction through the inference API is barely covered. Denial of service and runaway inference cost are absent. So are unsafe model serialisation as an attack in its own right (it appears only inside an ML06 scenario), exposed serving infrastructure beyond one scenario, and leakage through training or inference logs.

**Naming and references.** Item 6 is "ML06:2023 ML Supply Chain Attacks" on its own page, but "AI Supply Chain Attacks" in the index and in the file name. Most pages have an empty references section.

## Our take

This is a reasonable first read for application-security people meeting adversarial ML, and a prompt list for threat-modelling classic ML features: fraud scoring, moderation, detection, ranking. It is not the right list for LLM or agent systems; use the [LLM Top 10](https://llms-technical-reviews.com/security/owasp-llm-top10-2026/) and the [Agentic Top 10](https://llms-technical-reviews.com/security/owasp-agentic-top10-2026/) for those. It has been a draft since 2023, with known errors in definitions and scores, so do not quote its risk ratings in a report or build a procurement questionnaire on its codes. For test plans and detection work, map each entry to the techniques and mitigations in [MITRE ATLAS](https://llms-technical-reviews.com/security/mitre-atlas/), which are maintained monthly and backed by case studies.
Attribution: item codes and names are from "OWASP Machine Learning Security Top Ten" by OWASP Machine Learning Security Top 10 project (CC BY-SA 4.0). The review text is ours.