Engineer working on a laptop connected to a device test rig, surrounded by wiring harnesses and test hardware

Firmware vulnerabilities & fixes

OWASP Machine Learning Security Top 10, explained

Last updated:

The OWASP Machine Learning Security Top 10 catalogs ten categories of attacks against deployed machine learning models — from data poisoning to model theft — in its 2023-edition draft (v0.3), a separate OWASP project from the LLM Top 10. Maintained by project leaders Shain Singh, Sagar Bhure and Ben Kereopa-Yorke, the project's own site states its aim is "to deliver an overview of the top 10 security issues of machine learning systems," covering any deployed ML model — not only generative or language models. Two of its ten categories, model theft and input manipulation, have documented real-world demonstrations going back nearly a decade, and NIST's own independent taxonomy converges on the same core attack classes.

This guide draws directly on the OWASP Machine Learning Security Top 10 project's own page, the project's own published list at mltop10.info, NIST's own AI 100-2e2025 publication page, and the original academic paper demonstrating model extraction attacks — each fetched and read for this guide, not paraphrased from a secondary summary.

Key takeaways

  • When the model ships inside the firmware or the companion app, the device owner holds a copy of it, so theft and inversion need no network access at all.
  • Each category page carries a sample risk chart with exploitability, detectability and technical-difficulty ratings on a 1–5 scale.
  • It has been demonstrated, and the research predates the OWASP list by years.
  • Yes, because the runtime that loads the model is ordinary code with ordinary bugs.

What makes the ML Top 10 different from the OWASP LLM Top 10?

Per the OWASP Machine Learning Security Top 10 project's own page, "the primary aim of the OWASP Machine Learning Security Top 10 project is to deliver an overview of the top 10 security issues of machine learning systems." The project's own reference document at mltop10.info identifies itself as the "OWASP Machine Learning Security Top 10 (2023 edition) — Draft release v0.3," maintained by project leaders Shain Singh, Sagar Bhure and Ben Kereopa-Yorke.

That scope is deliberately broader than the separate OWASP Top 10 for LLM Applications project, which targets risks specific to large-language-model applications — prompt injection, insecure output handling, excessive agency in an agent loop. The ML Top 10 instead targets the model layer itself, across any deployed machine learning system: a fraud-detection classifier, a predictive-maintenance regression model running on a factory gateway, a computer-vision model embedded in a camera, or a generative model — the risks in this list apply regardless of whether the model ever produces natural-language text.

What are the ten risk categories?

Per mltop10.info's published 2023-edition list (each code links to its own page there, with a description, a sample risk rating, attack scenarios and a "How to Prevent" section):

Code Category What it means
ML01:2023 Input Manipulation Attack Crafted inputs cause incorrect predictions
ML02:2023 Data Poisoning Attack Corrupting training data to compromise model integrity
ML03:2023 Model Inversion Attack Extracting sensitive information from a trained model
ML04:2023 Membership Inference Attack Determining whether a specific record was used in training
ML05:2023 Model Theft Unauthorized acquisition or replication of a model
ML06:2023 AI Supply Chain Attacks Compromise via vulnerable dependencies or third-party components
ML07:2023 Transfer Learning Attack Exploiting a pre-trained base model to attack systems built on top of it
ML08:2023 Model Skewing Degrading model performance through manipulation or bias injection
ML09:2023 Output Integrity Attack Tampering with model outputs after generation
ML10:2023 Model Poisoning Corrupting the model itself during development or deployment

Which categories change when the model runs on the device?

When the model ships inside the firmware or the companion app, the device owner holds a copy of it, so theft and inversion need no network access at all. The training-side categories stay where they were: they happen in the vendor's pipeline, before the image is built. The table below pairs each category with what changes on a device and the controls OWASP's own category pages list.

Category What changes when the model is on the device Controls named on the OWASP category page
ML01 Input manipulation The attacker controls the physical input: a sticker in front of a camera, a crafted packet into an on-box intrusion detector Adversarial training, robust models, input validation
ML02 Data poisoning Unchanged on the device; the risk sits in the training pipeline and any field data fed back into it Data validation, access control, separate validation set, anomaly detection
ML03 Model inversion Unlimited offline queries against a copied model Access control, input validation, model transparency (logging inputs and outputs)
ML05 Model theft The model file sits in the firmware image or app package Encryption, access control, obfuscation, watermarking, monitoring
ML06 AI supply chain The inference runtime and its libraries ship in the image and need patching like any other component Verify package signatures, keep packages up to date, code review
ML08 Model skewing Devices that send feedback or labels upstream become an input to retraining Verify the authenticity of feedback data, access controls on feedback loops, anomaly detection
ML09 Output integrity The result travels from the device to a cloud dashboard or a controller Signatures and secure hashes on results, TLS, tamper-evident logs
ML10 Model poisoning Over-the-air model updates become a path to swap the parameters Cryptographic protection of parameters and weights

