security-review

security-review is a skill for Claude Code, Codex from luisalima/agent-policy-kit. It costs 21 tokens per session (804 once invoked), scanned A, original, MIT.

A security check for reviewing code changes that could introduce vulnerabilities.

In plain words
What is it for?
It is used to inspect the changed files and trace untrusted data to sensitive operations, such as authentication, parsing, template rendering, or subprocess execution.
Why use it?
It helps find serious security problems before a change is finished, especially when code handles logins, user input, files, commands, network requests, or secrets.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/luisalima/agent-policy-kit/security-review.svg)](https://agentmods.dev/skills/luisalima/agent-policy-kit/security-review)
Your own site
<a href="https://agentmods.dev/skills/luisalima/agent-policy-kit/security-review"><img src="https://agentmods.dev/badge/skills/luisalima/agent-policy-kit/security-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 804 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00021 $0.00804
Opus 5 $0.00010 $0.00402
Sonnet 5 $0.00004 $0.00161
Haiku 4.5 $0.00002 $0.00080

Measured 6d ago against content hash e3934e38434e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 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.

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.

.agents/skills/security-review/SKILL.md · 94 lines

How it starts

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

Security Review

Use this skill after implementation, before closing a large or security-relevant task, when the completed diff plausibly changes security posture.

Good triggers include changes to auth, authorization, parsers, serializers, template rendering, subprocess execution, filesystem paths, network requests, secrets handling, logging of sensitive data, dependency loading, CI/CD, release automation, privileged automation, or user-controlled inputs.

Do not make this a ritual for every task. State why the review is relevant, and let the user decline unless the repo policy makes it a gate.

Goal

Identify high-confidence vulnerabilities newly introduced by the branch or task. This is not a general code review.

Workflow

  1. Establish the review base with git status, the current branch, the merge base, changed files, commits, and diff.
  2. Research repository context before judging findings: security model, frameworks, auth patterns, validation helpers, serializers, parsers, shell execution, secrets handling, and deployment assumptions.
  3. Review only security implications introduced or changed by the diff.
  4. Trace user-controlled or untrusted input to sensitive sinks such as database queries, template rendering, subprocesses, file paths, deserialization, network requests, authz decisions, and secret/logging paths.
  5. Report only concrete findings with a clear attack path and at least 8/10 confidence. Prefer missing a theoretical issue over flooding the user with noise.

High-Signal Categories

  • Injection: SQL, command, template, XML/XXE, NoSQL, unsafe deserialization, YAML/pickle/eval, XSS through unsafe rendering APIs.
  • Authn/authz: bypasses, privilege escalation, session flaws, token validation bugs, cross-tenant access.
  • Data exposure: PII or secret disclosure, sensitive endpoint leakage, debug output exposure.
  • Crypto and secrets: weak crypto, bad randomness, certificate validation bypass, improper key handling.
  • Path and file safety: path traversal or unsafe file operations with untrusted input.
  • Supply chain and CI/CD: concrete workflow or dependency-loading paths where an attacker can control code execution or release artifacts.

Read the full file on GitHub · 94 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. 6d ago First seen · 94 lines · 21 tokens per session scan A e3934e38434e

Subscribe to this mod's changes

security-review is a skill published in the GitHub repository luisalima/agent-policy-kit (2 stars, last pushed 2mo ago), licensed MIT. It adds 21 tokens to every session and 804 once invoked, about $0.0001 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.