Skip to main content

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

exploitai-0.3.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

exploitai-0.3.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file exploitai-0.3.0.tar.gz.

File metadata

  • Download URL: exploitai-0.3.0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.11

File hashes

Hashes for exploitai-0.3.0.tar.gz
Algorithm Hash digest
SHA256 13afe18e6651b036e9a6def9e63f494d550748419c77ca7fa1ba19e267ed9e13
MD5 2b66cad9a9271f3c2c52ea41516a3863
BLAKE2b-256 ddf269de734593094b9b4cfc07050a8b633e0c42592de2fe76670cf66dcaab08

See more details on using hashes here.

File details

Details for the file exploitai-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: exploitai-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.11

File hashes

Hashes for exploitai-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7391c5e483df7b43289d02a56d8ac958dce611d42ee21c363b2d721d84105854
MD5 9e3d8a24193792dcbc0f92a647295eb4
BLAKE2b-256 04053dc55c1d0dbd1ab6c3c11e7078ca864b617dae416ac3b80880e2f4d4d128

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page