A red-team AI security framework with adversarial attack modules
Project description
🛡️ AI Security Toolkit
A red-team framework for testing the vulnerabilities of AI models through adversarial attacks, privacy leakage, and model exploitation techniques — built and maintained by @rishit03.
🚀 Features
✅ 5+ attack modules
✅ Unified logging and visualization
✅ Command-line interface (interactive menu)
✅ Modular, reusable, and pip-installable
✅ Built using TensorFlow, CleverHans, and Python's best practices
📦 Modules Included
| Module Name | Description |
|---|---|
| 🔓 Adversarial Attack (FGSM) | Confuses the model with small pixel changes |
| 💉 Label Flip Poisoning | Modifies training labels to reduce model accuracy |
| 🧠 Membership Inference Attack | Infers if a data point was used in training |
| 🪞 Model Inversion | Reconstructs training images from the model |
| 🧬 Model Stealing | Clones the target model using black-box queries |
| 🎯 Backdoor Trigger Attack | Embeds a hidden trigger that forces misclassification |
💻 CLI Usage
# After pip install or cloning locally
python ai_toolkit/run.py
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ai_security_toolkit-1.0.0.tar.gz.
File metadata
- Download URL: ai_security_toolkit-1.0.0.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7dd85750c922bb1e32ad0cd6a96f28e8df469e22bbbf23a28dbb34f184538c3c
|
|
| MD5 |
4c02cf8e14572ac442a2d93c96890e9f
|
|
| BLAKE2b-256 |
66e8a8fb943a4c00e742a787d06ec4524e7b8cce9fe4eb5514d2eccd71aad7f9
|
File details
Details for the file ai_security_toolkit-1.0.0-py3-none-any.whl.
File metadata
- Download URL: ai_security_toolkit-1.0.0-py3-none-any.whl
- Upload date:
- Size: 14.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7be93eaf8597d7e2dcefaa18f677ba87dfd26077cf62c96ccea994b26a393a0a
|
|
| MD5 |
b6f25e2152a9ed2fa9617df391b363fb
|
|
| BLAKE2b-256 |
3cdf9f1cd78ee136b7533f9b65a355511d57deba67324088abbcd20a8fee79ee
|