AI Model Security Testing Framework for research and education
Project description
ExploitAI
AI Model Security Testing Framework for research and education.
Overview
ExploitAI is a Python library designed to demonstrate and test security vulnerabilities in machine learning models. It focuses on:
- Gradient Inversion Attacks (DLG, iDLG, GIAS)
- Membership Inference Attacks (Shokri et al., variations)
- Model Poisoning Attacks (data poisoning, Byzantine attacks)
Installation
pip install exploitai
Quick Start
import exploitai as ea
# Load a pre-trained model
model = ea.models.load_model("resnet18", pretrained=True)
# Run gradient inversion attack
attack = ea.GradientInversion(method="idlg")
results = attack.run(model, target_gradients)
# Generate security report
ea.generate_report(results, output="security_audit.html")
Purpose
This library is developed for:
- Security Research: Understanding ML model vulnerabilities
- Educational Use: Teaching AI security concepts
- Defensive Testing: Evaluating model robustness
Note: This tool is intended for defensive security research and education only.
Development Status
🚧 Alpha Release - Core framework and basic attacks in development
License
MIT License - see LICENSE file for details.
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 exploitai-0.2.0.tar.gz.
File metadata
- Download URL: exploitai-0.2.0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e370d8f31525aecc8a3892e199978a5acd4832f24f14072a91e28530e6ffa2bf
|
|
| MD5 |
06d7d49e6577fb7ff2c6617737c911da
|
|
| BLAKE2b-256 |
c03db2a902905da41464a3bcfbab25ea581e7f44002bfbcc747d959f130b7f36
|
File details
Details for the file exploitai-0.2.0-py3-none-any.whl.
File metadata
- Download URL: exploitai-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f242ec6f9b436c53026959b8387c6005ae55d553c7d12f600651f47ae9cf15a2
|
|
| MD5 |
013fbc84ddc56df13cbd749417960aa2
|
|
| BLAKE2b-256 |
c714938e00c4719f1fcb1408b329f9581ae20d9d7711922a0de3fd2ab6a07fa7
|