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.1.0.tar.gz (1.9 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.1.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for exploitai-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bf3b9ec6c9f5d82e4eb14a81f1a1f571323f10056e06aeca1189c1d1308becc1
MD5 a81da2de50a48c4e4f228a851c4521cd
BLAKE2b-256 67094690a4b1978763331430a6c98cab0cca3648988715c8423cff17bb7836f2

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for exploitai-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 96a00666c5bc7314b1f37e37dcd9a30251eaff7b577b4c99946c297d6a421cee
MD5 49a3a11842ad3ddc6312790865d4d4b6
BLAKE2b-256 b66e28071be8d0221b8b204cfb4619897d3817cde163a3e28e016c3d0749108c

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