symfony-security-auditor — Claude Code skill: how to install
symfony-security-auditor audits Symfony codebases for business logic flaws and authorization bugs. Uses dual-agent LLM analysis to catch issues missed by static scanners.
no license 239 installs ★ 13 updated 2026-10-09
npx skills add reason-machines/security-skills --skill symfony-security-auditor -a claude-codeWhat symfony-security-auditor does
The skill inspects .php and .twig files, mapping controllers and voters across the project. It runs a three-stage audit process: code ingestion, architecture mapping, and an adversarial inspection loop. An attacker agent locates possible exploits, while a skeptical reviewer agent filters out false alarms.
It catches missing #[IsGranted] attributes, IDOR issues, mass assignment via MapRequestPayload, and unsafe Messenger handlers. Results can be emitted directly to the console or exported as JSON, HTML, or SARIF for CI dashboards.
Running the audit requires installing the companion bundle vinceamstoutz/symfony-security-auditor directly into your Symfony project dependencies.
What it helps with
- uncover broken access control and missing #[IsGranted] attributes
- detect business logic bypasses across Symfony controllers
- export security findings into SARIF for GitHub Code Scanning
- inspect firewall configurations and Messenger handlers for leaks
Example prompts for the agent
- Audit my Symfony application for security vulnerabilities
- Run a Symfony security audit and check for missing Voters
- Scan Symfony codebase for broken access control and IDOR
How to install symfony-security-auditor
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill symfony-security-auditor -a claude-code2Manually: put the files in place
~/.claude/skills/symfony-security-auditor/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/symfony-security-auditor/
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill symfony-security-auditor -a codex2Manually: put the files in place
.agents/skills/symfony-security-auditor/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill symfony-security-auditor -a cursor2Manually: put the files in place
.cursor/skills/symfony-security-auditor/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reason-machines/security-skills skills/symfony-security-auditor2Manually: put the files in place
.github/skills/symfony-security-auditor/SKILL.md1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill symfony-security-auditor -a gemini-cli2Platform CLI
gemini skills install https://github.com/reason-machines/security-skills --path skills/symfony-security-auditorManually: put the files in place
.devin/skills/symfony-security-auditor/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill symfony-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 symfony-security-auditor
How do I install symfony-security-auditor in Claude Code?
Run npx skills add reason-machines/security-skills --skill symfony-security-auditor -a claude-code.
What does symfony-security-auditor do?
It performs an AI-driven security review of Symfony applications, pairing an attacker agent with a reviewer agent to locate logic flaws and access issues.
What dependencies are needed in the Symfony project?
You must add vinceamstoutz/symfony-security-auditor via Composer and configure an AI bridge through symfony/ai before running bin/console audit:run.