<img src="https://github.com/wuhanstudio/blackbox-adversarial-toolbox/assets/15157070/77e6510b-02d5-42e1-90a9-7f5abd82eb90" width=50%>
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](https://github.com/wuhanstudio/deepapi)
- Google Cloud Vision
- Imagga
Supported Attacks
Local Search:
- SimBA Attack [(Guo et al., 2019)](https://arxiv.org/abs/1905.07121)
- Square Attack [(Andriushchenko et al., 2020)](https://arxiv.org/abs/1912.00049)
Gradient Estimation:
- Bandits Attack [(Ilyas et al., 2019)](https://arxiv.org/abs/1807.07978)