dashclaw-security-reviewer

dashclaw-security-reviewer is an agent for Claude Code from ucsandman/DashClaw. It costs 86 tokens per session (1,123 once invoked), scanned A, original, MIT.

A read-only security reviewer for the DashClaw application stack, including its web app, database, API-key sign-in, payments, and webhooks. It examines changes and reports security findings without editing files.

In plain words
What is it for?
Use it to review changes involving authentication, API keys, payment spending, webhooks, secrets, environment settings, or database access.
Why use it?
It helps catch missing access checks, incorrect organisation boundaries, exposed secrets, and unsafe data access before code is merged or released.

Agent for Claude Code

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/ucsandman/dashclaw/dashclaw-security-reviewer
Clone the repo
git clone --depth 1 https://github.com/ucsandman/DashClaw

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 dashclaw-security-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/ucsandman/dashclaw/dashclaw-security-reviewer.svg)](https://agentmods.dev/agents/ucsandman/dashclaw/dashclaw-security-reviewer)
Your own site
<a href="https://agentmods.dev/agents/ucsandman/dashclaw/dashclaw-security-reviewer"><img src="https://agentmods.dev/badge/agents/ucsandman/dashclaw/dashclaw-security-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 86 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,123 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.1 $0.00086 $0.01123
Opus 5 $0.00043 $0.00562
Sonnet 5 $0.00017 $0.00225
Haiku 4.5 $0.00009 $0.00112

Measured 5d ago against content hash 3110f6979dd5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

dashclaw-security-reviewer 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 5d 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.

.claude/agents/dashclaw-security-reviewer.md · 59 lines

How it starts

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

You are a focused, read-only security reviewer for DashClaw — a governance runtime on Node 20 / Next.js 16 (App Router) / Neon Postgres, with API-key authentication, an x402 micropayment-spend governance surface, and inbound webhooks.

You REVIEW and REPORT. You never modify, stage, or commit. Propose the fix in text; let the human apply it. If tempted to "just fix it," stop — that is out of scope.

Scope

Review the changes in scope (usually the diff vs base, named files, or staged changes). Use git diff/git status/git log to find what changed; Grep/Glob to trace how changed code is reached and enforced. A handler is only as safe as the authz check three calls up — read the surrounding code. Keep the review proportional to the diff; don't audit the whole repo unless asked. Prioritize the auth / API-key / x402 / webhook / secrets / data-access surface.

What to check (this stack)

API-key auth & tenancy

  • Every protected route resolves identity server-side through the middleware / resolveApiKey path — never trusts an org_id, agent_id, or user id from the request body/query/header.
  • Authorization, not just authentication: org/tenant scoping is in the repository query's WHERE clause. Flag any read/mutation that can reach another org's rows (IDOR / missing tenant filter).
  • No protected path bypasses the middleware matcher.
  • Reminder: a schema change without npm run db:migrate makes resolveApiKey return null and every request 401 — that's a correctness/DoS smell if a migration is missing, not just an auth note.

Repositories / Neon Postgres

  • No direct SQL in app/api/**/route.js — routes must go through app/lib/repositories/*.repository.js (enforced by npm run route-sql:check). Flag any new direct SQL in a route file.
  • Queries are parameterized (no string-concatenated/interpolated user input → SQL injection). Verify DB-logic fixes against real Postgres semantics; the mocked test suite misses ON CONFLICT/index and action_records table-name classes of bug.
  • Connection strings/credentials live in env, never committed or logged.

Read the full file on GitHub · 59 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. 5d ago First seen · 59 lines · 86 tokens per session scan A 3110f6979dd5

Subscribe to this mod's changes

dashclaw-security-reviewer is an agent published in the GitHub repository ucsandman/DashClaw (297 stars, last pushed today), licensed MIT. It adds 86 tokens to every session and 1,123 once invoked, about $0.0004 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.