verify-code

verify-code is a command for Claude Code from Srajangpt1/ai-security-crew. It costs 0 tokens per session (1,065 once invoked), scanned A, original, MIT.

A command that reviews pasted code or a specified file for security vulnerabilities.

In plain words
What is it for?
Use it to inspect Python, JavaScript, TypeScript, and other code for issues such as injection, unsafe deserialization, and cross-site scripting.
Why use it?
It gives a structured security check instead of relying on a general code review to catch dangerous patterns.

Command for Claude Code

Part of the mcp-security-review plugin — 3 skills, 3 commands, 1 MCP server shipped together

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/srajangpt1/ai-security-crew/verify-code
Clone the repo
git clone --depth 1 https://github.com/Srajangpt1/ai-security-crew

Made for: Claude Code.

Or install mcp-security-review, the plugin that ships this one along with the rest of its 3 skills, 3 commands, 1 MCP server.

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 verify-code

README.md
[![agentmods](https://agentmods.dev/badge/commands/srajangpt1/ai-security-crew/verify-code.svg)](https://agentmods.dev/commands/srajangpt1/ai-security-crew/verify-code)
Your own site
<a href="https://agentmods.dev/commands/srajangpt1/ai-security-crew/verify-code"><img src="https://agentmods.dev/badge/commands/srajangpt1/ai-security-crew/verify-code.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 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,065 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00000 $0.01065
Opus 5 $0.00000 $0.00532
Sonnet 5 $0.00000 $0.00213
Haiku 4.5 $0.00000 $0.00106

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

Security

Grade A, and why

verify-code 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 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

- Command injection via `os.system()`, `subprocess` with `shell=True`
.claude/commands/verify-code.md · 150 lines

How it starts

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

Perform a security review of the following code:

$ARGUMENTS


Instructions

Review the code provided in the arguments above for security vulnerabilities. If no code is provided in the arguments, ask the user to paste the code they want reviewed, or specify a file path to read.

Step 1 — Detect Technologies

Identify the language and frameworks from:

  • File extension (.py → Python, .ts → TypeScript, .go → Go, etc.)
  • Import statements (import django, require('express'), import React, etc.)
  • Syntax patterns (def/class → Python, func → Go, public class → Java)
  • Framework indicators (@app.route → Flask, useState → React, @Controller → Spring)

Step 2 — Build Focus Areas

Based on detected technologies, check for these vulnerability classes:

Python:

  • Command injection via os.system(), subprocess with shell=True
  • Unsafe deserialization: pickle.loads() on untrusted data
  • eval() / exec() with dynamic/user-controlled input
  • SQL injection via string formatting in queries
  • Path traversal in file operations

JavaScript / TypeScript:

  • XSS via innerHTML, document.write(), dangerouslySetInnerHTML
  • Prototype pollution via object spread or Object.assign
  • eval() or new Function() with dynamic content
  • Insecure postMessage handlers
  • Unvalidated redirects

React:

  • dangerouslySetInnerHTML without sanitization
  • User input rendered directly in JSX
  • Sensitive data stored in component state or localStorage

Java:

  • Statement instead of PreparedStatement for SQL
  • Runtime.exec() with user-controlled input
  • XML External Entity (XXE) vulnerabilities
  • Unsafe deserialization

Go:

  • SQL injection in raw queries
  • Command injection in exec.Command
  • Path traversal in file serving
  • Race conditions in concurrent code

SQL:

  • String concatenation in queries instead of parameterization
  • Missing WHERE clause on UPDATE/DELETE
  • SELECT * returning sensitive columns
  • Privilege escalation via stored procedures

Read the full file on GitHub · 150 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 · 150 lines · 0 tokens per session scan A cc51995d7bae

Subscribe to this mod's changes

verify-code is a command published in the GitHub repository Srajangpt1/ai-security-crew (68 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,065 tokens. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.