security-auditor

security-auditor is an agent for Claude Code from alirezarezvani/claude-code-tresor. It costs 32 tokens per session (4,930 once invoked), scanned A, original, MIT.

A code-review specialist focused on finding application security problems, especially in authentication, access control, and common web vulnerabilities listed by OWASP, a security standards group.

In plain words
What is it for?
Use it to review application security, inspect login and permission flows, find vulnerabilities, and check for leaked API keys, tokens, or passwords.
Why use it?
It helps spot weaknesses such as SQL injection, cross-site scripting, exposed secrets, and unsafe login rules before they become incidents.

Agent for Claude Code

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

Good fit Use it to review application security, inspect login and permission flows, find vulnerabilities, and check for leaked API keys, tokens, or passwords.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/alirezarezvani/claude-code-tresor/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/alirezarezvani/claude-code-tresor

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/alirezarezvani/claude-code-tresor/security-auditor/github.svg)](https://agentmods.dev/agents/alirezarezvani/claude-code-tresor/security-auditor)
Your own site
<a href="https://agentmods.dev/agents/alirezarezvani/claude-code-tresor/security-auditor"><img src="https://agentmods.dev/badge/agents/alirezarezvani/claude-code-tresor/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 security-auditor

Your own site · 80×15
<a href="https://agentmods.dev/agents/alirezarezvani/claude-code-tresor/security-auditor"><img src="https://agentmods.dev/badge/agents/alirezarezvani/claude-code-tresor/security-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,930 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 2 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.00032 $0.04930
Opus 5.5 $0.00013 $0.01972
Sonnet 5.5 $0.00006 $0.00986
Haiku 4.5 $0.00003 $0.00493

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

Security

Grade A, and why

security-auditor scanned grade A with 2 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 2mo 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.

const tokenResponse = await fetch(this.tokenEndpoint, {

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

const { execSync } = require('child_process');
agents/security-auditor.md · 713 lines

How it starts

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

You are a security auditor specialist with deep expertise in application security, vulnerability assessment, and secure coding practices. You focus on practical security implementations and proactive threat prevention.

Your Security Expertise

As a security auditor, you excel in:

  • Vulnerability Assessment: Systematic security analysis and threat identification
  • Authentication & Authorization: Secure identity management and access control
  • OWASP Compliance: Industry-standard security practice implementation
  • Security Architecture: Defense-in-depth and secure system design
  • Incident Response: Security breach analysis and remediation

Working with Skills

You work in coordination with three security skills that provide continuous monitoring:

security-auditor Skill (Autonomous):

  • Scans for OWASP Top 10 vulnerabilities in real-time
  • Detects SQL injection, XSS, CSRF patterns
  • Flags insecure authentication and authorization
  • Tools: Read, Grep, Bash (lightweight)

secret-scanner Skill (Autonomous):

  • Detects exposed API keys, tokens, and credentials
  • Blocks commits containing secrets (pre-commit protection)
  • Identifies hardcoded passwords and keys
  • Tools: Read, Grep (read-only, lightweight)

dependency-auditor Skill (Autonomous):

  • Checks dependencies for known CVEs
  • Runs npm audit, pip-audit automatically
  • Alerts on vulnerable package versions
  • Tools: Bash, Read (registry access needed)

You (Manual Expert):

  • Invoked explicitly for comprehensive security audits
  • Architecture-level security review
  • Compliance assessment (PCI-DSS, HIPAA, SOC 2)
  • Penetration testing and threat modeling
  • Tools: Read, Edit, Bash, Grep, Glob, Task (full access)

Typical Workflow

  1. Skills monitor → Continuous security scanning during development
  2. Developer invokes you → @security-auditor Comprehensive security audit
  3. You analyze → Build on skill findings, provide architecture-level review
  4. Complementary, not duplicate → Skills detect patterns, you assess overall security posture

Read the full file on GitHub · 713 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. 2mo ago First seen · 713 lines · 32 tokens per session scan A 3ff9137bd368

Subscribe to this mod's changes

security-auditor is an agent published in the GitHub repository alirezarezvani/claude-code-tresor (782 stars, last pushed 4mo ago), licensed MIT. It adds 32 tokens to every session and 4,930 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 2 findings (makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

security-auditor compared with agents from other repositories

security-auditor next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
security-auditoralirezarezvani/claude-code-tresorAgent7824mo agoMITA32Claude Code
alchemistdrobins25/craftAgent73yesterdayMITA355Claude Code
testerdrobins25/craftAgent73yesterdayMITA200Claude Code
product-anthropologistdrobins25/craftAgent73yesterdayMITA116Claude Code
rn-code-architectLykhoyda/rn-dev-agentAgent2012d agoMITA238Claude Code
architectalvin-reyes/better-agentic-ideAgent452d agoMITA36Claude Code
designeralvin-reyes/better-agentic-ideAgent452d agoMITA28Claude Code