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.4.0.tar.gz (5.6 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.4.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for exploitai-0.4.0.tar.gz
Algorithm Hash digest
SHA256 dafd290ef29db5d3cbc3dbbd566da0fd42164d58b4b5f105bea998b85ec4762a
MD5 884ed57526ec86257d56367fbefef689
BLAKE2b-256 88bc714e4ff1093c592d8dc069e0de322171e196ac939bcb2c3735b8ca5799ec

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for exploitai-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad03c6197b7a800e3ed0e0ffa7157fa7f8c8cc3a73b4f4019b2b501937265dec
MD5 4c11b25f645f4a1a036a929ae4ae4e24
BLAKE2b-256 ba2f07af7ba225757ed4e5fda8b71e7ecce1fdeae0424ece6d85352810d86755

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