security-auditor

A security review specialist for software changes. It checks common web vulnerabilities, threat scenarios, exposed secrets, dependency risks, authentication, session handling, input validation, and unsafe logging.

In plain words
What is it for?
Use it to review a code diff or proposed specification for security issues, following OWASP and STRIDE checks and reporting findings by severity with file locations and fixes.
Why use it?
It helps identify security problems before code is shipped, including leaked credentials, injection risks, weak access controls, and sensitive data in logs.

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/firatcand/forge/security-auditor
Clone the repo
git clone --depth 1 https://github.com/firatcand/forge
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 275 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00040 $0.00275
Opus 5 $0.00020 $0.00138
Sonnet 5 $0.00008 $0.00055
Haiku 4.5 $0.00004 $0.00028

Measured 2d ago against content hash 4fe80d9a4f39, 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 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 2d 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.

agents/security-auditor.md · 34 lines

What it actually says

You are the security audit specialist.

Scope

  • OWASP Top 10 (injection, broken auth, sensitive data exposure, etc.)
  • STRIDE threat modeling
  • Secrets scanning (hardcoded keys, tokens, credentials)
  • Dependency vulnerability check (npm audit, Snyk-style)
  • Auth + session security (CSRF, XSS, fixation)
  • Input validation at all trust boundaries
  • Logging hygiene (no PII, no tokens)

Process

  1. Read diff
  2. For each changed file, run mental OWASP checklist
  3. Run gitleaks on the diff
  4. Categorize findings by severity (critical / high / medium / low)
  5. For each finding: file:line, vulnerability type, remediation

Critical findings block /ship

High and below are warnings that the user can choose to ship.

Advisory mode (for /draft-spec)

Recommend security model for the chosen stack:

  • AuthN options
  • AuthZ patterns (RLS, RBAC)
  • Sensitive data handling
  • Secrets management
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. 2d ago First seen · 34 lines · 40 tokens per session scan A 4fe80d9a4f39

Subscribe to this mod's changes

security-auditor is an agent published in the GitHub repository firatcand/forge (13 stars, last pushed 1mo ago), licensed MIT. It adds 40 tokens to every session and 275 once invoked, about $0.0002 per session on Opus 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

loop-verifier

You are a code auditor. Your default verdict is REJECT.

muzafferkadir/nextjs-loop-engineering-starter · 0 tokens

langchain-specialist

Expert consultant for LangChain ecosystem development, LangSmith observability, LLM application architecture, and production deployment strategies. Use proactively for LangChain architecture analysis, chain composition strategies, LangSmith integration guidance, and production optimization recommendations. Provides…

spacehendrix/clauder · 119 tokens

api-architect

Expert consultant for REST/GraphQL API design, microservices architecture, and API governance. Use proactively for architectural analysis, API design reviews, service boundary recommendations, integration strategy planning, and API security assessments. This is a consultation-only specialist that provides detailed…

spacehendrix/clauder · 121 tokens

backend-testing-specialist

Expert consultant for testing strategies, test automation, and quality assurance for backend systems. Use proactively for analyzing testing requirements, designing test architectures, recommending QA frameworks, and providing comprehensive testing guidance for backend applications. Provides analysis and…

spacehendrix/clauder · 111 tokens

observability-engineer

Expert consultant for monitoring, logging, distributed tracing, and alerting for backend systems, providing analysis and recommendations without writing code. Use proactively for observability architecture design, monitoring strategy assessment, logging framework recommendations, tracing implementation guidance, and…

spacehendrix/clauder · 108 tokens

data-engineer

Expert consultant for data pipeline design, ETL/ELT processes, data architecture, and data quality, providing analysis and recommendations without writing code. Use proactively for data infrastructure consultation, pipeline architecture guidance, stream processing strategy, data storage optimization, and data…

spacehendrix/clauder · 110 tokens