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.1.tar.gz (10.7 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.1-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for exploitai-0.4.1.tar.gz
Algorithm Hash digest
SHA256 09bfe9fd2d03602f9a9854d2942ae02c24483e5684289fb4cd5491cdc03f6e12
MD5 d9f9833b924cc834d62983b8da8682f7
BLAKE2b-256 0cdb34a1610dc34f1fe7ff12b3c810bba3306385081925102a7f22b6233a1754

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for exploitai-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 586296e43c89c03088a27500b0b65695c72f6b0fa600990380bbcb2c821a30ff
MD5 be8e0dfc0636a4e2c3d2486f7242e8e8
BLAKE2b-256 d4df3fabe6b342c11fd5ad06c2be51fa41688d663edd2af6eb1ed75ef4648343

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