secml: A Python Library for Secure and Explainable Machine Learning
Not on the map. Why?
Abstract (arXiv)
We present textttsecml, an open-source Python library for secure and explainable machine learning. It implements the most popular attacks against machine learning, including test-time evasion attacks to generate adversarial examples against deep neural networks and training-time poisoning attacks against support vector machines and many other algorithms. These attacks enable evaluating the security of learning algorithms and the corresponding defenses under both white-box and black-box threat models. To this end, textttsecml provides built-in functions to compute security evaluation curves, showing how quickly classification performance decreases against increasing adversarial perturbations of the input data. textttsecml also includes explainability methods to help understand why adversarial attacks succeed against a given model, by visualizing the most influential features and training prototypes contributing to each decision. It is distributed under the Apache License 2.0 and hosted at urlhttps://github.com/pralab/secml.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). First posted on arXiv 20 Dec 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 0; 2023: 1; 2024: 3; 2025: 1.
7 papers.
- 2023Adversarial attacks and defenses in explainable artificial intelligence: A surveycited by 47
- 2021The Threat of Offensive AI to Organizationscited by 37
- 2021Indicators of Attack Failure: Debugging and Improving Optimization of Adversarial Examplescited by 23
- 2024Testing autonomous vehicles and AI: perspectives and challenges from cybersecurity, transparency, robustness and fairnesscited by 3
- 2024Combining Machine Learning Defenses without Conflictscited by 2
- 2025Bridging Ethical Principles and Algorithmic Methods: An Alternative Approach for Assessing Trustworthiness in AI Systemscited by 1
- 2024Hyperparameter Tuning Through Pessimistic Bilevel Optimizationcited by 0
- 2025Bridging Ethical Principles and Algorithmic Methods: An Alternative Approach for Assessing Trustworthiness in AI Systems28 Jun 2025
- 2024Hyperparameter Tuning Through Pessimistic Bilevel Optimization4 Dec 2024
- 2024Combining Machine Learning Defenses without Conflicts14 Nov 2024
- 2024Testing autonomous vehicles and AI: perspectives and challenges from cybersecurity, transparency, robustness and fairness21 Feb 2024
- 2023Adversarial attacks and defenses in explainable artificial intelligence: A survey6 Jun 2023
- 2021The Threat of Offensive AI to Organizations30 Jun 2021
- 2021Indicators of Attack Failure: Debugging and Improving Optimization of Adversarial Examples18 Jun 2021