ML04 and ML07 are mostly training-time and data-governance questions; they still apply, but a device team usually inherits them from whoever trained or fine-tuned the model.

How does OWASP rate each category's exploitability?

Each category page carries a sample risk chart with exploitability, detectability and technical-difficulty ratings on a 1–5 scale. OWASP is explicit that "this chart is only a sample based on the scenario below only" and that the real assessment depends on the system, so treat these as a starting point for discussion, not a score.

Code Exploitability Detectability Technical Sample scenario on the page
ML01 5 (Easy) 3 (Moderate) 5 (Difficult) Image classifier fooled by small perturbations; IDS evasion
ML02 3 (Moderate) 2 (Difficult) 4 (Moderate) Spam classifier; network-traffic classifier
ML05 4 (Moderate) 3 (Moderate) 4 (Moderate) Stealing a model from a competitor
ML06 5 (Easy) 5 (Easy) 4 (Moderate) Attack on an ML project in an organization
ML07 5 (Easy) 1 (Difficult) 5 (Difficult) Training a model on a malicious dataset
ML09 5 (Easy) 3 (Moderate) 3 (Moderate) Modification of patient health records

Source: mltop10.info category pages, read 11 November 2026. The low detectability scores for poisoning and transfer-learning attacks are the useful signal for device makers: those failures surface as wrong decisions in the field, not as an alert.

Is model theft (ML05) a theoretical risk, or has it actually been demonstrated?

It has been demonstrated, and the research predates the OWASP list by years. "Stealing Machine Learning Models via Prediction APIs" (Tramèr, Zhang, Juels, Reiter and Ristenpart) showed black-box model extraction attacks: an adversary with no access to a model's parameters or training data can duplicate its functionality purely by querying its public prediction API. The paper validated the technique against logistic regression, neural network and decision tree models, and — critically for anyone relying on a commercial ML API — tested it against two real production services, BigML and Amazon Machine Learning. The attacks worked even when confidence scores were withheld from the API response, meaning a common "defense" (returning only the top predicted label, not the model's certainty) does not by itself stop extraction.

On-device models are easier still. "Mind Your Weight(s)" (Sun, Sun, Lu and Mislove) analysed 46,753 popular apps from US and Chinese app markets, found 1,468 that ship ML models, and reports that 41% of those apps do not protect their models at all, so the models "can be trivially stolen from app packages." Even where apps used protection or encryption, the authors extracted the models from 66% of them with unsophisticated dynamic analysis. The extracted models were mostly commercial ones for face recognition, liveness detection, ID and bank card recognition, and malware detection — the same kinds of models that end up in cameras, access-control readers and gateways.

Can a malicious model file attack the device itself?

Yes, because the runtime that loads the model is ordinary code with ordinary bugs. TensorFlow's own security policy states that models "are expressed as programs that TensorFlow executes" and that "using untrusted models or graphs is equivalent to running untrusted code," and it tells users to sandbox untrusted models. A concrete case is GHSA-98p5-x8x4-c9m5 (CVE-2022-23559): a crafted TFLite model could trigger an integer overflow in embedding lookup, which "in certain scenarios" leads to heap out-of-bounds read or write; it was fixed in TensorFlow 2.5.3, 2.6.3 and 2.7.1.

For a device, that turns ML06 and ML10 into firmware problems: a model update channel that accepts unsigned files is a code-execution path into the inference process, and an outdated runtime in the image carries known CVEs like any other library. Signing model artifacts (see OpenSSF model signing) and listing the runtime in the SBOM close most of that gap.

Does an independent standards body confirm these are real categories, not just one project's opinion?

Yes. NIST's own publication, AI 100-2e2025 ("Adversarial Machine Learning: A Taxonomy and Terminology of Attacks and Mitigations"), independently documents the same underlying attack classes — its publication keywords explicitly include "data poisoning" and "evasion," and NIST's own publication page describes its purpose as providing "a taxonomy of concepts" and defining "terminology in the field of adversarial machine learning," while identifying "current challenges in the life cycle of AI systems" and mitigation approaches. Two independently developed references — a practitioner-maintained OWASP top-10 list and a formal NIST taxonomy — converging on the same core attack categories (poisoning, input manipulation/evasion, extraction-style attacks) indicates these are structural weaknesses in how ML systems get built and deployed, not an idiosyncratic framing from one organization.

