claude-code-agents: Command for Claude Code

.claude/commands/workflow-review-security.md

workflow-review-security is a command for Claude Code from rcdelacruz/claude-code-agents. It costs 13 tokens per session (2,409 once invoked), scanned A, original, MIT.

A command for reviewing an application’s security, with emphasis on the OWASP Top 10, a widely used list of common web security risks, and authentication.

In plain words
What is it for?
Use it to audit authentication, authorization, password handling, API protection, input safety, and other common security risks.
Why use it?
It helps find issues such as missing access checks, unsafe password storage, and unprotected API endpoints before they become vulnerabilities.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is rcdelacruz/claude-code-agents's own configuration. It tells Claude Code how to work on claude-code-agents itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-code-agents configures →

Reuse

Borrowing it

Nothing to install: this file belongs to rcdelacruz/claude-code-agents. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/rcdelacruz/claude-code-agents/main/.claude/commands/workflow-review-security.md
Clone the repo
git clone --depth 1 https://github.com/rcdelacruz/claude-code-agents

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/rcdelacruz/claude-code-agents/workflow-review-security/github.svg)](https://agentmods.dev/commands/rcdelacruz/claude-code-agents/workflow-review-security)
Your own site
<a href="https://agentmods.dev/commands/rcdelacruz/claude-code-agents/workflow-review-security"><img src="https://agentmods.dev/badge/commands/rcdelacruz/claude-code-agents/workflow-review-security/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 workflow-review-security

Your own site · 80×15
<a href="https://agentmods.dev/commands/rcdelacruz/claude-code-agents/workflow-review-security"><img src="https://agentmods.dev/badge/commands/rcdelacruz/claude-code-agents/workflow-review-security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,409 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00013 $0.02409
Opus 5.5 $0.00005 $0.00964
Sonnet 5.5 $0.00003 $0.00482
Haiku 4.5 $0.00001 $0.00241

Measured 2mo ago against content hash 3707b4444a67, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

workflow-review-security scanned grade A with 1 finding 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 2mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

const response = await fetch(url)
.claude/commands/workflow-review-security.md · 400 lines

How it starts

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

You are in SECURITY REVIEW MODE.

Use security agent to perform thorough security audit.

Security Audit Process

1. OWASP Top 10 Review (30 mins)

A01: Broken Access Control
// ❌ CRITICAL: No authorization check
export async function deletePost(id: string) {
  await db.post.delete({ where: { id } })
}

// ✅ SECURE: Proper authorization
export async function deletePost(id: string) {
  const session = await auth()
  if (!session?.user) {
    throw new UnauthorizedError()
  }

  const post = await db.post.findUnique({
    where: { id },
    select: { authorId: true }
  })

  if (!post) {
    throw new NotFoundError()
  }

  if (post.authorId !== session.user.id && session.user.role !== 'ADMIN') {
    throw new ForbiddenError()
  }

  await db.post.delete({ where: { id } })
}

Checklist:

  • All protected routes check authentication
  • Resource ownership verified before operations
  • Role-based access control (RBAC) implemented
  • No client-side authorization only
  • API endpoints protected with middleware
A02: Cryptographic Failures
// ❌ CRITICAL: Storing plain text passwords
await db.user.create({
  data: { email, password } // Plain text!
})

// ✅ SECURE: Hashed passwords
import bcrypt from 'bcrypt'

const hashedPassword = await bcrypt.hash(password, 12)
await db.user.create({
  data: { email, password: hashedPassword }
})

Checklist:

  • Passwords hashed with bcrypt (12+ rounds)
  • HTTPS enforced in production
  • Sensitive data encrypted at rest
  • Secure session storage
  • Environment variables for secrets
  • No secrets in code or version control
A03: Injection
// ❌ CRITICAL: SQL injection risk (raw SQL)
const userId = req.query.id // User controlled!
await db.$executeRaw`SELECT * FROM users WHERE id = ${userId}`

// ✅ SECURE: Parameterized query
const userId = req.query.id
await db.user.findUnique({ where: { id: userId } })

// ✅ SECURE: Input validation
const validated = z.string().cuid().parse(userId)
await db.user.findUnique({ where: { id: validated } })

Read the full file on GitHub · 400 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. 2mo ago First seen · 400 lines · 13 tokens per session scan A 3707b4444a67

Subscribe to this mod's changes

workflow-review-security is a command published in the GitHub repository rcdelacruz/claude-code-agents (2 stars, last pushed 1y ago), licensed MIT. It adds 13 tokens to every session and 2,409 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

workflow-review-security compared with commands from other repositories

workflow-review-security next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
workflow-review-securityrcdelacruz/claude-code-agentsCommand21y agoMITA13Claude Code
checklistgithub/spec-kitCommand148kyesterdayMITA13Claude Code
clarifygithub/spec-kitCommand148kyesterdayMITA27Claude Code
specifygithub/spec-kitCommand148kyesterdayMITA13Claude Code
analyzegithub/spec-kitCommand148kyesterdayMITA26Claude Code
convergegithub/spec-kitCommand148kyesterdayMITA35Claude Code
implementgithub/spec-kitCommand148kyesterdayMITA14Claude Code