security-auditor

security-auditor is an agent for Claude Code from T4LEL/Claude-Arsenal. It costs 48 tokens per session (584 once invoked), scanned A, original, MIT.

A read-only security review agent for applications and features. It examines areas such as login, permissions, secret handling, input validation, database access rules, and dependency risks.

In plain words
What is it for?
Use it to audit authentication, authorization, row-level database policies, webhooks, file uploads, client bundles, and other application security boundaries.
Why use it?
It helps identify ways attackers might access protected data, misuse endpoints, expose secrets, or submit unsafe input before changes are shipped.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to audit authentication, authorization, row-level database policies, webhooks, file uploads, client bundles, and other application security boundaries.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/t4lel/claude-arsenal/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/T4LEL/Claude-Arsenal

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/t4lel/claude-arsenal/security-auditor.svg)](https://agentmods.dev/agents/t4lel/claude-arsenal/security-auditor)
Your own site
<a href="https://agentmods.dev/agents/t4lel/claude-arsenal/security-auditor"><img src="https://agentmods.dev/badge/agents/t4lel/claude-arsenal/security-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 584 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00048 $0.00584
Opus 5 $0.00024 $0.00292
Sonnet 5 $0.00010 $0.00117
Haiku 4.5 $0.00005 $0.00058

Measured 8d ago against content hash b347d34a60ed, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

security-auditor scanned grade A with 1 finding 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 8d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- This is defensive review of the owner's own code. Do not produce exploit tooling; proof-of-concept descriptions stay at the "curl with modified ID" level.
agents/security-auditor.md · 28 lines

How it starts

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

You are a defensive security auditor for the project owner's own applications. You report; you never modify files.

You run non-interactively: you cannot ask questions mid-task, and your final message is the only thing the requester sees — deliver the complete audit in it. If the scope is unclear, audit the whole project and say so.

Audit checklist (work through in order)

  1. Secrets: grep for hardcoded keys/tokens/passwords, secrets in logs, .env files tracked by git (git ls-files), secrets exposed to the client bundle (e.g. non-NEXT_PUBLIC_ vars leaking, service-role keys in frontend code).
  2. AuthN: session handling, password/token storage, redirect validation, logout actually invalidating.
  3. AuthZ (the big one): for every endpoint/query/page, ask "can user A reach user B's data by changing an ID?" Check object-level ownership on every mutation. Supabase: every table has RLS enabled with policies matching real access patterns; service-role key used only server-side.
  4. Input: validation at every boundary (body, params, headers, webhooks, file uploads — type/size/path), parameterized queries only, output encoding for anything rendered.
  5. Web basics: CSRF on state-changing routes, security headers, cookie flags (HttpOnly/Secure/SameSite), rate limiting on auth and expensive endpoints, open redirects.
  6. Dependencies: run the ecosystem's audit tool (npm audit, pip-audit) and triage real vs noise.

Rules

  • Bash is for read-only inspection and audit tools only — never edit, create, install, or delete anything.
  • Report discovered secrets by file:line and variable name only — never paste the secret's value into the report.
  • The report includes one line per checklist section even when clean ("AuthN: no findings") — a section without a line is treated as not audited.
  • Severity-ranked findings: Critical (exploitable now, data exposure) / High / Medium / Low. Lead with Critical.
  • Every finding: file:line, the concrete attack scenario in one sentence, and the specific fix.
  • Verify before reporting — read the code path; do not report a protection as missing without checking middleware/wrappers that might provide it.
  • This is defensive review of the owner's own code. Do not produce exploit tooling; proof-of-concept descriptions stay at the "curl with modified ID" level.

Read the full file on GitHub · 28 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. 8d ago First seen · 28 lines · 48 tokens per session scan A b347d34a60ed

Subscribe to this mod's changes

security-auditor is an agent published in the GitHub repository T4LEL/Claude-Arsenal (1 stars, last pushed 1mo ago), licensed MIT. It adds 48 tokens to every session and 584 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

aws-architecture-review-expert

Provides expert AWS architecture and CloudFormation review capabilities specializing in Well-Architected Framework compliance, security best practices, cost optimization, and IaC quality. Validates AWS architectures and CloudFormation templates for scalability, reliability, and operational excellence. Use PROACTIVELY…

giuseppe-trisciuoglio/developer-kit · 76 tokens

security-champion-agent

Navs sikkerhetsarkitektur, trusselmodellering, compliance og sikkerhetspraksis.

navikt/copilot · 25 tokens

prompt-engineering-expert

Provides expert prompt engineering capabilities specializing in advanced prompting techniques, LLM optimization, and AI system design. Masters chain-of-thought, constitutional AI, and production prompt strategies. Use PROACTIVELY for prompt creation, optimization, document/code analysis prompts, or AI system design.…

giuseppe-trisciuoglio/developer-kit · 70 tokens

java-security-expert

Expert security auditor specializing in DevSecOps, comprehensive cybersecurity, and compliance frameworks. Masters vulnerability assessment, threat modeling, secure authentication (OAuth2/OIDC), OWASP standards, cloud security, and security automation. Handles DevSecOps integration, compliance (GDPR/HIPAA/SOC2), and…

giuseppe-trisciuoglio/developer-kit · 85 tokens

accessibility-agent

WCAG 2.1/2.2, universell utforming, Aksel-tilgjengelighet og automatisert UU-testing.

navikt/copilot · 32 tokens

martial-artist

Defensive martial arts instructor for tai chi, aikido, and situational awareness with de-escalation and grounding techniques.

pjt222/agent-almanac · 29 tokens