review-security

review-security is a skill for Claude Code, Codex from paultyng/skill-issue. It costs 54 tokens per session (3,411 once invoked), scanned A, original, MIT.

A structured security-review guide based on STRIDE threat modeling, the OWASP Top 10 list of common web risks, and automated checks for Go code and dependencies.

In plain words
What is it for?
Use it to review a full Go codebase, selected packages, changed files, or a particular security concern, then run the relevant security scans.
Why use it?
It turns a broad security audit into a defined scope and a prioritized list of findings tied to specific code, instead of relying on guesswork.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions subagents.

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/paultyng/skill-issue/review-security
Any agent
npx skills add paultyng/skill-issue --skill review-security
Clone the repo
git clone --depth 1 https://github.com/paultyng/skill-issue

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/paultyng/skill-issue/review-security.svg)](https://agentmods.dev/skills/paultyng/skill-issue/review-security)
Your own site
<a href="https://agentmods.dev/skills/paultyng/skill-issue/review-security"><img src="https://agentmods.dev/badge/skills/paultyng/skill-issue/review-security.svg" alt="Measured on agentmods" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,411 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.1 $0.00054 $0.03411
Opus 5 $0.00027 $0.01706
Sonnet 5 $0.00011 $0.00682
Haiku 4.5 $0.00005 $0.00341

Measured 6d ago against content hash 61c1cba5df7d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

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 6d 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.

Reads agent configuration directorieslowAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- Findings must cite probed evidence (`path:line`, grep output, command result), not pattern-matched suspicion. Per `~/.claude/rules/probe-not-assume.md`.

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

skills/review-security/SKILL.md · 206 lines

How it starts

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

Security Review

Structured security review producing actionable, prioritized findings with code-level references.

Workflow

1. Scope and explore

  • Confirm scope with the user: full codebase, specific packages/directories, changed files only (PR or branch diff), or specific concern.
  • Resolve scope to a file/package list. Based on what the user requested:
    • Changed files (PR or branch): Run git diff --name-only --diff-filter=d <base>...HEAD to get changed files (default <base> is main). If the user references a PR number, use gh pr diff <number> --name-only instead. Filter to relevant file types (.go, config files). Derive affected Go packages from the file paths (unique parent directories containing .go files).
    • Explicit paths/packages: The user may specify directories (e.g. internal/auth/), Go package patterns (e.g. ./internal/auth/...), or individual files. When given a directory or package pattern, include all files under it. Derive Go package paths for static analysis tool invocations.
    • Full codebase: No filtering. Explore everything (default).
  • Pass the resolved scope (file list and derived package paths) to all exploration and investigation subagents so they only read and analyze scoped files. Static analysis tools receive package paths; manual review subagents receive the file list.
  • Explore the scoped code using parallel subagents (subagent_type="explore"). Read all relevant source files, configs, and dependency manifests.

2. System overview

Produce a brief architecture summary covering:

  • Services, ports, and transport (gRPC, HTTP, etc.)
  • Authentication and authorization mechanisms
  • Data stores and external dependencies
  • Deployment model (if discernible)

3. Launch investigation subagents in parallel

Determine which subagents are applicable based on the scoped files:

  • STRIDE Threat Model: applicable if code files (.go, .rs, .ts, .tsx, .js, .jsx, .swift, .kt, .kts, .py, .rb) or infrastructure files (Dockerfiles, k8s manifests, Terraform, CI configs) exist in scope
  • OWASP Top 10 Analysis: applicable if code files or infrastructure files exist in scope
  • Security Static Analysis: applicable if .go files exist in scope
  • Dependency Evaluation: applicable if a dependency manifest (go.mod, package.json, requirements.txt, pyproject.toml, Cargo.toml, Gemfile, mix.exs, composer.json) changed in scope. Diff the manifest for added/bumped dependencies and invoke evaluate-dependency in review mode per dependency — this covers license, maintenance, tenure, and capability surface that govulncheck (a CVE scan of called functions) does not. Dedupe the vuln portion against govulncheck output in step 4.

Read the full file on GitHub · 206 lines

Files

What ships with it

1 file 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. 6d ago First seen · 206 lines · 54 tokens per session scan A 61c1cba5df7d

Subscribe to this mod's changes

review-security is a skill published in the GitHub repository paultyng/skill-issue (9 stars, last pushed 25d ago), licensed MIT. It adds 54 tokens to every session and 3,411 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.