Physical-world input manipulation is also documented outside OWASP: "Robust Physical-World Attacks on Deep Learning Models" (Eykholt et al.) used black and white stickers on a real stop sign to cause targeted misclassification in 100% of lab images and 84.8% of video frames captured from a moving vehicle.

What does an ML Top 10 review of a device look like?

Worked example — synthetic, for illustration only. A maker ships an outdoor camera that runs a quantised person-detection model on the device with TFLite, sends "person detected" events to a cloud dashboard, and receives model updates over the air together with firmware. A one-day review against the list could look like this:

# Question for the team Category Finding in this example Action
1 Is the model file readable in the firmware image? ML05 Plain .tflite file in the root filesystem Accept the risk or encrypt at rest and bind the key to the device; record the decision
2 Is the model update signed and checked before load? ML10, ML06 Same signature as the firmware bundle Keep; add a check that a model-only update cannot bypass it
3 Which runtime version ships, and does it have known CVEs? ML06 Runtime listed in the SBOM with its version Match it against vulnerability sources each release
4 Can a physical patch suppress detection? ML01 Untested Add printed adversarial patches to the acceptance test set
5 Are events integrity-protected end to end? ML09 TLS to the cloud, no payload signature Sign events if a downstream system acts on them automatically
6 Do field images flow back into retraining? ML02, ML08 Opt-in upload of flagged clips Authenticate the source and review samples before they join a training set

The output is a short list of decisions, each tied to an ML Top 10 code, which then sits next to the device's normal threat model — for example one built with MITRE EMB3D.

What are the common pitfalls?

  • Treating the list as a score. The 1–5 ratings are samples for one scenario per category, by OWASP's own note; they do not rank your product's risk.
  • Assuming an encrypted model is safe. The mobile-app study above recovered models from 66% of the apps that used protection; decryption has to happen somewhere on the device.
  • Leaving the runtime out of the SBOM. The model file is new, but the CVEs that hit devices usually land in the runtime and its parsers.
  • Signing firmware but not models. A separate model-update path that skips the signature check is an ML10 entry point.
  • Testing only digital adversarial examples. For cameras and sensors, the physical-world results above are the realistic case.
  • Reading the ML list as a substitute for the LLM list. A device that adds a voice or chat assistant needs both, plus prompt-injection controls for AI-enabled IoT devices.

Where should a device team start?

  1. Inventory every deployed ML model and its exposed prediction interface— an internal API, a public endpoint, or an embedded on-device model — before assessing which ML Top 10 categories actually apply; ML05 (model theft) and ML01 (input manipulation) both require the model to be reachable in the first place.
  2. Do not treat withheld confidence scores as a complete defense against extractionThe Tramèr et al. research found extraction attacks succeeded even without confidence scores in the response; the ML05 page itself lists access control, monitoring and auditing of model use, and watermarking as the controls to add.
  3. Track training-data provenance and pipeline integrity(ML02, ML10) the same way you would track a software supply chain, since a poisoned training set or a tampered model artifact is indistinguishable from a correctly trained model until it fails in production.
  4. Fold the model and its runtime into firmware testingThe OWASP firmware security testing methodology already covers extracting and inspecting the filesystem; add "find the model files, check how they are loaded and updated" to that pass.

SoftWSP covers the conventional half of this: it extracts an SBOM from a firmware image as CycloneDX 1.6 JSON, matches the components — including an inference runtime when the extractor identifies it as a package — against NVD, CISA KEV, FIRST EPSS and CISA CSAF ICS advisories, and drafts a cited report for an engineer to review. Model-level testing (adversarial robustness, extraction, inversion) stays with the ML team. See Device & Firmware Security.

This guide summarizes the OWASP Machine Learning Security Top 10 project's own page, its own published list and category pages at mltop10.info, NIST's own AI 100-2e2025 publication page, the TensorFlow security policy and advisory, and the research papers cited above, each read directly for this guide (last checked 11 November 2026). It is not a substitute for the current OWASP or NIST publications or the cited papers themselves, and does not constitute security advice.

Put this guide to work

Frequently asked questions

What is the OWASP Machine Learning Security Top 10, and is it the same as the LLM Top 10?

