ctf-ai
Use when a CTF challenge centers on AI or LLM security rather than a conventional web, crypto, or reverse-only path.
Skill by SeanDictionary
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/seandictionary-ctf-ai
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data, ml, security, finance
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/ctf-ai
What's inside
- Skill name
ctf-ai- Description
- Use when a CTF challenge centers on AI or LLM security rather than a conventional web, crypto, or reverse-only path. Best for tasks involving chat endpoints or LLM APIs, system prompt extraction, direct or indirect prompt injection, jailbreaks, guardrail or output-filter bypass, AI agent tool abuse, RAG poisoning, data exfiltration through model output, adversarial examples against classifiers, model inversion or membership inference, and local model artifacts such as PyTorch pickles, safetensors, ONNX, GGUF, or Keras files inside a controlled CTF environment.
- License
- GPL-3.0
- Instructions
- 59 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- workflow.md · references/
SKILL.md (first lines)
# CTF AI ## Overview Treat AI challenges as interaction-model exploits. First identify what you are facing (black-box LLM endpoint, agent with tools, local model artifact, or adversarial-ML target), then pick the smallest payload or analysis step that changes the model's behavior decisively, and finally script the reproducible solve path. ## Use This Skill For - Challenge text mentions an LLM bot, chat assistant, AI agent, guardrail, safety filter, or "make the model reveal X" win conditions. - The target is an API endpoint serving a model, or a web UI wrapping one. - Supplied files are model artifacts: `.pt` / `.pth` / `.pkl` / `.ckpt` (pickled), `.safetensors`, `.onnx`, `.gguf`, `.h5`, or exported pipelines. - The task is adversarial ML: craft an input within a perturbation budget to fool a classifier, or recover training data. - The challenge hides a flag inside weights, tokenizer data, embedded prompts, or model metadata. ## Workflow 1. Normalize the target. Capture the endpoint or files, available keys or quotas, the exact win condition (say the flag, leak the system prompt, exfiltrate a secret, misclassify an input, recover data), rate limits, and what the user already tried. Read any existing `steps.md` before new probing so the session inherits prior payloads, leaked fragments, and failed attempts. 2. Fingerprint the interaction model. - Black-box chat: probe for system-prompt leakage, delimiters, tool availability, output filtering. - Agent: enumerate the tool list, note which tools touch flags, files, or network (excessive agency). - Artifact: identify the serialization format and its loading risks before touching anything. - Adversarial ML: determine white-box (gradients available) vs black-box (query budget) and the constraint metric. 3. State one hypothesis. Pick one exploit family: direct prompt injection, indirect injection through retrieved/tool content, system-prompt extraction, output-filter evasion, tool abuse, insecure deserialization, weight stego, or adversarial optimization. 4. Prove with one payload. Run a single decisive attempt that observably changes behavior (a leaked token, an executed tool, a flipped label). Avoid spraying dozens of payloads without recording results. 5. Iterate with a payload log. Keep every attempt as `goal -> payload -> result` in `steps.md`. Reuse encodings, languages, roleplay framings, or multi-turn setups that worked once. 6. Script the solve. Reduce the winning path to a minimal reproducible script (request sequence or artifact-processing code) with the exact prompts and parameters. 7. Contain scratch artifacts. Put response dumps, decoded tensors, trial images, and intermediate payloads under `<challenge>/.cache/`. Keep the final solve script, decisive evidence, `steps.md`, and `wp.md` at the challenge root. ## Guardrails - Work only on authorized CTF, lab, or training endpoints and artifacts. - **Never blindly unpickle untrusted model files.** `.pt` / `.pth` / `.pkl` / `.ckpt` can execute arbitrary code on load. Statically inspect first (`pickletools`, scanning for `__reduce__` and suspicious globals); if loading is unavoidable, do it in a throwaway sandbox (container or disposable VM) and ask the user before running. - Keep API keys, tokens, and platform credentials out of logs and writeups; record only that a saved credential was used. - Respect endpoint rate limits; prefer a few targeted prompts over high-volume fuzzing. - If the challenge is mostly a web wrapper (auth, upload, SSRF around the model), hand the web part to `$ctf-web`. - If the core work becomes reversing a serialization format or custom container, pair with `$ctf-reverse`. - If the challenge is evidence-driven over AI artifacts (memory dumps of inference servers, logs), pair with `$ctf-forensics`. ## Reference Routing - For interaction-model triage, payload families, and artifact analysis details, read [references/workflow.md](references/workflow.md). - Pair with `$ctf-web` when a web surface (session, upload, API auth) guards the model. - Pair with `$ctf-reverse` for model-format reversing, embedded VMs in loaders, or obfuscated pickles. - Pair with `$ctf-forensics` when artifacts and traces dominate over live interaction. ## Output Expectations - Report the interaction model, the suspected exploit family, the minimal proof, and the scripted solve path. - Keep the payload log decision-oriented: attempts that changed the next move, not every 400 response. - Before pausing or ending, append a `steps.md` handoff covering leaked fragments, working payload encodings, remaining quota, and the next recommended action.
From SeanDictionary/ctf-skills, GPL-3.0.
More from SeanDictionary/ctf-skills
- 0.570score
ctf-osint
SeanDictionary
Use when a CTF challenge requires open-source intelligence rather than a local exploit — attribution, timeline reconstruction, public-profile discovery…
SkillAFreshness: AClaude Code +9 - 0.570score
ctf-box
SeanDictionary
Use when pi should autonomously enumerate and solve lab-style box targets such as HackMyVM, Hack The Box, VulnHub, or internal practice machines.
SkillAFreshness: AClaude Code +9 - 0.570score
ctf-crypto
SeanDictionary
Use when a CTF challenge centers on classical ciphers, modern crypto primitives, algebraic weaknesses, encodings that hide a cryptographic structure, weak…
SkillAFreshness: AClaude Code +9 - 0.570score
ctf-forensics
SeanDictionary
Use when a CTF challenge focuses on analyzing artifacts, traces, timelines, and recovered evidence rather than direct exploitation.
SkillAFreshness: AClaude Code +9 - 0.570score
ctf-misc
SeanDictionary
Use when a CTF challenge is intentionally mixed, puzzle-shaped, automation-heavy, or does not cleanly advertise its true category.
SkillAFreshness: AClaude Code +9 - 0.570score
ctf-blockchain
SeanDictionary
Use when a CTF challenge centers on blockchain or smart-contract logic rather than a conventional web or crypto-only path.
SkillAFreshness: AClaude Code +9 - 0.565score
ctf-frp
SeanDictionary
Use when pi needs the local frp package for internal tunneling, reverse proxying, port forwarding, dashboard configuration, or temporary exposure of internal…
SkillAFreshness: AClaude Code +9 - 0.565score
ctf-fscan
SeanDictionary
Use when pi needs the fscan tool for fast host discovery, port scanning, service identification, weak-password-oriented service checks, web title detection…
SkillAFreshness: AClaude Code +9 - 0.565score
ctf-hema-webshell
SeanDictionary
Use when pi needs the 河马 WebShell scanner package for Windows or Linux webshell scanning and cleanup planning on a Web root.
SkillAFreshness: AClaude Code +9 - 0.565score
ctf-awd-watchbird
SeanDictionary
Use when pi needs the local Watchbird AWD PHP WAF package for installation, configuration, response inspection, flag masking, UI control, or AWD traffic…
SkillAFreshness: AClaude Code +9 - 0.565score
ctf-dirsearch
SeanDictionary
Use when pi needs the local dirsearch setup for Web path brute forcing, hidden directory discovery, backup-file hunting, recursive content discovery, or…
SkillAFreshness: AClaude Code +9 - 0.565score
ctf-dshield
SeanDictionary
Use when pi needs the local D盾 package for Windows webshell scanning, server hardening checks, or Web backdoor triage.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 29, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- GPL-3.0
- Repository
- github.com/SeanDictionary/ctf-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from SeanDictionary
- 0.570score
ctf-misc
SeanDictionary
Use when a CTF challenge is intentionally mixed, puzzle-shaped, automation-heavy, or does not cleanly advertise its true category.
SkillAFreshness: AClaude Code +9 - 0.570score
ctf-crypto
SeanDictionary
Use when a CTF challenge centers on classical ciphers, modern crypto primitives, algebraic weaknesses, encodings that hide a cryptographic structure, weak…
SkillAFreshness: AClaude Code +9 - 0.570score
ctf-box
SeanDictionary
Use when pi should autonomously enumerate and solve lab-style box targets such as HackMyVM, Hack The Box, VulnHub, or internal practice machines.
SkillAFreshness: AClaude Code +9 - 0.570score
ctf-blockchain
SeanDictionary
Use when a CTF challenge centers on blockchain or smart-contract logic rather than a conventional web or crypto-only path.
SkillAFreshness: AClaude Code +9 - 0.570score
ctf-forensics
SeanDictionary
Use when a CTF challenge focuses on analyzing artifacts, traces, timelines, and recovered evidence rather than direct exploitation.
SkillAFreshness: AClaude Code +9 - 0.570score
ctf-osint
SeanDictionary
Use when a CTF challenge requires open-source intelligence rather than a local exploit — attribution, timeline reconstruction, public-profile discovery…
SkillAFreshness: AClaude Code +9
Cite this page
ctf-ai skill. Agent Mart. https://agentmart.dev/skills/seandictionary-ctf-ai (last updated 2026-10-24)