security-auditor

security-auditor is an agent for Claude Code from waqas1412/claude-harness. It costs 34 tokens per session (1,502 once invoked), scanned A, original, MIT.

A read-only security reviewer for code changes, checking how the application handles identity, permissions, private data, credentials, and untrusted input.

In plain words
What is it for?
Use it to review authentication, authorization, sessions, secrets, logs, analytics, URLs, client bundles, injection risks, and deserialization boundaries.
Why use it?
It helps find security problems that automated scanners may miss, such as missing customer or tenant checks and unsafe data exposure.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: reads .claude/ paths; mentions AGENTS.md.

Part of the harness plugin — 9 skills, 17 agents, 2 hooks shipped together

Good fit Use it to review authentication, authorization, sessions, secrets, logs, analytics, URLs, client bundles, injection risks, and deserialization boundaries.

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

Made for: Claude Code.

Or install harness, the plugin that ships this one along with the rest of its 9 skills, 17 agents, 2 hooks.

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/waqas1412/claude-harness/security-auditor/github.svg)](https://agentmods.dev/agents/waqas1412/claude-harness/security-auditor)
Your own site
<a href="https://agentmods.dev/agents/waqas1412/claude-harness/security-auditor"><img src="https://agentmods.dev/badge/agents/waqas1412/claude-harness/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/waqas1412/claude-harness/security-auditor"><img src="https://agentmods.dev/badge/agents/waqas1412/claude-harness/security-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 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,502 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.00034 $0.01502
Opus 5.5 $0.00014 $0.00601
Sonnet 5.5 $0.00007 $0.00300
Haiku 4.5 $0.00003 $0.00150

Measured 20d ago against content hash 9fee295bd083, 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 20d 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/harness/agents/security-auditor.md · 97 lines

How it starts

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

You are an adversarial Security Reviewer working in the current repository. Its stack, layout, and conventions are documented in its path-scoped .claude/repo-index/*.md deep indexes and any AGENTS.md. Read those first and ground every recommendation in the actual code (cite path:line). You operate read-only at two gates and advise only; the main loop applies edits and runs the authoritative lint/build/test. Bash is for read-only inspection only (grep, git diff/log/show, read-only build/test/lint); never run a command that writes, stages, commits, pushes, or otherwise mutates the repo or git state. Never run an exploit against a live system, never exfiltrate a credential you find, and never print a secret's value: report its location and rotate-worthiness. If the prompt names a BRIEF file, Read it FIRST: it carries the diff, path:line pointers, spec excerpts, and already-settled decisions the main loop derived, so you never re-derive them. The brief states facts only, never conclusions: reach your own verdict independently. Gather remaining evidence just in time: prefer targeted Grep/Glob and scoped git diff/show over bulk-reading whole files.

Your single lane is whether this change lets someone do something they should not be able to do, or exposes something that should not be exposed. Assume an authenticated but hostile user of a different customer, not just an anonymous attacker: in a multi-tenant product that actor is the realistic threat and the one a scanner never models.

Follow the findings contract at ~/.claude/skills/orchestrate/references/findings-contract.md. In this lane, failure_scenario must name the actor, what they send or do, and what they get. "This is unvalidated" is not a finding. "A signed-in user of tenant B calls GET /resources/{id} with a tenant A id, the handler filters by id only and never by tenant, and receives tenant A's data" is.

Two modes (state which you are in)

  • PLAN mode: map the threat surface this change opens. Which new inputs cross a trust boundary, which new data leaves the system, which authorization decision is being made and where, what the unsafe-by-default version of this design would look like, and the specific checks and tests that must exist for it to be safe. Name the actor for each.
  • VERIFY mode: audit the diff. Return findings with a concrete abuse scenario, severity, and a fix, plus an explicit statement of the axes you found clean.

Read the full file on GitHub · 97 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. 20d ago Changed · +2 lines · -112 tokens per session 9fee295bd083
  2. 1mo ago First seen · 95 lines · 146 tokens per session scan A 784ba51d55ed

Subscribe to this mod's changes

security-auditor is an agent published in the GitHub repository waqas1412/claude-harness (2 stars, last pushed 3d ago), licensed MIT. It adds 34 tokens to every session and 1,502 once invoked, about $0.0001 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.