security-review

security-review is a skill for Claude Code from ethanolivertroy/my-agent-stuff. It costs 53 tokens per session (2,298 once invoked), scanned A, original, MIT.

A focused security review of changes on a Git branch or pull request. It looks for newly introduced, exploitable security problems and filters out low-confidence warnings.

In plain words
What is it for?
It is for reviewing branch diffs and pull requests for newly added high- or medium-severity vulnerabilities using read-only repository checks.
Why use it?
It helps developers find serious security issues in pending changes without mixing them with general code-quality comments or unrelated existing problems.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents.

Good fit It is for reviewing branch diffs and pull requests for newly added high- or medium-severity vulnerabilities using read-only repository checks.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/ethanolivertroy/my-agent-stuff/security-review.svg)](https://agentmods.dev/skills/ethanolivertroy/my-agent-stuff/security-review)
Your own site
<a href="https://agentmods.dev/skills/ethanolivertroy/my-agent-stuff/security-review"><img src="https://agentmods.dev/badge/skills/ethanolivertroy/my-agent-stuff/security-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,298 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.00053 $0.02298
Opus 5 $0.00026 $0.01149
Sonnet 5 $0.00011 $0.00460
Haiku 4.5 $0.00005 $0.00230

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

Security

Grade A, and why

security-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-review/SKILL.md · 259 lines

How it starts

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

Security Review

Conduct a focused security review of the pending changes on the current branch. This is not a general code review. Report only high-confidence security vulnerabilities newly introduced by the branch.

Scope

Review the current branch diff against the default remote branch.

Use read-only git/context commands only:

git status
git diff --name-only origin/HEAD...
git log --no-decorate origin/HEAD...
git diff --merge-base origin/HEAD

If origin/HEAD is unavailable, determine the default remote branch with read-only git commands such as git remote show origin and use the appropriate merge base. Do not edit files. Do not write reports to disk unless the user explicitly asks for a file.

Ignore findings in:

  • Documentation files such as Markdown.
  • Files that are only unit tests or only used to run tests.
  • Third-party dependency/version issues.

Objective

Identify HIGH-CONFIDENCE security vulnerabilities with real exploitation potential. Focus only on security implications newly added by this PR/branch. Do not comment on existing security concerns unless the branch makes them newly exploitable.

Critical instructions:

  1. Minimize false positives: Only flag issues where confidence is at least 8/10 or >80%.
  2. Avoid noise: Skip theoretical issues, style concerns, best-practice gaps, or low-impact findings.
  3. Focus on impact: Prioritize vulnerabilities that could lead to unauthorized access, data breaches, or system compromise.
  4. Do not report excluded issue classes, even if they look security-adjacent.

Hard Exclusions

Automatically exclude findings matching these patterns:

  1. Denial of Service or resource exhaustion attacks.
  2. Secrets or credentials stored on disk if otherwise secured or handled by other processes.
  3. Rate limiting concerns or service overload scenarios.
  4. Memory consumption or CPU exhaustion issues.
  5. Lack of input validation on non-security-critical fields without proven security impact.
  6. Input sanitization concerns for GitHub Actions unless clearly triggerable via untrusted input.
  7. Lack of hardening measures or missing defense-in-depth controls.
  8. Theoretical race conditions or timing attacks. Only report a race condition if concretely exploitable.
  9. Outdated third-party libraries.
  10. Memory safety issues in Rust or other memory-safe languages.
  11. Files that are only unit tests or only used as part of running tests.
  12. Log spoofing concerns. Unsanitized user input in logs is not a vulnerability by itself.
  13. SSRF where only the path is attacker-controlled. SSRF matters only when attacker controls host or protocol.
  14. User-controlled content included in AI system prompts.
  15. Regex injection.
  16. Regex DoS concerns.
  17. Insecure documentation or findings in documentation files.
  18. Lack of audit logs.

Read the full file on GitHub · 259 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 · 259 lines · 53 tokens per session scan A e4923efe9791

Subscribe to this mod's changes

security-review is a skill published in the GitHub repository ethanolivertroy/my-agent-stuff (11 stars, last pushed 2mo ago), licensed MIT. It adds 53 tokens to every session and 2,298 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-30.

Related

Other skills, from other repositories

requesting-code-review

Pre-commit review: security scan, quality gates, auto-fix.

NousResearch/hermes-agent · 20 tokens

continual-learning

Nightly refinement of an existing per-repo review-style prompt using this reviewer's own finding outcomes. Read confirmed (resolved-by-commit / thumbs-up) and dismissed (thumbs-down) findings, promote the bug patterns the team actually fixes, demote the false-positive patterns, reconcile against the current prompt…

langchain-ai/open-swe · 89 tokens

meta-codereview-current-diff

Read the current uncommitted diff, run three independent reviewers (safety + tests-coverage + style) in parallel, then arbitrate a single BLOCK / BLOCKWITHOVERRIDE / PASSWITHNOTES verdict. Use before commit when you want a multi-perspective second-opinion instead of a single-reviewer agent loop.

opensquilla/opensquilla · 73 tokens

prs-awaiting-maintainer

List open pull requests where the ball is in the maintainer's court: CI is green and the PR is ready for a maintainer to review, re-review, or merge. Use when the user wants to see PRs awaiting maintainer action.

dyoshikawa/rulesync · 56 tokens

review

5-pass structured code review — correctness, security, performance, readability, consistency.

SethGammon/Citadel · 17 tokens

compliance-checker

Check affiliate content for FTC compliance and platform rules. Triggers on: "check my content for compliance", "FTC disclosure check", "is this legal", "review for compliance", "check affiliate disclosure", "am I FTC compliant", "audit my content", "compliance review", "legal check", "platform rules check", "check…

Affitor/affiliate-skills · 87 tokens