cleverhans-lab/cleverhans
A Python library for constructing adversarial attacks and defenses to benchmark machine learning models' robustness.

CleverHans is a dedicated library for adversarial machine learning research that provides reference implementations of attack algorithms (such as FGSM and PGD) and defense mechanisms. It supports multiple deep learning frameworks including JAX, PyTorch, and TensorFlow 2. The library enables researchers to systematically evaluate and benchmark machine learning model vulnerability to adversarial perturbations, serving as a standard benchmarking tool for ML security.