dfyx-code-security-auditor — Claude Code skill: security audit
A white-box code audit skill that traces data flows and checks security weaknesses. Use it for release reviews, OWASP checks, or a deeper project assessment.
npx skills add reason-machines/security-skills --skill dfyx-code-security-auditor -a claude-codeWhat dfyx-code-security-auditor does
dfyx-code-security-auditor reviews Java, Python, Go, PHP, JavaScript/Node.js, C/C++, .NET/C#, Ruby, and Rust code. Its checks cover 10 areas, including injection, authentication, authorization, deserialization, file handling, SSRF, cryptography, configuration, business logic, and dependencies.
The audit moves through five stages: map the project, locate risky patterns, follow data from inputs to sinks, validate attack paths, and produce a remediation report. Quick, standard, and deep modes change the review scope, from critical flaws and dependency CVEs to full coverage with business-logic chains.
Helper scripts rely on packages from requirements.txt, installed with pip install -r requirements.txt. Those scripts will not run without the listed dependencies.
What it helps with
- find SQL, command, and LDAP injection paths
- check authorization controls and IDOR exposure
- trace untrusted data into dangerous sinks
- inspect deserialization and file handling
- scan dependencies for CVEs
Example prompts for the agent
- Run a deep security audit of this project and map any attack chains.
- Review this application for injection, authorization gaps, and unsafe deserialization.
- Check the code against OWASP risks and write a remediation report.
How to install dfyx-code-security-auditor
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill dfyx-code-security-auditor -a claude-code2Manually: put the files in place
~/.claude/skills/dfyx-code-security-auditor/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/dfyx-code-security-auditor/
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill dfyx-code-security-auditor -a codex2Manually: put the files in place
.agents/skills/dfyx-code-security-auditor/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill dfyx-code-security-auditor -a cursor2Manually: put the files in place
.cursor/skills/dfyx-code-security-auditor/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reason-machines/security-skills dfyx-code-security-auditor2Manually: put the files in place
.github/skills/dfyx-code-security-auditor/SKILL.md1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill dfyx-code-security-auditor -a gemini-cli2Platform CLI
gemini skills install https://github.com/reason-machines/security-skills --path skills/dfyx-code-security-auditorManually: put the files in place
.devin/skills/dfyx-code-security-auditor/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill dfyx-code-security-auditor -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about dfyx-code-security-auditor
How do I install dfyx-code-security-auditor in Claude Code?
Run npx skills add reason-machines/security-skills --skill dfyx-code-security-auditor -a claude-code, then use the skill at ~/.claude/skills/dfyx-code-security-auditor/SKILL.md.
What does dfyx-code-security-auditor do?
It performs white-box static analysis, follows data flows, and reviews 10 security dimensions. The result includes findings, attack chains, and suggested fixes.
Which languages does the skill support?
It covers Java, Python, Go, PHP, JavaScript/Node.js, C/C++, .NET/C#, Ruby, and Rust.