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

Written for no agent in particular: nothing here depends on one.

Good fit Use it when generating or reviewing code that runs commands, handles paths, processes external data, or stores regulated information.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shieldnet-360/secure-vibe/secure-code-review
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.

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/github.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/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 secure-code-review

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. 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.00104 $0.01778
Opus 5.5 $0.00042 $0.00711
Sonnet 5.5 $0.00021 $0.00356
Haiku 4.5 $0.00010 $0.00178

Measured 1mo ago against content hash 6d9bdb717d0e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 2mo ago), licensed MIT. It adds 104 tokens to every session and 1,778 once invoked, about $0.0004 per session on Opus 5.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

code-review-checklist

Genera un checklist de revisión de código personalizado para cualquier pull request basado en el lenguaje, tipo de cambio y nivel de riesgo. Úsalo cuando te pidan revisar código, verificar un PR, revisar un pull request o generar un checklist de revisión de código. Produce un checklist enfocado con verificaciones…

mohitagw15856/pm-claude-skills · 88 tokens

resolve-pr-comments

Evaluate, fix, answer, and reply to GitHub pull request review comments and conversation comments. Handles both change requests (fix or skip) and reviewer questions (explain using the rationale recalled from past Claude Code transcripts). Use when the user asks to "resolve PR comments", "fix review comments", "address…

tobihagemann/turbo · 96 tokens

pr-description-writer

Redacta una descripción de pull request clara y estructurada a partir de un diff de git, resumen de rama o lista de commits. Úsalo cuando te pidan escribir una descripción de PR, redactar una solicitud de cambios o documentar cambios de código. Produce una descripción con resumen, motivación, cambios realizados, pasos…

mohitagw15856/pm-claude-skills · 80 tokens

assess-technical-debt

Assess project-wide structural technical debt: complexity hotspots, deprecated API usage, duplication clusters, architecture rot, and low-value tests. Ranks findings by impact and refactor effort into a report at .turbo/technical-debt.md. Use when the user asks to "assess technical debt", "find technical debt"…

tobihagemann/turbo · 125 tokens

review-code

Review code for bugs, security vulnerabilities, API misuse, consistency issues, simplicity problems, or test coverage gaps and low-value tests by running internal reviews and a peer review in parallel and returning combined findings. Single-concern with a type argument, or full review with no argument. Use when the…

tobihagemann/turbo · 153 tokens

peer-review

Run an independent peer review via Codex. Use when the user asks to "peer review", "peer review my code", "peer review my plan", "get a second opinion", or "independent review".

tobihagemann/turbo · 46 tokens