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.

Share your experience:✍️ Write a Post❓ Ask a Question
1-60 of 68 projects
11,543 stars

BishopFox/sliver

Adversary Emulation Framework

Metrics details
Stars11,543
6,116 stars

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
Stars6,116
4,662 stars

makcedward/nlpaug

Data augmentation for NLP

Metrics details
Stars4,662
3,449 stars

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
Stars3,449
2,970 stars

bethgelab/foolbox

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

Metrics details
Stars2,970
2,817 stars

microsoft/promptbench

A unified evaluation framework for large language models

Metrics details
Stars2,817
2,171 stars

Harry24k/adversarial-attacks-pytorch

PyTorch implementation of adversarial attacks [torchattacks]

Metrics details
Stars2,171
2,017 stars

ThuCCSLab/lm-ssp

A reading list for large models safety, security, and privacy.

Metrics details
Stars2,017
1,577 stars

thunlp/TAADpapers

Must-read Papers on Textual Adversarial Attack and Defense

Metrics details
Stars1,577
1,406 stars

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
Stars1,406
1,364 stars

BorealisAI/advertorch

A Toolbox for Adversarial Robustness Research

Metrics details
Stars1,364
1,085 stars

DSE-MSU/DeepRobust

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

Metrics details
Stars1,085
874 stars

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
Stars874
860 stars

safe-graph/graph-adversarial-learning-literature

A curated list of adversarial attacks and defenses papers on graph-structured data.

Metrics details
Stars860
779 stars

thunlp/OpenAttack

An Open-Source Package for Textual Adversarial Attack.

Metrics details
Stars779
748 stars

fra31/auto-attack

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

Metrics details
Stars748
689 stars

MadryLab/photoguard

Raising the Cost of Malicious AI-Powered Image Editing

Metrics details
Stars689
621 stars

hendrycks/natural-adv-examples

A Harder ImageNet Test Set (CVPR 2021)

Metrics details
Stars621
530 stars

jind11/TextFooler

A Model for Natural Language Attack on Text Classification and Inference

Metrics details
Stars530
525 stars

thu-ml/ares

A Python library for adversarial machine learning focusing on benchmarking adversarial robustness.

Metrics details
Stars525
491 stars

deadbits/vigil-llm

⚡ Vigil ⚡ Detect prompt injections, jailbreaks, and other potentially risky Large Language Model (LLM) inputs

Metrics details
Stars491
429 stars

Koukyosyumei/AIJack

Security and Privacy Risk Simulator for Machine Learning (arXiv:2312.17667)

Metrics details
Stars429
396 stars

sarathknv/adversarial-examples-pytorch

Implementation of Papers on Adversarial Examples

Metrics details
Stars396
394 stars

ChandlerBang/awesome-graph-attack-papers

Adversarial attacks and defenses on Graph Neural Networks.

Metrics details
Stars394
348 stars

natanielruiz/disrupting-deepfakes

🔥🔥Defending Against Deepfakes Using Adversarial Attacks on Conditional Image Translation Networks

Metrics details
Stars348
335 stars

hbaniecki/adversarial-explainable-ai

💡 Adversarial attacks on explanations and how to defend them

Metrics details
Stars335
309 stars

ChandlerBang/Pro-GNN

Implementation of the KDD 2020 paper "Graph Structure Learning for Robust Graph Neural Networks"

Metrics details
Stars309
303 stars

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
Stars303
296 stars

1Konny/FGSM

Simple pytorch implementation of FGSM and I-FGSM

Metrics details
Stars296
273 stars

VinAIResearch/Anti-DreamBooth

Anti-DreamBooth: Protecting users from personalized text-to-image synthesis (ICCV 2023)

Metrics details
Stars273
270 stars

automorphic-ai/aegis

Self-hardening firewall for large language models

Metrics details
Stars270
248 stars

haofanwang/Awesome-Computer-Vision

Awesome Resources for Advanced Computer Vision Topics

Metrics details
Stars248
248 stars

kabkabm/defensegan

