ctf-source-audit

Audits authorized CTF challenge source code to identify exploitable trust boundaries and flag paths.

1|Updated Aug 3, 2026
One-click install
npx skills add https://github.com/hanmujun/hanmujun-agent-public --skill ctf-source-audit-hanmujun
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ctf-source-audit
Source: https://github.com/hanmujun/hanmujun-agent-public/tree/main/.agents/skills/ctf-source-audit
Command: npx skills add https://github.com/hanmujun/hanmujun-agent-public --skill ctf-source-audit-hanmujun

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When a CTF challenge ships source code attachments, manually tracing data flows and trust boundaries is slow and error-prone. This Skill performs a directed audit of challenge-supplied source code to locate exploitable paths leading to the flag. ## Core Features & Use Cases - Trust Boundary Analysis: Identifies where untrusted input crosses into privileged logic within challenge source code. - Flag Path Discovery: Maps data flows that lead to flag exposure, storing exploitation evidence for later use. - Use Case: A web CTF challenge provides its PHP backend source. Use this Skill to audit the code, trace user input into SQL queries or template rendering, and record the evidence needed to build an exploit. ## Quick Start Load the ctf-source-audit skill and audit the source code attachments of the current authorized CTF challenge to find exploitable trust boundaries.

Frequently Asked Questions about ctf-source-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit CTF challenge source code for vulnerabilities?▼

Load this Skill and point it at the challenge's source attachments. It traces untrusted input across trust boundaries, maps data flows toward flag storage, and records exploitation evidence for building a working exploit.

What does a trust boundary analysis look for in CTF challenges?▼

Trust boundary analysis identifies where user-controlled input enters privileged code paths, such as database queries, command execution, template rendering, or deserialization. These crossing points are the most likely exploitation targets in challenge source code.

Does this Skill submit flags automatically after auditing?▼

No. The Skill explicitly saves data flow and exploitation evidence but does not submit flags directly. Flag submission is handled separately by the orchestrating agent after the exploit is validated.

Is auditing CTF challenge source code legal?▼

This Skill is scoped to explicitly authorized CTF competition environments where organizers provide source code for analysis. Auditing systems without authorization is illegal and outside this Skill's intended use.

What are the limitations of static source audit in CTF?▼

Static audit cannot confirm runtime behavior such as race conditions, environment-specific configurations, or remote service interactions. Findings should be validated with dynamic testing against the live challenge instance.