Black-box Adversarial Toolbox (BAT)
A Python Library for Deep Learning Security that focuses on Distributed Black-box attacks.
Installation
pip install blackbox-adversarial-toolbox
Usage (CLI)
Usage: bat [OPTIONS] COMMAND [ARGS]...
The CLI tool for Black-box Adversarial Toolbox (BAT).
Options:
--help Show this message and exit.
Commands:
api Manage Cloud APIs
attack Manage Attacks
example Manage Examples
# List supported Cloud APIs
$ bat api list
# List supported attacks
$ bat attack list
# List examples
$ bat example list
Supported Cloud APIs:
- DeepAPI
- Google Cloud Vision
- Imagga
Supported Attacks
Local Search:
- SimBA Attack (Guo et al., 2019)
- Square Attack (Andriushchenko et al., 2020)
Gradient Estimation:
- Bandits Attack (Ilyas et al., 2019)