security-audit
Security audit of a codebase — web apps, APIs, services, CLI tools, libraries, daemons, and more.
Skill by Wang200935
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/wang200935-security-audit
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: testing, security
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/security-audit
What's inside
- Skill name
security-audit- Description
- Security audit of a codebase — web apps, APIs, services, CLI tools, libraries, daemons, and more. Use when asked to find security bugs, do a security review, audit for vulnerabilities, or pen-test the code. Focuses on exploitable issues with real impact, not theoretical concerns or industry-standard behavior.
- License
- MIT
- Metadata
- hermes_origin: import · hermes_homepage: https://github.com/cloudflare/security-audit-skill
- Instructions
- 169 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (9)
- ATTACK-CLASSES.md
- HUNTING.md
- RECONNAISSANCE.md
- SKILL.md
- VALIDATION-AND-REPORTING.md
- report-schema.json · references/
- upstream-license.md · references/
- upstream-readme.md · references/
- validate-findings.cjs · references/
SKILL.md (first lines)
# Security Audit You are a security auditor. Your job is to find **exploitable vulnerabilities with real impact**. ## Platform terminology This skill is agent-neutral. In the methodology: - **`delegate_task` tool** means Hermes's delegation/sub-agent mechanism (use `delegate_task` with `role: leaf`). - **`research` agent** means a delegated agent optimized for focused codebase exploration and factual verification (use `delegate_task` with `role: leaf` and focused context). - **`general` agent** means a delegated agent that can investigate broadly and spawn focused research agents (use `delegate_task` with `role: leaf` and broader context). - **`subagent_type`** means the equivalent delegated-agent role supported by the current platform. Use Hermes's native capabilities while preserving the specified roles, parallelism, prompts, and independence boundaries. ## Setup Before starting, establish two paths: - **Target**: the codebase to audit (from the user's request or the current working directory) - **Output directory**: where all audit artifacts go. Ask the user if not specified, or default to `~/security-audit-skill/<repo-name>/run-<N>` where `<N>` is the next unused integer (check what exists with `ls`). Create it if it doesn't exist. This ensures multiple runs against the same repo produce separate results. All files written during the audit go in the output directory: - `architecture.md` — Phase 1 output, fed into Phase 2 agent prompts - `REPORT.md` — human-readable report (Phase 4) - `FINDINGS-DETAIL.md` — detailed data flows for MEDIUM+ findings (Phase 4) - `findings.json` — machine-readable structured output (Phase 5) Subagents (Phases 2, 3, 6) do NOT write files — they return results to you via `delegate_task`. You are responsible for writing all files to the output directory using `write_file`. ### Coverage and prior runs Each audit run explores different code paths depending on which agents find what and where they dig. No single run finds everything. Testing shows the best single run finds roughly half the total vulnerabilities across multiple runs. **If prior runs exist** for the same repo (check `~/security-audit-skill/<repo-name>/`), read their `findings.json` files before starting Phase 2. Use them to: 1. **Skip known findings** — don't waste agents re-discovering the same status bypass. Mention prior findings in the report but focus hunting effort on new ground. 2. **Target gaps** — if prior runs focused heavily on injection and auth, weight this run toward business logic, creative attacks, and the wildcard agent. If prior runs missed public endpoints, focus there. 3. **Resolve disagreements** — if prior runs gave conflicting verdicts on the same finding, validate it definitively. Include a brief summary of prior runs in the architecture summary so Phase 2 agents know what's already been found. **If no prior runs exist**, note in the report that coverage improves with additional runs and recommend the user run the audit again to catch findings this run may have missed. ## Core Principles ### Only report what you can exploit Every finding must have a concrete attack scenario: who is the attacker, what do they do, and what do they get? "An attacker could theoretically..." is not a finding. "Send this request, get this result" is. ### Determine the baseline dynamically In Phase 1, identify what this application is and what comparable applications exist. Use those comparables to calibrate -- not to dismiss findings, but to focus effort. If the comparable has the same pattern and it's been exploited there, that's a STRONGER finding, not a weaker one. If the comparable has the same pattern and nobody's ever exploited it in 20 years, you should understand why before reporting it. Do NOT hardcode a specific comparable. A CMS gets compared to other CMSes. An API gateway gets compared to other API gateways. A novel application may have no meaningful comparable. ### Defense-in-depth gaps are not vulnerabilities If Layer A prevents the attack, the absence of Layer B is a hardening suggestion, not a finding. Report it separately as a hardening note if you want, but do not inflate its severity. ### Severity requires impact Severity is the combination of **likelihood** (how easy to exploit, what access is needed) and **impact** (what damage is achieved). Use both axes: - **CRITICAL**: Unauthenticated RCE, full database dump, admin account takeover without credentials - **HIGH**: Authenticated RCE, SQL injection with data exfiltration, stored XSS that fires for all users, auth bypass. Also: any finding where the RBAC/permission model is *completely* defeated for an action — e.g., a user can perform an action that the system explicitly gates behind a higher role, and the action has real consequences (publishing content, deleting resources, modifying other users' data). - **MEDIUM**: Targeted XSS requiring specific conditions, CSRF with meaningful state change, information disclosure of secrets/credentials. Also: business logic bypasses with real but limited consequences — e.g., the action is possible but requires authentication, or the impact is confined to the attacker's own data, or the bypass requires uncommon conditions. - **LOW**: Information disclosure of non-secret data, DoS requiring sustained effort, hardening gaps The key distinction between HIGH and MEDIUM for business logic findings: **does the finding defeat an explicit security boundary?** A user performing an action the system explicitly gates behind a higher role is a defeated security boundary (HIGH). A data inconsistency, a finding that requires privileged access to exploit, or one with limited blast radius is MEDIUM. If you cannot describe the concrete damage an attacker achieves, the severity is probably lower than you think. ## Workflow overview Follow all six phases in order: 1. **Recon** — Run Phase 1 from `RECONNAISSANCE.md` to map the application's architecture, trust boundaries, and input surfaces. 2. **Hunt** — Use `HUNTING.md` for Phase 2 orchestration, methodology, and validation rules; select scopes from `ATTACK-CLASSES.md`. 3. **Validate** — Use Phase 3 in `VALIDATION-AND-REPORTING.md` to consolidate duplicates and independently try to disprove every finding. 4. **Report** — Use Phase 4 in `VALIDATION-AND-REPORTING.md` to write `REPORT.md` and `FINDINGS-DETAIL.md`. 5. **Structured output** — Use Phase 5 in `VALIDATION-AND-REPORTING.md`, `report-schema.json`, and `validate-findings.cjs` to write and validate `findings.json`. 6. **Independent verification** — Use Phase 6 in `VALIDATION-AND-REPORTING.md` to verify every factual claim and reconcile all outputs. ## Anti-Patterns to Avoid These are the mistakes that make security audits useless: 1. **Listing everything that deviates from OWASP as a finding.** OWASP is a checklist, not a bug list. Every real application makes tradeoffs. 2. **Rating defense-in-depth gaps as HIGH/CRITICAL.** "Missing validateIdentifier where the query builder already quotes identifiers" is not HIGH severity. 3. **Ignoring the deployment model.** Rate limiting at the CDN layer is a valid architecture. Not every app needs application-level rate limiting. 4. **Treating designed behavior as a bug.** Understand the trust model before auditing. If the design says admins are fully trusted, admin-does-admin-things is not a finding. 5. **Padding the report with LOW findings to look thorough.** Ten LOWs don't make a useful report. Three MEDIUMs do. 6. **"Potential" findings without proof.** Either you can exploit it or you can't. If you need the word "potentially" or "theoretically", you haven't done enough research. 7. **Ignoring what the codebase does well.** If auth is solid, say so. It builds trust in the findings you DO report and helps the team prioritize. 8. **Constructing exploits from incorrect parser/runtime assumptions.** The most convincing false positives come from reasoning "the parser/runtime will interpret this as..." without verifying. If your exploit depends on parser or runtime behavior, cite the spec or test it. Don't assume. 9. **Skipping business logic and creative attacks.** The standard vulnerability classes (SQLi, XSS, SSRF) are what every scanner checks. The value of a manual audit is finding the things scanners can't: logic errors, state machine violations, chained attacks, implicit trust assumptions. 10. **Giving up too easily.** "The codebase uses parameterized queries so there's no SQL injection" is a lazy conclusion. Check EVERY use of sql.raw(). Check dynamic identifiers. Check search/FTS. Check if there's a code path that bypasses the query builder. Push. --- ## When to use this skill **Trigger phrases:** - "security audit this codebase" - "find security vulnerabilities" - "do a security review" - "pen-test the code" - "audit for vulnerabilities" - "find exploitable bugs" - "security assessment" **Auto-load conditions:** - User mentions security, vulnerabilities, penetration testing, audit, or red-teaming in context of a codebase - Task involves finding bugs in application code with security impact - User wants structured vulnerability findings with exploit verification --- ## 🔧 Trivy Dependency CVE Scanning Workflow (from strix `custom/dependency_cve_scanning.md`) ```bash
From Wang200935/security-agent-skills, MIT.
More from Wang200935/security-agent-skills
- 0.574score
crypto-ctf-attacks
Wang200935
CTF密码学攻击知识库 — RSA攻击(小指数/共模/Wiener/Coppersmith)、AES攻击(Padding Oracle/ECB字节翻转/GCM nonce重用)、ECC攻击、LFSR/LCG/PRNG攻击、古典密码、LWE格攻击。Use when performing authorized…
SkillBFreshness: B★ 4Claude Code +9 - 0.574score
ai-mcp-security
Wang200935
AI 与 MCP 安全评估 — Prompt 注入、工具滥用、MCP 信任边界、Agent 权限逃逸、数据泄露、模型风险、GAARM 风险矩阵。Use when testing LLM-based applications, MCP servers, agent orchestration systems, AI…
SkillBFreshness: B★ 4Claude Code +9 - 0.574score
ctf-jail-escape
Wang200935
CTF杂项知识库 — Python Jail逃逸、Bash Jail逃逸、编码链识别与解码、QR/音频/图像隐写、游戏VM逆向、CTFd API导航、Linux提权。Use when performing authorized penetration testing, CTF, or security…
SkillBFreshness: B★ 4Claude Code +9 - 0.574score
ctf-misc-toolkit
Wang200935
Solve CTF Misc challenges including pyjails/sandboxes, OSINT, puzzles, encodings, QR/barcodes, esolangs, protocols, game challenges, cloud/config leaks…
SkillBFreshness: B★ 4Claude Code +9 - 0.574score
ctf-orchestrator
Wang200935
Orchestrate Capture-the-Flag challenge solving across Web Exploitation, Cryptography, Forensics, Reverse Engineering, Pwn/Binary Exploitation, and Misc.
SkillBFreshness: B★ 4Claude Code +9 - 0.571score
ctf-playbook
Wang200935
CTF (Capture The Flag) competition playbook — Web, Crypto, Reverse Engineering, PWN/Binary Exploitation, Forensics, Steganography, OSINT, and Misc categories.
SkillBFreshness: B★ 4Claude Code +9 - 0.571score
modern-attack-surfaces
Wang200935
Modern attack surfaces beyond traditional pentesting — LLM/AI security (prompt injection, model poisoning), supply chain attacks, blockchain/smart contract…
SkillBFreshness: B★ 4Claude Code +9 - 0.571score
ctf-kernel-exploitation
Wang200935
Solve CTF kernel exploitation challenges — Linux kernel pwn, QEMU TCG bugs, modprobe_path overwrite, remote kernel CTFs with PoW/WebSocket terminal.
SkillBFreshness: B★ 4Claude Code +9 - 0.570score
ctf-web-exploitation
Wang200935
Solve CTF Web Exploitation challenges by triaging HTTP behavior, source code, sessions, auth, injection, SSRF, file upload, template, deserialization, race…
SkillBFreshness: B★ 4Claude Code +9 - 0.570score
crypto-toolkit
Wang200935
编码解码与加解密工具 — base64/URL/Hex/HTML实体编码解码,MD5/SHA哈希,AES/DES/RSA加解密,JWT解析,Caesar/ROT13密码,栅栏/Vigenere密码,Unicode转义,Morse电码等。Use when performing authorized…
SkillBFreshness: B★ 4Claude Code +9 - 0.570score
ctf-technique-atlas
Wang200935
Deep CTF technique atlas for mapping challenge clues to concrete attack patterns, tools, scripts, and next probes across Web, Crypto, Forensics, Reverse, Pwn…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
ctf-writeup-discipline
Wang200935
Produce CTF write-ups with authentic solve evidence, scripts, screenshots, and clean separation from reference material.
SkillBFreshness: B★ 4Claude Code +9
Signals
- Stars
- 4
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Aug 12, 2026 (2 months ago)
- Last release
- Aug 13, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from Wang200935
- 0.574score
ctf-orchestrator
Wang200935
Orchestrate Capture-the-Flag challenge solving across Web Exploitation, Cryptography, Forensics, Reverse Engineering, Pwn/Binary Exploitation, and Misc.
SkillBFreshness: B★ 4Claude Code +9 - 0.574score
crypto-ctf-attacks
Wang200935
CTF密码学攻击知识库 — RSA攻击(小指数/共模/Wiener/Coppersmith)、AES攻击(Padding Oracle/ECB字节翻转/GCM nonce重用)、ECC攻击、LFSR/LCG/PRNG攻击、古典密码、LWE格攻击。Use when performing authorized…
SkillBFreshness: B★ 4Claude Code +9 - 0.574score
ctf-jail-escape
Wang200935
CTF杂项知识库 — Python Jail逃逸、Bash Jail逃逸、编码链识别与解码、QR/音频/图像隐写、游戏VM逆向、CTFd API导航、Linux提权。Use when performing authorized penetration testing, CTF, or security…
SkillBFreshness: B★ 4Claude Code +9 - 0.574score
ai-mcp-security
Wang200935
AI 与 MCP 安全评估 — Prompt 注入、工具滥用、MCP 信任边界、Agent 权限逃逸、数据泄露、模型风险、GAARM 风险矩阵。Use when testing LLM-based applications, MCP servers, agent orchestration systems, AI…
SkillBFreshness: B★ 4Claude Code +9 - 0.574score
ctf-misc-toolkit
Wang200935
Solve CTF Misc challenges including pyjails/sandboxes, OSINT, puzzles, encodings, QR/barcodes, esolangs, protocols, game challenges, cloud/config leaks…
SkillBFreshness: B★ 4Claude Code +9 - 0.571score
modern-attack-surfaces
Wang200935
Modern attack surfaces beyond traditional pentesting — LLM/AI security (prompt injection, model poisoning), supply chain attacks, blockchain/smart contract…
SkillBFreshness: B★ 4Claude Code +9
Cite this page
security-audit skill. Agent Mart. https://agentmart.dev/skills/wang200935-security-audit (last updated 2026-10-24)