Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Adversarial Attacks Python Packages

Python packages with the GitHub topic adversarial-attacks. Sorted by monthly downloads, with stars and forks.
makcedward
nlpaug

Data augmentation for NLP

98K 5K 470
Trusted-AI
adversarial-robustness-toolbox

Adversarial Robustness Toolbox (ART) - Python Library for Machine Learning Security - Evasion, Poisoning, Extraction, Inference - Red and Blue Teams

19K 6K 1K
bethgelab
foolbox

A Python toolbox to create adversarial examples that fool neural networks in PyTorch, TensorFlow, and JAX

5K 3K 443
HarryK24
torchattacks

PyTorch implementation of adversarial attacks [torchattacks]

4K 2K 369
QData
textattack

TextAttack 🐙 is a Python framework for adversarial attacks, data augmentation, and model training in NLP https://textattack.readthedocs.io/en/master/

4K 3K 461
provael
provael

Provael — red-team open Vision-Language-Action (VLA) robot policies in simulation and report an Attack Success Rate (ASR). Prove it. Prevail.

3K 8 0
BorealisAI
advertorch

A Toolbox for Adversarial Robustness Research

3K 1K 195
Jake-Schoellkopf
aicu-scanner

LLM application security testing framework — prompt injection, multimodal attacks, safety bypass, and indirect injection scanner

1K 3 0
DSE-MSU
deeprobust

A pytorch adversarial library for attack and defense methods on images and graphs

1K 1K 192
zortium
zortium

Adversarial attack test suite for vision-language models

1K 0 0
BILLKISHORE
ai-blackteam

Automated LLM red-teaming framework. 1,028 attack techniques, reasoning-layer attacks, and five compliance scorecards (OWASP, MITRE ATLAS, EU AI Act). Vendor-neutral, GPL-3.0.

926 0 0
fra31
pyautoattack

Code relative to "Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks"

787 754 115
SecAI-Lab
ragdefender

Artifacts for paper "Rescuing the Unpoisoned: Efficient Defense against Knowledge Corruption Attacks on RAG Systems"

768 7 3
Infinitode
deepdefend

DeepDefend is an open-source Python library for adversarial attacks and defenses in deep learning models, enhancing the security and robustness of AI systems.

753 3 0
jeromerony
adv-lib

Library containing PyTorch implementations of various adversarial attacks and resources

651 168 21
sentient-agi
mlprints

A state-of-the-art framework for LLM fingerprinting and adversarial testing

530 3 1
DmitrL-dev
sentinel-llm-security

Free, open tools to learn how AI apps get attacked, test a guard on your own data and check what a security test result can prove. EN/RU academy, Guard Lab, eval-bounds. Live protection: spectorn.ai

503 114 19
dynaroars
neuralsat

A neural network verification tool based on the DPLL(T) SMT Solving algorithm.

498 37 14
spencerwooo
torchattack

A curated list of adversarial attacks in PyTorch, with a focus on transferable black-box attacks

493 72 6
thunlp
openattack

An Open-Source Package for Textual Adversarial Attack.

473 782 126
jaypmorgan
adaptive-neighbourhoods

Python API for generating adapted and unique neighbourhoods for searching for adversarial examples.

458 0 0
safreita1
graph-tiger

Python toolbox to evaluate graph vulnerability and robustness (CIKM 2021)

455 166 30
AINTRUST-AI
aixploit

AI redTeaming Python library

410 10 2
LeoMartinezTAMUK
mcp-strike

Active adversarial security scanner for Model Context Protocol (MCP) servers: runtime attacks, LLM-as-judge, and an adaptive agent.

387 0 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology