adversarial-machine-learning
Guide for adversarial machine learning: adversarial examples, data poisoning, model backdoors, and evasion attacks.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Adversarial Machine Learning
Scope
Use this skill when working on:
- Adversarial examples (perturbations that fool models)
- Data poisoning attacks
- Model backdoors and trojans
- Evasion attacks
- Membership inference and model inversion
Attack Taxonomy
Adversarial Examples
- White-box attacks (full model access)
- Black-box attacks (query-only access)
- Transferability attacks
- Physical-world adversarial examples
- Patch attacks
Poisoning Attacks
- Label flipping
- Clean-label poisoning
- Gradient-matching poisoning
- Backdoor insertion during training
Backdoor Attacks
- Trojan triggers (visual patterns, specific inputs)
- Instruction backdoors (for LLMs)
- Weight-space backdoors
- Supply chain backdoors
Evasion Attacks
- Feature-space evasion
- Problem-space evasion
- Adaptive attacks against defenses
Privacy Attacks
- Membership inference attacks (MIA)
- Model inversion attacks
- Training data extraction
- Model stealing/extraction
Defense Categories
- Adversarial training
- Certified robustness
- Input preprocessing
- Anomaly detection
- Differential privacy
Key Frameworks & Tools
- Adversarial Robustness Toolbox (ART) - IBM
- CleverHans - TensorFlow
- Foolbox - PyTorch/JAX/TensorFlow
- TextAttack - NLP adversarial attacks
- SecML - Secure ML library
Where to Add Links in README
- Adversarial example tools:
AI Security & Attacks → Adversarial Attacks - Poisoning/backdoor research:
AI Security & Attacks → Poisoning & Backdoors - Privacy attacks:
AI Security & Attacks → Privacy & Extraction - Defense libraries:
AI Security Tools & Frameworks → AI Security Libraries - Benchmarks:
Benchmarks & Standards
Notes
Keep additions:
- ML/AI security focused
- Non-duplicated URLs
- Prefer peer-reviewed or well-maintained tools
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-02-03
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!