ctf-source-audit

ctf-source-audit is a skill for Claude Code, Codex from wgpsec/AboutSecurity. It costs 112 tokens per session (2,336 once invoked), scanned A, original, no licence file.

A source-code auditing guide for capture-the-flag (CTF) challenges, where the vulnerable code is deliberately included in places such as repositories, backups, or environment leaks.

In plain words
What is it for?
It helps audit PHP, Python, Node.js, and Java code for common vulnerability patterns in CTF challenges.
Why use it?
It helps trace attacker-controlled input to dangerous functions and focus on the few intended weaknesses.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/wgpsec/aboutsecurity/ctf-source-audit
Any agent
npx skills add wgpsec/AboutSecurity --skill ctf-source-audit
Clone the repo
git clone --depth 1 https://github.com/wgpsec/AboutSecurity

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ctf-source-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/wgpsec/aboutsecurity/ctf-source-audit.svg)](https://agentmods.dev/skills/wgpsec/aboutsecurity/ctf-source-audit)
Your own site
<a href="https://agentmods.dev/skills/wgpsec/aboutsecurity/ctf-source-audit"><img src="https://agentmods.dev/badge/skills/wgpsec/aboutsecurity/ctf-source-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,336 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00112 $0.02336
Opus 5 $0.00056 $0.01168
Sonnet 5 $0.00022 $0.00467
Haiku 4.5 $0.00011 $0.00234

Measured 3d ago against content hash fdc33168ea9d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

ctf-source-audit scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

| Python | `os.system()` `eval()` `exec()` `subprocess` | `pickle.loads()` `yaml.load()` | `render_template_string()` | `open()` |
skills/ctf/ctf-source-audit/SKILL.md · 231 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 231 lines · 112 tokens per session scan A fdc33168ea9d

Subscribe to this mod's changes

ctf-source-audit is a skill published in the GitHub repository wgpsec/AboutSecurity (1,716 stars, last pushed 6d ago), with no licence file. It adds 112 tokens to every session and 2,336 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

redteam-code-audit-detail-pack

Domain routing and boundary guidance for authorized source code security review, including dangerous function tracing, data-flow analysis, logic flaw detection, and dependency review. Use when a task belongs to the code audit domain and needs scope, evidence, pivot, or exit criteria.

Netw0rkNoob/VulnClaw · 59 tokens

tool-defs-analysis

Read-only audit of MCP definition language across an existing surface — tools, resources, prompts, server instructions. Walks every definition file and checks 16 categories the LLM reads to decide whether and how to call: voice & tense, internal leaks, audience leaks, defaults, recovery hints, field descriptions…

cyanheads/pentest-mcp-server · 177 tokens

code-audit

Use for authorized source-code security review and SAST workflows including Semgrep, CodeQL patterns, dangerous API hunting, and fix verification.

Asaiuta/reverse-workbench-skill · 31 tokens

caveman-review

Ultra-compressed code review comments. Cuts noise from PR feedback while preserving the actionable signal. Each comment is one line: location, problem, fix. Use when user says "review this PR", "code review", "review the diff", "/review", or invokes /caveman-review. Auto-triggers when reviewing pull requests.

Youngmaidainon/Agent-Level-Up · 72 tokens

code-simplifier

Post-session code review and cleanup against a working tree of changes. Analyzes git diff to simplify, consolidate, and align changed code with the existing codebase — modernize syntax, remove unnecessary complexity, consolidate duplicated logic, catch efficiency issues. Use after a substantive working session, or…

cyanheads/pentest-mcp-server · 124 tokens

omh-code-review

This is a Hermes-native code-review workflow skill.

rlaope/oh-my-hermes · 46 tokens