security-auditor

security-auditor is an agent for coding agents 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

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.

agentmods
npx agentmods add agents/alirezarezvani/claude-code-tresor/security-auditor
Clone the repo
git clone --depth 1 https://github.com/alirezarezvani/claude-code-tresor

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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00032 $0.04930
Opus 5 $0.00016 $0.02465
Sonnet 5 $0.00006 $0.00986
Haiku 4.5 $0.00003 $0.00493

Measured 4d ago against content hash 3ff9137bd368, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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. 4d 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 (768 stars, last pushed 2mo ago), licensed MIT. It adds 32 tokens to every session and 4,930 once invoked, about $0.0002 per session on Opus 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

Other agents, from other repositories

go-systems-engineer

Go services with strict concurrency discipline and observability.

hoangsonww/Forge-Agentic-Coding-CLI · 16 tokens

code-reviewer

Reviews Forge TypeScript changes for correctness, security, sandbox/permission coverage, state-machine integrity, and test adequacy. Invoke for any non-trivial diff before merge.

hoangsonww/Forge-Agentic-Coding-CLI · 38 tokens

skill-refiner

Meta-skill agent. Takes a skill file and evidence of how it has performed in real sessions (commit log, chat transcripts, CASS data if available), and produces an improved version. Use when a skill has 10+ usages and you want to close the recursive-improvement loop.

hoangsonww/Forge-Agentic-Coding-CLI · 62 tokens

bead-polisher

Polishes .beads/beads.jsonl in isolated context. Runs the full polish loop (self-containment, dependencies, test obligations, coverage vs plan, duplicates, Forge invariants) and returns a focused report. Use when you want to burn a polish round without filling the main conversation.

hoangsonww/Forge-Agentic-Coding-CLI · 64 tokens

plan-synthesizer

Reads multiple competing markdown plans from .flywheel/plans/ and synthesizes a best-of-all-worlds hybrid. Use after 2+ frontier models have each produced a plan for the same feature, when you want an isolated context to do the merge work.

hoangsonww/Forge-Agentic-Coding-CLI · 58 tokens

devops-engineer

Docker, Kubernetes, Terraform, CI pipelines — infrastructure code changes.

hoangsonww/Forge-Agentic-Coding-CLI · 18 tokens