symfony-security-auditor

symfony-security-auditor is an agent for Claude Code from dev-toolings/superpowers-symfony. It costs 60 tokens per session (732 once invoked), scanned A, original, MIT.

A read-only reviewer for Symfony's login, permissions, request protection, and input checks. It examines settings and code, then reports possible security risks without changing files.

In plain words
What is it for?
Use it to review security configuration, permission voters, controllers, forms, API Platform resources, rate limits, CSRF protection, password hashing, and validation.
Why use it?
It helps catch unsafe access rules, weak protection, and authorization mistakes after security-related changes. It also checks advice against the Symfony version in use.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Part of the superpowers-symfony plugin — 44 skills, 13 commands, 7 agents, 1 hook shipped together

Good fit Use it to review security configuration, permission voters, controllers, forms, API Platform resources, rate limits, CSRF protection, password hashing, and validation.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/dev-toolings/superpowers-symfony/symfony-security-auditor
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.

Clone the repo
git clone --depth 1 https://github.com/dev-toolings/superpowers-symfony

Made for: Claude Code.

Or install superpowers-symfony, the plugin that ships this one along with the rest of its 44 skills, 13 commands, 7 agents, 1 hook.

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 symfony-security-auditor

README.md
[![agentmods](https://agentmods.dev/badge/agents/dev-toolings/superpowers-symfony/symfony-security-auditor/github.svg)](https://agentmods.dev/agents/dev-toolings/superpowers-symfony/symfony-security-auditor)
Your own site
<a href="https://agentmods.dev/agents/dev-toolings/superpowers-symfony/symfony-security-auditor"><img src="https://agentmods.dev/badge/agents/dev-toolings/superpowers-symfony/symfony-security-auditor/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for symfony-security-auditor

Your own site · 80×15
<a href="https://agentmods.dev/agents/dev-toolings/superpowers-symfony/symfony-security-auditor"><img src="https://agentmods.dev/badge/agents/dev-toolings/superpowers-symfony/symfony-security-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 732 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original 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.00060 $0.00732
Opus 5.5 $0.00024 $0.00293
Sonnet 5.5 $0.00012 $0.00146
Haiku 4.5 $0.00006 $0.00073

Measured 1mo ago against content hash 6074bfbe492f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

symfony-security-auditor scanned grade A with 0 findings 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 1mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

content/agents/symfony-security-auditor.md · 64 lines

How it starts

The opening of the file, as written. The whole thing — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a Symfony security auditor. You analyze authentication and authorization and report risks. You never modify files.

First steps

  1. Use git diff to scope the audit to recent changes when reviewing a change set; otherwise scan the security surface.
  2. Read config/packages/security.yaml, src/Security/, voters, controllers with #[IsGranted]/denyAccessUnlessGranted, forms, and API Platform resources.
  3. Pin the Symfony version (context/composer.lock) so advice matches (7.4 LTS / 8.x).

Audit checklist

  1. Firewalls — single firewall unless multiple auth systems are justified; lazy: true; dev firewall scoped to profiler/assets.
  2. Access control — access_control order (first match wins); roles start with ROLE_; sensitive routes not left as PUBLIC_ACCESS.
  3. Authorization logic — complex checks live in voters, not inline is_granted("…") expressions or controller ifs. Voters use AccessDecisionManagerInterface (never Security::isGranted() inside a voter).
  4. API Platform — security/securityPostDenormalize/securityPostValidation on operations; collection filtering by user done via state provider/extension, not a security expression; no internal fields exposed implicitly.
  5. Passwords & accounts — auto hasher; login throttling configured; no plaintext anywhere.
  6. Rate limiting — present on auth/sensitive/public-write endpoints; returns 429 + Retry-After.
  7. Input — validation constraints on objects; CSRF on stateful forms; no mass-assignment of unguarded fields.
  8. Secrets — none hard-coded; sensitive data not used in cache keys or logs.

Rules

  • Read-only. Analyze and recommend; never edit. Present fixes as code examples for the user/another agent to apply.
  • Every finding cites file:line.
  • Distinguish a real exploitable issue from a hardening suggestion — don't inflate severity.
  • If uncertain a path is reachable, say so rather than asserting a vulnerability.

Output

Read the full file on GitHub · 64 lines

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. 1mo ago Changed · +8 lines 6074bfbe492f
  2. 1mo ago First seen · 56 lines · 60 tokens per session scan A 0dce22696efe

Subscribe to this mod's changes

symfony-security-auditor is an agent published in the GitHub repository dev-toolings/superpowers-symfony (226 stars, last pushed 15d ago), licensed MIT. It adds 60 tokens to every session and 732 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

reflection-judge

Post-processes reflect candidates — validates that cross-session evidence citations actually exist in normalized task records before proposals or micro-approvals are queued. Returns ACCEPT | DOWNGRADE: | SUPPRESS per observation.

gtapps/claude-code-hermit · 47 tokens

code-formatter

Expert code formatter and linter specialist. Automatically formats code, applies consistent styling, fixes lint errors, and enforces coding standards across multiple languages. Use PROACTIVELY when code needs formatting, lint fixes, or style consistency improvements.

wigtn/wigtn-plugins · 51 tokens

ccf-scope-checker

Use when /ccf:check reviews a finished task and needs its diff compared against the declared scope. Fresh-context SCOPE reviewer run by /ccf:check in parallel with ccf-spec-checker - checks only whether the diff matches the task's declared scope (files outside Files to touch, criteria with no matching change, changes…

naniiluja/ccf · 119 tokens

code-simplifier

Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Applies safe local simplifications (local renames, dead code, unnecessary nesting) directly and proposes structural changes for approval. Focuses on recently modified code unless instructed otherwise; not for…

oprogramadorreal/optimus-claude · 66 tokens

code-reviewer

Use this agent to review pull request diffs for code quality, correctness, security, and best practices. Invoke when a PR is created and needs review before merge. Context: An issue PR has been created targeting the feature branch. assistant: "I'll use the code-reviewer agent to review this PR." Context: A feature PR…

skullninja/coco-workflow · 127 tokens

reviewer

The Reviewer of the aSPARK team. Use in the Review phase (/peer-review) to audit the diff produced by /increment with a staff-engineer eye: plan conformance, correctness, edge cases, error handling, security and test quality. Writes the review report and may fix obvious low-risk issues directly.

a-lottes/aSPARK · 66 tokens