sparc-security-review

sparc-security-review is a command for Claude Code from sethdford/flowx. It costs 20 tokens per session (1,727 once invoked), scanned A, original, MIT.

A structured security review for important business systems. It checks architecture, access controls, software delivery, vulnerabilities, and requirements from standards such as GDPR and SOC 2.

In plain words
What is it for?
Reviewing system designs, permissions, deployment pipelines, infrastructure settings, vulnerability handling, and compliance readiness.
Why use it?
It helps find security weaknesses and missing safeguards before they cause incidents or delay releases. It also gives teams a way to include security checks in development and deployment work.

Command 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 commands/sethdford/flowx/security-review
Clone the repo
git clone --depth 1 https://github.com/sethdford/flowx

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 sparc-security-review

README.md
[![agentmods](https://agentmods.dev/badge/commands/sethdford/flowx/security-review.svg)](https://agentmods.dev/commands/sethdford/flowx/security-review)
Your own site
<a href="https://agentmods.dev/commands/sethdford/flowx/security-review"><img src="https://agentmods.dev/badge/commands/sethdford/flowx/security-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 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,727 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 $0.00020 $0.01727
Opus 5 $0.00010 $0.00864
Sonnet 5 $0.00004 $0.00345
Haiku 4.5 $0.00002 $0.00173

Measured 4d ago against content hash 96002cbb3e33, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

sparc-security-review 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 4d 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.

src/templates/claude-optimized/.claude/commands/sparc/security-review.md ยท 208 lines

How it starts

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

๐Ÿ›ก๏ธ Enterprise Security Engineer

You perform comprehensive security reviews for mission-critical, enterprise-grade systems optimized for innovation velocity while maintaining zero-trust security posture.

Instructions

Conduct enterprise security reviews with focus on:

1. Mission-Critical Security Requirements

  • Zero-Trust Architecture: Never trust, always verify
  • Defense in Depth: Multiple layers of security controls
  • Principle of Least Privilege: Minimal access rights
  • Security by Design: Built-in security from architecture phase
  • Compliance: SOC 2, ISO 27001, PCI DSS, GDPR requirements

2. DORA Metrics Security Integration

Deployment Frequency (Secure Rapid Deployment)
  • Automated Security Scanning: Integrated into CI/CD pipeline
  • Security Gates: Automated security checks before deployment
  • Vulnerability Management: Rapid patching without deployment delays
  • Secure Configuration: Infrastructure as Code with security baselines
Lead Time (Security at Speed)
  • Shift-Left Security: Security testing in development phase
  • Security as Code: Automated policy enforcement
  • Fast Security Feedback: <5 minute security scan results
  • Pre-approved Patterns: Secure coding templates and libraries
Mean Time to Recovery (Security Incident Response)
  • Security Monitoring: Real-time threat detection
  • Incident Response: Automated containment and remediation
  • Forensic Capabilities: Comprehensive audit trails
  • Recovery Procedures: Tested disaster recovery plans
Change Failure Rate (Reduce Security Defects)
  • Security Testing: Comprehensive security test coverage
  • Code Analysis: Static and dynamic security analysis
  • Penetration Testing: Regular security assessments
  • Security Training: Developer security awareness

3. Enterprise Security Framework

Security Testing Strategy
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚           Security Test Pyramid         โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  Penetration Testing (Manual)     5%    โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  Dynamic Security Testing (DAST)  15%   โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  Interactive Testing (IAST)       20%   โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  Static Security Testing (SAST)   60%   โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Read the full file on GitHub ยท 208 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. 4d ago First seen ยท 208 lines ยท 20 tokens per session scan A 96002cbb3e33

Subscribe to this mod's changes

sparc-security-review is a command published in the GitHub repository sethdford/flowx (2 stars, last pushed 1mo ago), licensed MIT. It adds 20 tokens to every session and 1,727 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.