Adversarial Attacks Open Source Projects
Browse 68 Adversarial Attacks open source projects, ranked by GitHub stars. Find the most popular Adversarial Attacks tools and libraries.
BishopFox/sliver
Adversary Emulation Framework
Metrics details
| Stars | 11,543 |
Trusted-AI/adversarial-robustness-toolbox
Adversarial Robustness Toolbox (ART) - Python Library for Machine Learning Security - Evasion, Poisoning, Extraction, Inference - Red and Blue Teams
Metrics details
| Stars | 6,116 |
makcedward/nlpaug
Data augmentation for NLP
Metrics details
| Stars | 4,662 |
QData/TextAttack
TextAttack 🐙 is a Python framework for adversarial attacks, data augmentation, and model training in NLP https://textattack.readthedocs.io/en/master/
Metrics details
| Stars | 3,449 |
bethgelab/foolbox
A Python toolbox to create adversarial examples that fool neural networks in PyTorch, TensorFlow, and JAX
Metrics details
| Stars | 2,970 |
microsoft/promptbench
A unified evaluation framework for large language models
Metrics details
| Stars | 2,817 |
Harry24k/adversarial-attacks-pytorch
PyTorch implementation of adversarial attacks [torchattacks]
Metrics details
| Stars | 2,171 |
ThuCCSLab/lm-ssp
A reading list for large models safety, security, and privacy.
Metrics details
| Stars | 2,017 |
thunlp/TAADpapers
Must-read Papers on Textual Adversarial Attack and Defense
Metrics details
| Stars | 1,577 |
advboxes/AdvBox
Advbox is a toolbox to generate adversarial examples that fool neural networks in PaddlePaddle、PyTorch、Caffe2、MxNet、Keras、TensorFlow and Advbox can benchmark the robustness of machine learning models. Advbox give a command line tool to generate adversarial examples with Zero-Coding.
Metrics details
| Stars | 1,406 |
BorealisAI/advertorch
A Toolbox for Adversarial Robustness Research
Metrics details
| Stars | 1,364 |
DSE-MSU/DeepRobust
A pytorch adversarial library for attack and defense methods on images and graphs
Metrics details
| Stars | 1,085 |
shubhomoydas/ad_examples
A collection of anomaly detection methods (iid/point-based, graph and time series) including active learning for anomaly detection/discovery, bayesian rule-mining, description for diversity/explanation/interpretability. Analysis of incorporating label feedback with ensemble and tree-based detectors. Includes adversarial attacks with Graph Convolutional Network.
Metrics details
| Stars | 874 |
safe-graph/graph-adversarial-learning-literature
A curated list of adversarial attacks and defenses papers on graph-structured data.
Metrics details
| Stars | 860 |
thunlp/OpenAttack
An Open-Source Package for Textual Adversarial Attack.
Metrics details
| Stars | 779 |
fra31/auto-attack
Code relative to "Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks"
Metrics details
| Stars | 748 |
MadryLab/photoguard
Raising the Cost of Malicious AI-Powered Image Editing
Metrics details
| Stars | 689 |
hendrycks/natural-adv-examples
A Harder ImageNet Test Set (CVPR 2021)
Metrics details
| Stars | 621 |
jind11/TextFooler
A Model for Natural Language Attack on Text Classification and Inference
Metrics details
| Stars | 530 |
thu-ml/ares
A Python library for adversarial machine learning focusing on benchmarking adversarial robustness.
Metrics details
| Stars | 525 |
deadbits/vigil-llm
⚡ Vigil ⚡ Detect prompt injections, jailbreaks, and other potentially risky Large Language Model (LLM) inputs
Metrics details
| Stars | 491 |
Koukyosyumei/AIJack
Security and Privacy Risk Simulator for Machine Learning (arXiv:2312.17667)
Metrics details
| Stars | 429 |
sarathknv/adversarial-examples-pytorch
Implementation of Papers on Adversarial Examples
Metrics details
| Stars | 396 |
ChandlerBang/awesome-graph-attack-papers
Adversarial attacks and defenses on Graph Neural Networks.
Metrics details
| Stars | 394 |
natanielruiz/disrupting-deepfakes
🔥🔥Defending Against Deepfakes Using Adversarial Attacks on Conditional Image Translation Networks
Metrics details
| Stars | 348 |
hbaniecki/adversarial-explainable-ai
💡 Adversarial attacks on explanations and how to defend them
Metrics details
| Stars | 335 |
ChandlerBang/Pro-GNN
Implementation of the KDD 2020 paper "Graph Structure Learning for Robust Graph Neural Networks"
Metrics details
| Stars | 309 |
ain-soph/trojanzoo
TrojanZoo provides a universal pytorch platform to conduct security researches (especially backdoor attacks/defenses) of image classification in deep learning.
Metrics details
| Stars | 303 |
1Konny/FGSM
Simple pytorch implementation of FGSM and I-FGSM
Metrics details
| Stars | 296 |
VinAIResearch/Anti-DreamBooth
Anti-DreamBooth: Protecting users from personalized text-to-image synthesis (ICCV 2023)
Metrics details
| Stars | 273 |
automorphic-ai/aegis
Self-hardening firewall for large language models
Metrics details
| Stars | 270 |
haofanwang/Awesome-Computer-Vision
Awesome Resources for Advanced Computer Vision Topics
Metrics details
| Stars | 248 |
kabkabm/defensegan
Defense-GAN: Protecting Classifiers Against Adversarial Attacks Using Generative Models (published in ICLR2018)
Metrics details
| Stars | 248 |
HuntDownProject/HEDnsExtractor
A suite for hunting suspicious targets, expose domains and phishing discovery
Metrics details
| Stars | 234 |
ryderling/DEEPSEC
DEEPSEC: A Uniform Platform for Security Analysis of Deep Learning Model
Metrics details
| Stars | 230 |
danielzuegner/nettack
Implementation of the paper "Adversarial Attacks on Neural Networks for Graph Data".
Metrics details
| Stars | 227 |
tao-bai/attack-and-defense-methods
A curated list of papers on adversarial machine learning (adversarial examples and defense methods).
Metrics details
| Stars | 210 |
bosch-aisecurity-aishield/watchtower
AIShield Watchtower: Dive Deep into AI's Secrets! 🔍 Open-source tool by AIShield for AI model insights & vulnerability scans. Secure your AI supply chain today! ⚙️🛡️
Metrics details
| Stars | 203 |
a1600012888/YOPO-You-Only-Propagate-Once
Code for our nips19 paper: You Only Propagate Once: Accelerating Adversarial Training Via Maximal Principle
Metrics details
| Stars | 180 |
ashafahi/free_adv_train
Official TensorFlow Implementation of Adversarial Training for Free! which trains robust models at no extra cost compared to natural training.
Metrics details
| Stars | 177 |
shangtse/robust-physical-attack
Physical adversarial attack for fooling the Faster R-CNN object detector
Metrics details
| Stars | 171 |
max-andr/square-attack
Square Attack: a query-efficient black-box adversarial attack via random search [ECCV 2020]
Metrics details
| Stars | 170 |
jeromerony/adversarial-library
Library containing PyTorch implementations of various adversarial attacks and resources
Metrics details
| Stars | 167 |
safreita1/TIGER
Python toolbox to evaluate graph vulnerability and robustness (CIKM 2021)
Metrics details
| Stars | 164 |
PKU-YuanGroup/Hallucination-Attack
Attack to induce LLMs within hallucinations
Metrics details
| Stars | 163 |
Harry24k/PGD-pytorch
A pytorch implementation of "Towards Deep Learning Models Resistant to Adversarial Attacks"
Metrics details
| Stars | 159 |
danielzuegner/gnn-meta-attack
Implementation of the paper "Adversarial Attacks on Graph Neural Networks via Meta Learning".
Metrics details
| Stars | 158 |
safellama/plexiglass
A toolkit for detecting and protecting against vulnerabilities in Large Language Models (LLMs).
Metrics details
| Stars | 153 |
chenhongge/StateAdvDRL
[NeurIPS 2020, Spotlight] Code for "Robust Deep Reinforcement Learning against Adversarial Perturbations on Observations"
Metrics details
| Stars | 145 |
OmidPoursaeed/Generative_Adversarial_Perturbations
Generative Adversarial Perturbations (CVPR 2018)
Metrics details
| Stars | 138 |
jeromerony/fast_adversarial
Code for the CVPR 2019 article "Decoupling Direction and Norm for Efficient Gradient-Based L2 Adversarial Attacks and Defenses"
Metrics details
| Stars | 137 |
EdisonLeeeee/RS-Adversarial-Learning
A curated collection of adversarial attack and defense on recommender systems.
Metrics details
| Stars | 137 |
git-disl/TOG
Real-time object detection is one of the key applications of deep neural networks (DNNs) for real-world mission-critical systems. While DNN-powered object detection systems celebrate many life-enriching opportunities, they also open doors for misuse and abuse. This project presents a suite of adversarial objectness gradient attacks, coined as TOG, which can cause the state-of-the-art deep object detection networks to suffer from untargeted random attacks or even targeted attacks with three types of specificity: (1) object-vanishing, (2) object-fabrication, and (3) object-mislabeling. Apart from tailoring an adversarial perturbation for each input image, we further demonstrate TOG as a universal attack, which trains a single adversarial perturbation that can be generalized to effectively craft an unseen input with a negligible attack time cost. Also, we apply TOG as an adversarial patch attack, a form of physical attacks, showing its ability to optimize a visually confined patch filled with malicious patterns, deceiving well-trained object detectors to misbehave purposefully.
Metrics details
| Stars | 134 |
nebula-beta/awesome-adversarial-deep-learning
A list of awesome resources for adversarial attack and defense method in deep learning
Metrics details
| Stars | 132 |
declare-lab/dialogue-understanding
This repository contains PyTorch implementation for the baseline models from the paper Utterance-level Dialogue Understanding: An Empirical Study
Metrics details
| Stars | 128 |
ruoxi-jia-group/Narcissus
The official implementation of the CCS'23 paper, Narcissus clean-label backdoor attack -- only takes THREE images to poison a face recognition dataset in a clean-label way and achieves a 99.89% attack success rate.
Metrics details
| Stars | 128 |
gmh14/RobNets
[CVPR 2020] When NAS Meets Robustness: In Search of Robust Architectures against Adversarial Attacks
Metrics details
| Stars | 126 |
idrl-lab/Adversarial-Attacks-on-Object-Detectors-Paperlist
A Paperlist of Adversarial Attack on Object Detection
Metrics details
| Stars | 126 |
vita-epfl/s-attack
[CVPR 2025] Official implementation of three papers "Certified Human Trajectory Prediction", "Vehicle trajectory prediction works, but not everywhere", and "Are socially-aware trajectory prediction models really socially-aware?".
Metrics details
| Stars | 123 |
zqzqz/AdvTrajectoryPrediction
Implementation of CVPR 2022 paper "On Adversarial Robustness of Trajectory Prediction for Autonomous Vehicles" https://arxiv.org/abs/2201.05057
Metrics details
| Stars | 122 |
