Ctf ai ml

From wgpsec/AboutSecurity · View interactive version

Ctf ai ml is an AI agent skill from the GitHub repository wgpsec/AboutSecurity. CTF AI/ML 攻击技术。当挑战涉及 AI 模型攻击、对抗样本生成、模型提取、Prompt 注入/越狱、LoRA 权重操纵、LLM Token 走私、成员推理攻击、训练数据投毒、神经网络分析时使用。覆盖 FGSM/PGD/C&W 对抗攻击、模型反演、模型权重扰动还原、LLM 工具链劫持、上下文窗口操纵等 AI 安全全链路攻防技术

How to use this skill

Skill file

CTF AI/ML Attack Techniques

When to Use

Quick Start

pip install torch transformers numpy scipy Pillow safetensors scikit-learn
file model.*
python3 -c "import torch; m=torch.load('model.pt'); print(type(m), m.keys() if hasattr(m,'keys') else '')"

Decision Tree

  1. Model weight file (.pt/.safetensors) → model-attacks.md
  1. Image classifier to fool → adversarial-ml.md
  1. LLM/chatbot target → llm-attacks.md
  1. Pure math/crypto inside ML → Switch to ctf-crypto
  2. Compiled model binary → Switch to ctf-reverse
  3. Python jail wrapped in chatbot → Switch to ctf-misc

Pivot Signals

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.