Defense-GAN: Protecting Classifiers Against Adversarial Attacks Using Generative Models (published in ICLR2018)

Metrics details
Stars248
234 stars

HuntDownProject/HEDnsExtractor

A suite for hunting suspicious targets, expose domains and phishing discovery

Metrics details
Stars234
230 stars

ryderling/DEEPSEC

DEEPSEC: A Uniform Platform for Security Analysis of Deep Learning Model

Metrics details
Stars230
227 stars

danielzuegner/nettack

Implementation of the paper "Adversarial Attacks on Neural Networks for Graph Data".

Metrics details
Stars227
210 stars

tao-bai/attack-and-defense-methods

A curated list of papers on adversarial machine learning (adversarial examples and defense methods).

Metrics details
Stars210
203 stars

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
Stars203
180 stars

a1600012888/YOPO-You-Only-Propagate-Once

Code for our nips19 paper: You Only Propagate Once: Accelerating Adversarial Training Via Maximal Principle

Metrics details
Stars180
177 stars

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
Stars177
171 stars

shangtse/robust-physical-attack

Physical adversarial attack for fooling the Faster R-CNN object detector

Metrics details
Stars171
170 stars

max-andr/square-attack

Square Attack: a query-efficient black-box adversarial attack via random search [ECCV 2020]

Metrics details
Stars170
167 stars

jeromerony/adversarial-library

Library containing PyTorch implementations of various adversarial attacks and resources

Metrics details
Stars167
164 stars

safreita1/TIGER

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

Metrics details
Stars164
163 stars

PKU-YuanGroup/Hallucination-Attack

Attack to induce LLMs within hallucinations

Metrics details
Stars163
159 stars

Harry24k/PGD-pytorch

A pytorch implementation of "Towards Deep Learning Models Resistant to Adversarial Attacks"

Metrics details
Stars159
158 stars

danielzuegner/gnn-meta-attack

Implementation of the paper "Adversarial Attacks on Graph Neural Networks via Meta Learning".

Metrics details
Stars158
153 stars

safellama/plexiglass

A toolkit for detecting and protecting against vulnerabilities in Large Language Models (LLMs).

Metrics details
Stars153
145 stars

chenhongge/StateAdvDRL

[NeurIPS 2020, Spotlight] Code for "Robust Deep Reinforcement Learning against Adversarial Perturbations on Observations"

Metrics details
Stars145
138 stars

OmidPoursaeed/Generative_Adversarial_Perturbations

Generative Adversarial Perturbations (CVPR 2018)

Metrics details
Stars138
137 stars

jeromerony/fast_adversarial

Code for the CVPR 2019 article "Decoupling Direction and Norm for Efficient Gradient-Based L2 Adversarial Attacks and Defenses"

Metrics details
Stars137
137 stars

EdisonLeeeee/RS-Adversarial-Learning

A curated collection of adversarial attack and defense on recommender systems.

Metrics details
Stars137
134 stars

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
Stars134
132 stars

nebula-beta/awesome-adversarial-deep-learning

A list of awesome resources for adversarial attack and defense method in deep learning

Metrics details
Stars132
128 stars

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
Stars128
128 stars

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
Stars128
126 stars

gmh14/RobNets

[CVPR 2020] When NAS Meets Robustness: In Search of Robust Architectures against Adversarial Attacks

Metrics details
Stars126
126 stars

idrl-lab/Adversarial-Attacks-on-Object-Detectors-Paperlist

A Paperlist of Adversarial Attack on Object Detection

Metrics details
Stars126
123 stars

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
Stars123
122 stars

zqzqz/AdvTrajectoryPrediction

Implementation of CVPR 2022 paper "On Adversarial Robustness of Trajectory Prediction for Autonomous Vehicles" https://arxiv.org/abs/2201.05057

Metrics details
Stars122
1-60 of 68 projects
Get A Weekly Email With Trending Adversarial Attacks Projects
Stay updated on Adversarial Attacks plus related topics you pick below.

Copyright 2018-2026 Awesome Open Source.  All rights reserved.