No — they are two separate OWASP projects covering different attack surfaces. Per the OWASP Machine Learning Security Top 10 project's own page, "the primary aim of the OWASP Machine Learning Security Top 10 project is to deliver an overview of the top 10 security issues of machine learning systems," and the project is maintained by project leaders Shain Singh, Sagar Bhure and Ben Kereopa-Yorke. The project's own reference site, mltop10.info, identifies the current document as the "OWASP Machine Learning Security Top 10 (2023 edition) — Draft release v0.3." The OWASP Top 10 for LLM Applications, by contrast, is a separate OWASP project covering risks specific to large-language-model applications (prompt injection, insecure output handling, excessive agency). The ML Top 10 targets the broader category of deployed machine learning models generally — classifiers, regression models, neural networks — including non-generative ML systems an LLM-focused list does not cover.

What are the ten risk categories, and what does each one mean?

Per mltop10.info, the ten 2023-edition categories are: ML01:2023 Input Manipulation Attack (crafted inputs cause incorrect predictions); ML02:2023 Data Poisoning Attack (corrupting training data to compromise model integrity); ML03:2023 Model Inversion Attack (extracting sensitive information from a trained model); ML04:2023 Membership Inference Attack (determining whether a specific record was used in training); ML05:2023 Model Theft (unauthorized acquisition or replication of a model); ML06:2023 AI Supply Chain Attacks (compromise via vulnerable dependencies or third-party components); ML07:2023 Transfer Learning Attack (exploiting a pre-trained base model to attack systems built on top of it); ML08:2023 Model Skewing (degrading model performance through manipulation or bias injection); ML09:2023 Output Integrity Attack (tampering with model outputs after generation); and ML10:2023 Model Poisoning (corrupting the model itself during development or deployment, distinct from poisoning its training data).

Has model theft (ML05) actually been demonstrated against a real, deployed system?

Yes, and the foundational research predates the OWASP list itself. "Stealing Machine Learning Models via Prediction APIs" (Tramèr, Zhang, Juels, Reiter and Ristenpart) demonstrated black-box model extraction attacks — duplicating a model's functionality purely by querying its public prediction API, with no access to its parameters or training data — against logistic regression, neural network and decision tree models, and validated the technique against two real commercial services, BigML and Amazon Machine Learning. The attack worked even when the APIs withheld confidence scores from their responses, meaning hiding the model's certainty is not by itself a sufficient defense against extraction.

Does any other standards body document the same attack categories independently?

Yes. NIST's own publication AI 100-2e2025, "Adversarial Machine Learning: A Taxonomy and Terminology of Attacks and Mitigations," independently documents the same underlying attack classes — its own publication keywords list includes both "data poisoning" and "evasion," and the publication's stated purpose, per NIST's own publication page, is to "provide a taxonomy of concepts and define terminology in the field of adversarial machine learning" and "identify current challenges in the life cycle of AI systems" together with mitigation approaches. That two independent standards efforts — OWASP's practitioner-oriented top-10 list and NIST's formal taxonomy — converge on the same core categories (poisoning, evasion/input manipulation, extraction-style attacks) is a sign these are recognized, structural weaknesses in how ML systems are built and deployed, not one organization's particular framing.

Sources

  1. OWASP Machine Learning Security Top 10 project (official OWASP project page)
  2. OWASP Machine Learning Security Top 10 (2023 edition, draft release v0.3) — full ML01–ML10 list, mltop10.info
  3. NIST AI 100-2e2025: Adversarial Machine Learning — A Taxonomy and Terminology of Attacks and Mitigations (publication page)
  4. Tramèr, Zhang, Juels, Reiter, Ristenpart: "Stealing Machine Learning Models via Prediction APIs" (arXiv:1609.02943)
  5. OWASP ML Top 10 category pages ML01–ML10 (description, How to Prevent, sample risk factors), mltop10.info
  6. Sun, Sun, Lu, Mislove: "Mind Your Weight(s): A Large-scale Study on Insufficient Machine Learning Model Protection in Mobile Apps" (arXiv:2002.07687)
  7. Eykholt et al.: "Robust Physical-World Attacks on Deep Learning Models" (arXiv:1707.08945)
  8. TensorFlow security policy: "TensorFlow models are programs" (SECURITY.md)
  9. GitHub Advisory GHSA-98p5-x8x4-c9m5 / CVE-2022-23559: integer overflow in TFLite
Was this guide helpful?

In this cluster