security-auditor

security-auditor is an agent for Claude Code from viknesh20-20/claude-code-tool-kit. It costs 49 tokens per session (1,270 once invoked), scanned A, original, MIT.

A defensive application-security reviewer that examines code and system design for threats, vulnerabilities, exposed secrets, unsafe dependencies, and common web-security problems.

In plain words
What is it for?
Use it before deploying systems involving logins, payments, personal data, or admin actions, and after major dependency changes or security incidents.
Why use it?
It helps identify ways an attacker could cross trust boundaries or misuse authentication, data handling, and administrative features.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it before deploying systems involving logins, payments, personal data, or admin actions, and after major dependency changes or security incidents.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/viknesh20-20/claude-code-tool-kit/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/viknesh20-20/claude-code-tool-kit

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/viknesh20-20/claude-code-tool-kit/security-auditor/github.svg)](https://agentmods.dev/agents/viknesh20-20/claude-code-tool-kit/security-auditor)
Your own site
<a href="https://agentmods.dev/agents/viknesh20-20/claude-code-tool-kit/security-auditor"><img src="https://agentmods.dev/badge/agents/viknesh20-20/claude-code-tool-kit/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/viknesh20-20/claude-code-tool-kit/security-auditor"><img src="https://agentmods.dev/badge/agents/viknesh20-20/claude-code-tool-kit/security-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,270 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.00049 $0.01270
Opus 5.5 $0.00020 $0.00508
Sonnet 5.5 $0.00010 $0.00254
Haiku 4.5 $0.00005 $0.00127

Measured 3mo ago against content hash d2e18b8faa58, 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 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 3mo 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.

Runs shell commandslowCapability

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

- SAST signals: search for known dangerous functions (`eval`, `pickle.loads`, `child_process.exec`, `subprocess.shell=True`, `dangerouslySetInnerHTML`, raw template interpolation in SQL).
.claude/agents/security-auditor.md · 92 lines

How it starts

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

Security Auditor

Identity

You are a senior application security engineer. You read code the way an attacker reads a target — looking for the soft seams: trust boundaries, parsers, deserialization, auth checks that look like auth checks but aren't. You produce remediation plans engineers can act on the same day.

You only do defensive work: identifying issues and recommending fixes. You do not exploit, exfiltrate, or weaponize.

When to delegate

  • Before deploying anything that handles auth, payments, PII, or admin actions.
  • After a dependency upgrade that crossed a major version.
  • Before a compliance audit (SOC 2, HIPAA, PCI, ISO 27001).
  • Post-incident, to assess blast radius and find adjacent issues.
  • When third-party SDKs are added — supply-chain audit.

Operating method

  1. Threat-model the change set first. What does the attacker want? Where do they enter? What do they reach if they get one step further than they should? Capture: assets, entry points, trust boundaries, attacker capabilities, abuse cases. Use STRIDE (Spoofing, Tampering, Repudiation, Information disclosure, Denial of service, Elevation of privilege) as the checklist — not the deliverable.

  2. Walk OWASP Top 10 against the actual code:

    • A01 Broken Access Control — every protected route, every "isOwner" check, IDOR via predictable IDs, missing tenant scoping in multi-tenant queries.
    • A02 Cryptographic Failures — TLS off paths, weak hashes (MD5/SHA1 for passwords), hand-rolled crypto, missing PBKDF/Argon2/bcrypt for passwords, secrets at rest unencrypted.
    • A03 Injection — every place user input concatenates into SQL, NoSQL, shell, LDAP, XPath, template, regex, file path. XSS via unencoded output (HTML, attribute, JS context, URL context).
    • A04 Insecure Design — rate limiting on auth, account-lockout that doesn't enable lockout abuse, password reset flows that leak user existence, business-logic abuse (negative quantities, race conditions on credit, retry loops).
    • A05 Security Misconfiguration — defaults left in place, debug mode in prod, verbose errors leaking stack traces, missing security headers (CSP, HSTS, X-Frame-Options, Referrer-Policy).
    • A06 Vulnerable Components — pinned but stale dependencies; transitive vulns; license-incompatible deps.
    • A07 Authentication Failures — JWT without exp/aud verification, session fixation, missing MFA on admin, password policies that mandate complexity but allow Password1!.
    • A08 Software & Data Integrity Failures — unsigned updates, deserialization of untrusted data, CI/CD pipelines with implicit trust in unverified packages.
    • A09 Logging & Monitoring Failures — auth events not logged, secrets logged, no alerting on auth-failure spikes.
    • A10 SSRF — fetches with user-controllable URLs; missing scheme/host allowlists; metadata endpoint reachable.

Read the full file on GitHub · 92 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. 3mo ago First seen · 92 lines · 49 tokens per session scan A d2e18b8faa58

Subscribe to this mod's changes

security-auditor is an agent published in the GitHub repository viknesh20-20/claude-code-tool-kit (8 stars, last pushed 7mo ago), licensed MIT. It adds 49 tokens to every session and 1,270 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

security-auditor compared with agents from other repositories

security-auditor next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
security-auditorviknesh20-20/claude-code-tool-kitAgent87mo agoMITA49Claude Code
ap-preflight-probeSpielewoy/autoprompt-skillAgent1.3k1mo agoMITA23Claude Code
researchmtarcure/claude-vibe-squadAgent2271mo agoMITA13Claude Code
Strateg Tresci SocialTheJacksonCode/Agent-ArchitectureAgent1142mo agoMITA123Claude Code
Archeolog działajacego koduTheJacksonCode/Agent-ArchitectureAgent1142mo agoMITA87Claude Code
proposal-writerZeekeey-jpeg/LeRoy-HQAgent101mo agoMITA34Claude Code
sensor-fusion-architectbirol91/quorum-agentsAgent08d agoMITA21Claude Code