security-code-review

security-code-review is a skill for Claude Code from ch0ks/hackarandas-claude-toolbelt. It costs 69 tokens per session (3,268 once invoked), scanned A, original, MIT.

A security review skill that examines code for vulnerabilities using automated scanning and manual analysis. It maps findings to common security categories and creates a formal report.

In plain words
What is it for?
It is for auditing changed files, checking against standards such as the OWASP Top 10, and documenting security findings.
Why use it?
It helps identify security weaknesses before code is merged or deployed, including problems that ordinary tests may miss.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit It is for auditing changed files, checking against standards such as the OWASP Top 10, and documenting security findings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ch0ks/hackarandas-claude-toolbelt/security-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 ch0ks/hackarandas-claude-toolbelt --skill security-code-review
Clone the repo
git clone --depth 1 https://github.com/ch0ks/hackarandas-claude-toolbelt

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/ch0ks/hackarandas-claude-toolbelt/security-code-review.svg)](https://agentmods.dev/skills/ch0ks/hackarandas-claude-toolbelt/security-code-review)
Your own site
<a href="https://agentmods.dev/skills/ch0ks/hackarandas-claude-toolbelt/security-code-review"><img src="https://agentmods.dev/badge/skills/ch0ks/hackarandas-claude-toolbelt/security-code-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,268 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00069 $0.03268
Opus 5 $0.00034 $0.01634
Sonnet 5 $0.00014 $0.00654
Haiku 4.5 $0.00007 $0.00327

Measured 8d ago against content hash 121046553e1c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

security-code-review scanned grade A with 0 findings 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 8d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/security-code-review/SKILL.md · 390 lines

How it starts

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

Perform a thorough security code review and generate a formal Security Code Review Report. You are acting as a Staff Security Engineer with deep expertise in SAST, taint analysis, and secure development.


Step 1 — Collect Author & Repository Metadata

Before anything else, gather the context needed for the report header:

# Author identity
git config --list | grep -E "^user\.(name|email)"

# Repository name
basename $(git rev-parse --show-toplevel)

# Current branch and latest commit
git rev-parse --abbrev-ref HEAD
git log -1 --format="%H %s" 

# Files in scope (what was changed or what is being reviewed)
git diff --name-only HEAD
# If working tree is clean, fall back to:
git ls-files --others --exclude-standard

Format the author as: Firstname Lastname ([email protected]) Generate the report filename as: security-code-review-report-YYYYMMDD.md using today's date. Generate the Document ID as: SCR-YYYYMMDD-001


Step 2 — Run Semgrep Pro Scan

Run Semgrep Pro before any manual analysis:

# Create output directory and save raw results as a dated JSON artifact
SECURITY_REVIEW_DIR=$(git rev-parse --show-toplevel)/security-review
mkdir -p "$SECURITY_REVIEW_DIR"
DATE=$(date +%Y%m%d)
SEMGREP_JSON="$SECURITY_REVIEW_DIR/semgrep-results-${DATE}.json"

# Scoped to current file or full project — output piped through tee to save JSON artifact
semgrep scan --pro \
  --config=p/default \
  --config=p/owasp-top-ten \
  --config=p/secrets \
  --json 2>/dev/null | tee "$SEMGREP_JSON"

echo "Semgrep results saved: $SEMGREP_JSON"

For each finding extract:

  • check_id — rule ID
  • path + start.line — location
  • extra.message — description
  • extra.severity — severity
  • extra.metadata.cwe — CWE mapping
  • extra.metadata.confidence — confidence level

Treat Semgrep Pro interprocedural findings at high confidence as ground truth for taint flows. If Semgrep is unavailable, note it in the report and proceed with manual analysis only.


Read the full file on GitHub · 390 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. 8d ago First seen · 390 lines · 69 tokens per session scan A 121046553e1c

Subscribe to this mod's changes

security-code-review is a skill published in the GitHub repository ch0ks/hackarandas-claude-toolbelt (5 stars, last pushed 4mo ago), licensed MIT. It adds 69 tokens to every session and 3,268 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

secure-code-review

Performs a structured security code review against OWASP ASVS 4.0.3 verification requirements and CWE Top 25. Auto-invoked on pull request reviews, when code touching authentication, authorization, cryptography, or input handling is shared. Produces findings mapped to ASVS controls and CWE identifiers with severity…

UnitOneAI/SecuritySkills · 74 tokens

adversarial-review

Run a file-audited completion loop that requires two consecutive fresh-context subagents to independently try to disprove the same versioned, digest-checked task result. Use when the user invokes $adversarial-review, asks for two independent adversarial approvals, or requires a result to survive repeated attempts to…

Emlembow/skills · 101 tokens

Mixed-Language Monorepos

This skill should be used when the user is auditing a "polyglot monorepo", "multi-language codebase", "microservices with different languages", "Go + Python + TypeScript", or any codebase with services written in different programming languages. Provides strategies for cross-service security analysis and unified…

allsmog/vuln-scout · 71 tokens

review-pr

Diff-aware PR security review with verified findings and PR comment payload.

allsmog/vuln-scout · 16 tokens

pr-review

Mevcut PR'ı veya belirtilen PR numarasını kapsamlı şekilde inceler.

berkcangumusisik/claude-code-practices · 21 tokens

breaking-changes

Detects breaking changes between two git refs and generates a migration guide.

berkcangumusisik/claude-code-practices · 17 tokens