#127 · Primary category: Cybersecurity & Decryption Tools
adversarial-attacks-pytorch
PyTorch implementation of adversarial attacks [torchattacks]
Project last updated:06/29/24
GitHub Stars
2.2K
Forks
368
Contributors
19
License
MIT
Why we included this project
Security engineers and ML teams who need to know whether a model breaks under hostile input will get more practical use out of this than a research paper's reference implementation. It wraps the classic attack algorithms, FGSM, PGD, CW, BIM and others, in a single PyTorch-style API, so switching perturbation methods means changing one class instantiation instead of rewriting the attack loop. That is handy when you are stress-testing a deployed classifier or checking how a model behaves under a specific attack budget. Attacks can run targeted or untargeted, multiple methods can be combined into an ensemble, and you can force the model into training or eval mode for edge cases like RNNs. The ability to save and reload generated adversarial examples also makes it easy to keep reproducible test sets for robustness reporting.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
reverse-skill
AI-powered skill router for reverse engineering, authorized penetration testing, and security research, with on-demand toolchain bootstrapping and self-evolving knowledge base.
gitleaks
Find secrets with Gitleaks 🔑
osquery
SQL powered operating system instrumentation, monitoring, and analytics.
NeoPass
Your Essential Exam Companion for the Iamneo Portal & NPTEL Exams Disguised as NeoExamShield bypass
anubis
Weighs the soul of incoming HTTP requests to stop AI crawlers