security-review

security-review is a skill for Claude Code, Codex from Karthick-Ramachandran/persist-os. It costs 61 tokens per session (385 once invoked), scanned A, original, MIT.

A security review process for proposed code or project changes. It examines files, paths, links, dependencies, secrets, network access, external tools, and related risks before acceptance.

In plain words
What is it for?
Use it to review a change before approval, classify findings as blockers or risks, check security-sensitive tests, and produce review or completion documentation.
Why use it?
Changes can accidentally overwrite files, expose secrets, introduce unsafe dependencies, or expand what the system can access. A structured review helps identify these problems and document acceptable trade-offs.

Skill for Claude CodeCodex

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

Good fit Use it to review a change before approval, classify findings as blockers or risks, check security-sensitive tests, and produce review or completion documentation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/karthick-ramachandran/persist-os/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 Karthick-Ramachandran/persist-os --skill security-review
Clone the repo
git clone --depth 1 https://github.com/Karthick-Ramachandran/persist-os

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/karthick-ramachandran/persist-os/security-review/github.svg)](https://agentmods.dev/skills/karthick-ramachandran/persist-os/security-review)
Your own site
<a href="https://agentmods.dev/skills/karthick-ramachandran/persist-os/security-review"><img src="https://agentmods.dev/badge/skills/karthick-ramachandran/persist-os/security-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 security-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/karthick-ramachandran/persist-os/security-review"><img src="https://agentmods.dev/badge/skills/karthick-ramachandran/persist-os/security-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 385 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.00061 $0.00385
Opus 5.5 $0.00024 $0.00154
Sonnet 5.5 $0.00012 $0.00077
Haiku 4.5 $0.00006 $0.00038

Measured 1mo ago against content hash a1cfaf253bd8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/scan-secrets.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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 · 47 lines

What it actually says

Goal

Find security risks in a change before it is accepted.

Inputs

  • The change as a diff or summary.
  • Test results, when they exist.

Workflow

  1. Identify changed trust boundaries: file writes, paths, dependencies, auth, stored secrets, network calls, telemetry, MCP.
  2. Run scripts/scan-secrets.sh over the staged diff and treat matches as blockers until cleared. If scripts/ is unavailable (deleted or cannot execute), perform the same scan by reading the diff directly.
  3. Check path validation, overwrite policy, and symlink handling.
  4. Check dependency, template, and configuration risk.
  5. Check that tests cover the security-sensitive behavior.
  6. Classify findings as blockers, risks, or documented tradeoffs.
  7. Hand back the verdict with the finding list.

Decisions

  • If a credential is present in the change → blocker; stop and ask for its removal.
  • If writes can escape the repository root → blocker.
  • If the change conflicts with accepted repository memory → stop and ask for a human decision.

Verification

  • Every trust boundary the change touches has a finding or an explicit all-clear.
  • Blockers name the exact file and line.
  • No finding is generic filler.

Resources

  • For the security model → docs/20-security/SECURITY_MODEL.md
  • For threat context → docs/20-security/THREAT_MODEL.md (when present)

Output

  • Verdict: accept, accept with risks, or block.
  • Finding list with files, lines, and severity.
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. 1mo ago Changed · -15 lines · +13 tokens per session a1cfaf253bd8
  2. 2mo ago First seen · 62 lines · 48 tokens per session scan A 44e4e9551884

Subscribe to this mod's changes

security-review is a skill published in the GitHub repository Karthick-Ramachandran/persist-os (9 stars, last pushed 16d ago), licensed MIT. It adds 61 tokens to every session and 385 once invoked, about $0.0002 per session on Opus 5.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

evidence-anchors

Ground documents in verifiable citations. Use whenever writing or editing ANY document a human will approve or review that asserts something about the EXISTING codebase — a design doc, proposal, RFC, ADR, risk assessment, a PLAN (including plan mode), or a PR DESCRIPTION. Load-bearing claims must carry Evidence…

armanfatemi/nullius · 104 tokens

setup

Guided onboarding for nullius in this repo — detects test frameworks to propose Oracle config, offers the GitHub Action CI check, and walks through enabling the hook plugin. Use when a user asks to set up, install, enable, configure, or onboard nullius, or asks what nullius needs to be fully working here.

armanfatemi/nullius · 68 tokens

architecture-governance

Keep code changes conformant to a repo's real, declared architecture using ArchSteer. Use when starting work in an unfamiliar repo, before finishing/committing an architecturally significant change (new dependency, new data access, new external call, new layer), or when asked about a codebase's architecture, layers…

einvoice-dev1/archsteer · 73 tokens

find-simplifications

Use for a periodic repo-wide sweep of qwen-code for accumulated excess surface — dead components and files, orphaned locale keys, exports nothing consumes, added-then-removed scaffolding — filing candidates on a tracking issue and landing only what a maintainer has said yes to. Repo-wide and evidence-first; every…

QwenLM/qwen-code · 103 tokens

swarm-pr-review

Run a graph-guided, tool-augmented PR review using context packing, parallel exploration, mandatory repository-agnostic risk-family coverage with dispatch scaled to diff size and risk, independent reviewer validation, critic challenge, and metrics writeback. Use for deep pull request review with low false-positive…

ZaxbyHub/opencode-swarm · 91 tokens

code-review

You are a senior code reviewer. You receive diffs via stdin.

jrswab/axe · 0 tokens