trailofbits/awesome-ml-security

170

19 commits

updated Feb 6, 2026

See the code

README

Awesome-ML-Security

A curated list of awesome machine learning security references, guidance, tools, and more.

Table of Contents

Relevant work, standards, literature

CIA of the model

Membership attacks, model inversion attacks, model extraction, adversarial perturbation, prompt injections, etc.

Confidentiality

Reconstruction (model inversion; attribute inference; gradient and information leakage), theft of data, Membership inference and reidentification of data, Model extraction (model theft), property inference (leakage of dataset properties), etc.

Integrity

Backdoors/neural trojans (same as for non-ML systems), adversarial evasion (perturbation of an input to evade a certain classification or output), data poisoning and ordering (providing malicious data or changing the order of the data flow into an ML model).

Availability

Degraded model performance

ML-Ops

AI’s effect on attacks/security elsewhere

Self-driving cars

LLM Alignment

Regulatory actions

US

EU

Other

Safety standards

  • Toward Comprehensive Risk Assessments and Assurance of AI-Based Systems
  • ISO/IEC 42001 — Artificial intelligence — Management system
  • ISO/IEC 22989 — Artificial intelligence — Concepts and terminology
  • ISO/IEC 38507 — Governance of IT — Governance implications of the use of artificial intelligence by organizations
  • ISO/IEC 23894 — Artificial Intelligence — Guidance on Risk Management
  • ANSI/UL 4600 Standard for Safety for the Evaluation of Autonomous Products — addresses fully autonomous systems that move such as self-driving cars, and other vehicles including lightweight unmanned aerial vehicles (UAVs). Includes safety case construction, risk analysis, design process, verification and validation, tool qualification, data integrity, human-machine interaction, metrics and conformance assessment.
  • High-Level Expert Group on AI in European Commission — Ethics Guidelines for Trustworthy Artificial Intelligence

Taxonomies and frameworks

Security tools and techniques

API probing

  • PrivacyRaven: runs different privacy attacks against ML models; the tool only runs black-box label-only attacks
  • Counterfit: runs different adversarial ML attacks against ML models
  • Garak

Model backdoors

  • Fickling: a decompiler, static analyzer, and bytecode rewriter for Python pickle files; injects backdoors into ML model files
  • Semgrep rules for ML

Other

Background information

DeepFakes, disinformation, and abuse

Notable incidents

Notable harms

IncidentTypeLoss
Google Photos GorillasAlgorithmic biasReputational
Uber hits a pedestrianModel failure
Facebook mistranslation leads to arrestAlgorithmic bias
machine-learning

Contributors

dguido

8 commits

suhacker1

6 commits

taylordelo

2 commits

alkaet

1 commits

trailofbits/awesome-ml-security

170

19 commits

updated Feb 6, 2026

See the code

README

Awesome-ML-Security

A curated list of awesome machine learning security references, guidance, tools, and more.

Table of Contents

Relevant work, standards, literature

CIA of the model

Membership attacks, model inversion attacks, model extraction, adversarial perturbation, prompt injections, etc.

Confidentiality

Reconstruction (model inversion; attribute inference; gradient and information leakage), theft of data, Membership inference and reidentification of data, Model extraction (model theft), property inference (leakage of dataset properties), etc.

Integrity

Backdoors/neural trojans (same as for non-ML systems), adversarial evasion (perturbation of an input to evade a certain classification or output), data poisoning and ordering (providing malicious data or changing the order of the data flow into an ML model).

Availability

Degraded model performance

ML-Ops

AI’s effect on attacks/security elsewhere

Self-driving cars

LLM Alignment

Regulatory actions

US

EU

Other

Safety standards

  • Toward Comprehensive Risk Assessments and Assurance of AI-Based Systems
  • ISO/IEC 42001 — Artificial intelligence — Management system
  • ISO/IEC 22989 — Artificial intelligence — Concepts and terminology
  • ISO/IEC 38507 — Governance of IT — Governance implications of the use of artificial intelligence by organizations
  • ISO/IEC 23894 — Artificial Intelligence — Guidance on Risk Management
  • ANSI/UL 4600 Standard for Safety for the Evaluation of Autonomous Products — addresses fully autonomous systems that move such as self-driving cars, and other vehicles including lightweight unmanned aerial vehicles (UAVs). Includes safety case construction, risk analysis, design process, verification and validation, tool qualification, data integrity, human-machine interaction, metrics and conformance assessment.
  • High-Level Expert Group on AI in European Commission — Ethics Guidelines for Trustworthy Artificial Intelligence

Taxonomies and frameworks

Security tools and techniques

API probing

  • PrivacyRaven: runs different privacy attacks against ML models; the tool only runs black-box label-only attacks
  • Counterfit: runs different adversarial ML attacks against ML models
  • Garak

Model backdoors

  • Fickling: a decompiler, static analyzer, and bytecode rewriter for Python pickle files; injects backdoors into ML model files
  • Semgrep rules for ML

Other

Background information

DeepFakes, disinformation, and abuse

Notable incidents

Notable harms

IncidentTypeLoss
Google Photos GorillasAlgorithmic biasReputational
Uber hits a pedestrianModel failure
Facebook mistranslation leads to arrestAlgorithmic bias
machine-learning

Contributors

dguido

8 commits

suhacker1

6 commits

taylordelo

2 commits

alkaet

1 commits