Blackbox-adversarial-toolbox

Latest version: v0.1.2

Safety actively analyzes 625140 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.1.0

<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)

0.0.8

Black-box Adversarial Toolbox (BAT)

A python library for Distributed Black-box attacks against Deep Learning API services.

Currently supports:

- [DeepAPI](https://github.com/wuhanstudio/DeepAPI)
- SimBA

Demo Application:

https://share.streamlit.io/wuhanstudio/bat-app

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.