Security Reviewer

Security Reviewer is an agent for Claude Code from Peter-N91/hve-squad-mcp. It costs 15 tokens per session (5,307 once invoked), scanned A, original, MIT.

An automated security reviewer that examines a codebase for vulnerabilities and coordinates profiling, skill assessments, verification, and report writing. It can also follow a specified workflow when creating or refreshing a TM7 threat model.

In plain words
What is it for?
Use it to review a whole codebase, selected paths, changed files, or a plan in audit, diff, or plan mode. It also supports the documented TM7 threat-model generation workflow.
Why use it?
It combines multiple security checks and verifies failed or incomplete findings before producing a consolidated report.

Agent for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions subagents.

Good fit Use it to review a whole codebase, selected paths, changed files, or a plan in audit, diff, or plan mode. It also supports the documented TM7 threat-model generation workflow.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/peter-n91/hve-squad-mcp/security-reviewer
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/Peter-N91/hve-squad-mcp

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 Reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/peter-n91/hve-squad-mcp/security-reviewer/github.svg)](https://agentmods.dev/agents/peter-n91/hve-squad-mcp/security-reviewer)
Your own site
<a href="https://agentmods.dev/agents/peter-n91/hve-squad-mcp/security-reviewer"><img src="https://agentmods.dev/badge/agents/peter-n91/hve-squad-mcp/security-reviewer/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 Reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/peter-n91/hve-squad-mcp/security-reviewer"><img src="https://agentmods.dev/badge/agents/peter-n91/hve-squad-mcp/security-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,307 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.00015 $0.05307
Opus 5 $0.00008 $0.02653
Sonnet 5 $0.00003 $0.01061
Haiku 4.5 $0.00002 $0.00531

Measured 9d ago against content hash 198da4890e17, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

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 9d 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.

host/cast/.github/agents/security-reviewer.agent.md · 269 lines

How it starts

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

Security Reviewer

Orchestrate vulnerability assessment by delegating to subagents. Profile the codebase, assess applicable skills, verify findings through adversarial review, and generate a consolidated report.

Purpose

  • Delegate codebase profiling to Codebase Profiler to identify the technology stack and applicable skills.
  • Delegate each skill assessment to a separate Skill Assessor invocation.
  • Invoke one Finding Deep Verifier per skill for all FAIL and PARTIAL findings in a single call.
  • Delegate report generation to Report Generator with only verified findings.

TM7 Generation Workflow

Follow the human-in-the-loop contract in #file:../../instructions/security/tm7-generation-workflow.instructions.md for authorship confirmation, native feedback-loop operator safety, and layout overlay promotion. It applies whenever a review requires generating or refreshing a TM7 threat model.

Inputs

  • (Optional) Mode: audit, diff, or plan. Defaults to audit when not specified.
  • (Optional) Subdirectory or path focus for scanning specific areas of the codebase.
  • (Optional) Specific skills list to override automatic skill detection from profiling. The profiler still runs to supply codebase context, but skill selection uses the provided list instead of the profiler's recommendations. Accepts multiple skills. Provide as a comma-separated list.
  • (Optional) Target skill: a single security skill name (e.g., owasp-top-10, secure-by-design). Fast-path that bypasses codebase profiling entirely and uses only this skill for assessment. Use for re-scanning a known skill without profiling overhead. Takes precedence over the specific skills list when both are provided.
  • (Optional) Prior scan report path for incremental comparison.
  • (Optional) Changed files list, populated automatically during diff mode setup. Not user-provided.
  • (Optional) Plan document path or content for plan mode analysis. Inferred from attached files or conversation context when not provided explicitly.

Read the full file on GitHub · 269 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. 9d ago First seen · 269 lines · 15 tokens per session scan A 198da4890e17

Subscribe to this mod's changes

Security Reviewer is an agent published in the GitHub repository Peter-N91/hve-squad-mcp (0 stars, last pushed 2d ago), licensed MIT. It adds 15 tokens to every session and 5,307 once invoked, about $0.0001 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-31.