secure-code-review

secure-code-review is a skill for Claude Code, Codex from ShieldNet-360/secure-vibe. It costs 104 tokens per session (1,778 once invoked), scanned A, original, MIT.

A set of general secure-code-review rules covering input validation, shell commands, file paths, and sensitive personal or health data. It applies beyond any single web framework.

In plain words
What is it for?
Use it when generating or reviewing code that runs commands, handles paths, processes external data, or stores regulated information.
Why use it?
It catches trust-boundary and injection risks in command-line arguments, environment variables, filenames, configuration, and other inputs.

Skill for Claude CodeCodex

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 skills/shieldnet-360/secure-vibe/secure-code-review
Any agent
npx skills add ShieldNet-360/secure-vibe --skill secure-code-review
Clone the repo
git clone --depth 1 https://github.com/ShieldNet-360/secure-vibe

Made for: Claude Code, Codex.

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 secure-code-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/shieldnet-360/secure-vibe/secure-code-review.svg)](https://agentmods.dev/skills/shieldnet-360/secure-vibe/secure-code-review)
Your own site
<a href="https://agentmods.dev/skills/shieldnet-360/secure-vibe/secure-code-review"><img src="https://agentmods.dev/badge/skills/shieldnet-360/secure-vibe/secure-code-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,778 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.00104 $0.01778
Opus 5 $0.00052 $0.00889
Sonnet 5 $0.00021 $0.00356
Haiku 4.5 $0.00010 $0.00178

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

Security

Grade A, and why

secure-code-review 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 3d 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.

`subprocess.run([...])` without `shell=True`, `execFile`/`spawn` with an array,
skills/secure-code-review/SKILL.md · 127 lines

How it starts

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

Secure Code Review

Rules (for AI agents)

ALWAYS

  • Validate input at every trust boundary, not only the HTTP one. A CLI argument, an environment variable, a queue message, a filename, a parsed config or spreadsheet cell all arrive from outside and none of them pass through the request-validation layer. Check type, length, allowed characters and allowed range, and reject before processing. api-security owns the HTTP request body and its schema; this rule is every other way input gets in.
  • Build a command as an argument vector, never as a string a shell will parse: subprocess.run([...]) without shell=True, execFile/spawn with an array, exec.Command(name, args...). Passing an array is what removes the shell, and removing the shell is what removes the injection — quoting and escaping are the fallback for when you cannot.
  • Canonicalize then check any path built from input: resolve it to an absolute real path, then confirm it is inside the intended directory. Checking the raw string first misses .., symlinks, absolute-path replacement, and encoded separators. file-upload-security owns stored uploads and archive extraction; this rule covers a static-file handler, a template loader, a log path, an export filename.
  • Tag any function or module handling PII, PHI or cardholder data with an explicit classification comment (// classification: PII), and keep that handling in clearly-named modules rather than in general utility code. An untagged helper is how regulated data spreads into paths nobody reviews for it, and the tag is what makes the later review possible.
  • Consult the owner for anything with one: database-security when code builds a query, crypto-misuse when it hashes, encrypts, signs or compares a secret, frontend-security for output encoding and response headers, auth-security for who the caller is, iam-best-practices for the privileges a process runs with. Each of those states its rule with the API names and the false positives this skill would have to leave out.

Read the full file on GitHub · 127 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago First seen · 127 lines · 104 tokens per session scan A 6d9bdb717d0e

Subscribe to this mod's changes

secure-code-review is a skill published in the GitHub repository ShieldNet-360/secure-vibe (22 stars, last pushed 20d ago), licensed MIT. It adds 104 tokens to every session and 1,778 once invoked, about $0.0005 per session on Opus 5. 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.

Related

Other skills, from other repositories

agent-platform-model-registry

Agent Platform Model Registry Management. Use when you need to upload, list, describe, update, or delete machine learning models (and their versions) in the Agent Platform Model Registry. Don't use for model training, model deployment to endpoints, or managing non-Agent Platform models.

google/skills · 60 tokens

bigquery-ai-ml

Leverages BigQuery's built-in machine learning and GenAI capabilities for advanced data analytics. Use when you need to write SQL queries that perform time-series forecasting, predict values, detect outliers or anomalies, find key drivers, perform semantic search or vector search, classify text, calculate similarity…

google/skills · 104 tokens

edge-to-edge

Use this skill to migrate your Jetpack Compose app to add adaptive edge-to-edge support and troubleshoot common issues. Use this skill to fix UI components (like buttons or lists) that are obscured by or overlapping with the navigation bar or status bar, fix IME insets, and fix system bar legibility.

android/skills · 67 tokens

twitter-reader

Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…

himself65/finance-skills · 161 tokens

chenhao-limit-up

Use when evaluating A-share limit-up (涨停板) setups through Chen Hao's sentiment and momentum lens: market emotion cycles, board strength, follow-through, and short-term aggressive momentum trading.

questflowai/investorskills · 44 tokens

comet-github

将 Comet GitHub 维护请求路由到基于证据的 PR 审阅、Issue 分诊、本地想法收集、CI 诊断或 Issue 实施流程。用户提到 Comet GitHub Issue/PR 但未指定流程,或询问下一步如何处理时使用。.

rpamis/comet · 72 tokens