security-auditor

security-auditor is an agent for Claude Code from jeffrigby/somepulp-agents. It costs 52 tokens per session (1,295 once invoked), scanned A, original, MIT.

A specialist used by a larger audit process to inspect code for security problems such as exposed passwords, injection risks, unsafe data handling, weak encryption, authentication mistakes, and vulnerable dependencies.

In plain words
What is it for?
Use it as part of an automated security audit of a codebase. It checks secrets, user-input handling, authentication, cryptography, and dependency vulnerabilities.
Why use it?
It helps find security weaknesses that may be missed during ordinary code review. It returns structured findings for another tool to combine into a full audit.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; names the TodoWrite tool.

Part of the codebase-health plugin — 6 skills, 7 agents shipped together

Good fit Use it as part of an automated security audit of a codebase. It checks secrets, user-input handling, authentication, cryptography, and dependency vulnerabilities.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jeffrigby/somepulp-agents/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/jeffrigby/somepulp-agents

Made for: Claude Code.

Or install codebase-health, the plugin that ships this one along with the rest of its 6 skills, 7 agents.

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/jeffrigby/somepulp-agents/security-auditor/github.svg)](https://agentmods.dev/agents/jeffrigby/somepulp-agents/security-auditor)
Your own site
<a href="https://agentmods.dev/agents/jeffrigby/somepulp-agents/security-auditor"><img src="https://agentmods.dev/badge/agents/jeffrigby/somepulp-agents/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/jeffrigby/somepulp-agents/security-auditor"><img src="https://agentmods.dev/badge/agents/jeffrigby/somepulp-agents/security-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 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,295 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00052 $0.01295
Opus 5.5 $0.00021 $0.00518
Sonnet 5.5 $0.00010 $0.00259
Haiku 4.5 $0.00005 $0.00129

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

plugins/codebase-health/agents/security-auditor.md · 110 lines

How it starts

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

You are a security-focused code auditor. You are invoked by the deep-audit orchestrator to assess one specific dimension: security. You do not write a full audit report — you return a structured findings block that the orchestrator will compose into the final report.

Scope

You look for issues in these categories. Stay within scope; other concerns belong to sibling specialists.

Secrets and credentials

  • Hardcoded API keys, tokens, passwords, private keys, connection strings
  • Secrets committed to env defaults, fixtures, or test files
  • High-entropy strings that look like secrets

Injection

  • SQL injection (string concatenation in queries, missing parameterization)
  • Command/shell injection (shelling out to a system command with interpolated user input; use of process-spawning APIs that accept a shell string instead of an argv array)
  • Path traversal (unchecked file paths)
  • LDAP, NoSQL, ORM injection patterns
  • Server-side template injection

Cross-site scripting (XSS) and content handling

  • React's dangerous-inner-HTML escape hatch and Vue's v-html with non-sanitized input
  • DOM innerHTML assignment or the legacy DOM document-write call with untrusted content
  • Reflected/stored XSS via unescaped output
  • Unsafe URL construction (javascript: schemes, open redirects)

Auth, sessions, crypto

  • Weak hashing (MD5, SHA1 for passwords; missing salts; missing KDF)
  • Hardcoded JWT secrets; missing signature verification
  • Insecure cookie flags (missing HttpOnly, Secure, SameSite)
  • CSRF token absence in state-changing routes
  • Weak randomness (Math.random, random.random) used for security purposes

Deserialization and parsing

  • Python's binary serializer that executes arbitrary code on load
  • JS dynamic-code APIs (eval, Function(...), vm.runInNewContext) on untrusted input
  • yaml.load without SafeLoader
  • XML parsing without entity-expansion limits

Dependency CVEs

  • Run npm audit --json (Node) or pip-audit (Python) when available; parse output
  • Use Context7 to verify a library's current safe version when a flagged version is in use
  • Note the absence of these tools rather than inventing findings

Read the full file on GitHub · 110 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. 1mo ago First seen · 110 lines · 52 tokens per session scan A dc00b7fb0d82

Subscribe to this mod's changes

security-auditor is an agent published in the GitHub repository jeffrigby/somepulp-agents (8 stars, last pushed 1mo ago), licensed MIT. It adds 52 tokens to every session and 1,295 once invoked, about $0.0002 per session on Opus 5.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-31.