
Ctf Ai Ml
Catalog of AI and ML attack techniques for CTF challenges, covering weights, adversarial inputs, and LLMs.
- skills.sh installs
- 8.5K
- GitHub stars
- 3.8K
- last updated
- Aug 21, 2026
What it does
- Covers model weight analysis, adversarial examples, LLM attacks, model extraction, and gradient-based techniques for CTF work
- Includes quick-start inspection commands for
.pt, safetensors, HuggingFace, and LoRA adapter files, plus weight-diff comparison - Provides per-technique guidance on FGSM, PGD, C&W, prompt injection, jailbreaking, and membership inference, each pointing to supporting reference files
- Designed for CTF players who should pivot to crypto, reverse engineering, or misc skills when a challenge leaves the ML domain
Install
$ npx -y skills add ljagiello/ctf-skills --skill ctf-ai-ml -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
CTF AI/ML
Quick reference for AI/ML CTF challenges. Each technique has a one-liner here; see supporting files for full details.
Prerequisites
Python packages (all platforms):
pip install torch transformers numpy scipy Pillow safetensors scikit-learn
Linux (apt):
apt install python3-dev
macOS (Homebrew):
brew install python@3
Additional Resources
- model-attacks.md - Model weight perturbation negation, model inversion via gradient descent, neural network encoder collision, LoRA adapter weight merging, model extraction via query API, membership inference attack
- adversarial-ml.md - Adversarial example generation (FGSM, PGD, C&W), adversarial patch generation, evasion attacks on ML classifiers, data poisoning, backdoor detection in neural networks
- llm-attacks.md - Prompt injection (direct/indirect), LLM jailbreaking, token smuggling, context window manipulation, tool use exploitation
When to Pivot
Details
- Repository
- github.com/ljagiello/ctf-skills
- Categories
- Security, AI Agents & LLM Apps
- First seen
- Apr 16, 2026
More from ljagiello/ctf-skills
All 11Similar to Ctf Ai Ml
More Security
ai-ml-securityyaklang/hack-skills3.9K installsAI/ML security playbook covering pickle RCE, adversarial examples, poisoning, model extraction, and privacy attacks.
ai-securityalirezarezvani/claude-skills733 installsSecurity assessment skill that scans AI/ML systems and LLM agents for injection, jailbreak, inversion, and poisoning risk.
ctf-malwareljagiello/ctf-skills9.5K installsQuick-reference playbook for malware and network-traffic techniques in CTF challenges, with pointers to deeper per-topic guides.
ctf-reverseljagiello/ctf-skills11.1K installsReverse engineering playbook for CTF targets, covering compiled, packed, and virtualized code before exploitation.
llm-prompt-injectionyaklang/hack-skills4K installsExpert playbook for testing LLM applications against direct and indirect prompt injection, tool abuse, and data exfiltration.
anthropic-cybersecurity-skillsreason-machines/security-skills1.3K installsStructured library of 754 cybersecurity skills across 26 domains, mapped to five security frameworks for AI agents.