security-review

security-review is a skill for Claude Code, Codex from OutlineDriven/odin-codex-plugin. It costs 66 tokens per session (1,354 once invoked), scanned A, original, Apache-2.0.

A security-review skill for checking code and changes for ways an attacker could misuse them. It covers common web risks, authentication and permissions, exposed secrets, unsafe input handling, and dependency supply-chain risks.

In plain words
What is it for?
Threat modelling with STRIDE, checking against the OWASP Top 10, scanning for secrets, reviewing authentication and authorisation, and examining dependencies, CVEs, and software bills of materials.
Why use it?
It helps find security problems before a release or code review, especially when changes accept outside data, add network-facing features, or change access control.

Skill for Claude CodeCodex

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

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/outlinedriven/odin-codex-plugin/security-review.svg)](https://agentmods.dev/skills/outlinedriven/odin-codex-plugin/security-review)
Your own site
<a href="https://agentmods.dev/skills/outlinedriven/odin-codex-plugin/security-review"><img src="https://agentmods.dev/badge/skills/outlinedriven/odin-codex-plugin/security-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,354 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 $0.00066 $0.01354
Opus 5 $0.00033 $0.00677
Sonnet 5 $0.00013 $0.00271
Haiku 4.5 $0.00007 $0.00135

Measured 5d ago against content hash 787d0d74e2ca, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

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

How it starts

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

Threat modeling is hypothesis generation for an adversary. Walk the change set as the attacker would: where does untrusted input enter, what trust boundary does it cross, what does it gain on the other side. Every unaudited path is a free move for the attacker.

When to Apply / NOT

Apply: new external surface (HTTP route, RPC method, file upload); AuthN/AuthZ change; deserialization / parsing of untrusted input; new dependency or major-version upgrade; cryptographic change; pre-release of public-facing service; incident postmortem.

NOT apply: internal refactor with no trust-boundary delta; pure performance work; documentation-only changes; internal-only experimental code.

Anti-patterns

  • Allowlist-by-omission: treating "no obvious issue" as "secure".
  • Crypto improvisation: hand-rolling primitives.
  • Trust the client: validating only client-side.
  • Logging secrets: tokens, PII, session cookies in logs.
  • Default-permit ACL: authorization checks on opt-in basis.
  • Magic-string config: secrets in source / env files.
  • Outdated SBOM: stale dependency snapshots.
  • Skipping the threat model: jumping to checklist without naming assets/actors/boundaries.

STRIDE Question Template

Apply each prompt to every component touched by the change.

Letter Threat Required questions
S Spoofing Who is the principal? How is identity proven? Can the credential be forged, replayed, or stolen? Is MFA / mutual-auth enforced?
T Tampering What inputs cross the trust boundary? Are they validated against an explicit schema (Zod / Pydantic / serde)? Are messages integrity-protected (HMAC / signature / TLS)?
R Repudiation Are security-relevant actions logged with actor + timestamp + outcome? Are logs append-only / tamper-evident?
I Information Disclosure What data is returned in error paths, logs, telemetry? Are PII / secrets ever serialized? Are timing side-channels addressed (constant-time compare)?
D Denial of Service Are inputs bounded (size, count, depth)? Is parsing resource-limited (zip-bomb, billion-laughs, ReDoS)? Are external calls rate-limited?
E Elevation of Privilege What privilege does the new code execute under? Is least privilege honored? Can input alter privilege (path traversal, SQL injection, deserialization gadget)?

Read the full file on GitHub · 75 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. 5d ago First seen · 75 lines · 66 tokens per session scan A 787d0d74e2ca

Subscribe to this mod's changes

security-review is a skill published in the GitHub repository OutlineDriven/odin-codex-plugin (15 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 66 tokens to every session and 1,354 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

git-guardrails-claude-code

Install a Claude-Code PreToolUse hook that blocks destructive git commands (push variants including force-push, hard reset, force clean, branch -D, checkout/restore overwrites) before Bash runs them. Use when the user wants git safety rails, force-push prevention, or repository-wipe protection.

OutlineDriven/odin-gemini-cli-extension · 71 tokens

duet

Two-party posture — user as director, agent as executor; every fork, tradeoff, or choice surfaced via batched AskUserQuestion with a recommended default. Use when the user invokes /duet, says "ask before" / "pair with me" / "human-in-the-loop", or for aesthetic/architectural/irreversible decisions.

OutlineDriven/odin-gemini-cli-extension · 73 tokens

explore

Read-only codebase exploration: discovery, structural reading, and emission of architecture/pattern/tooling/dependency summaries. Use to understand existing code, map files, trace function flow, locate symbols, or build pre-implementation context. Uses a staged 1/3/5 Explore-agent escalation protocol scaled to scope.…

OutlineDriven/odin-gemini-cli-extension · 122 tokens

deps-upgrade

Dependency-upgrade campaign — outdated scan, batch-by-severity, breaking-change remediation, lockfile audit. Use when CVEs require remediation, when a major upstream version lands, when stack compatibility forces a sweep, or on a scheduled (quarterly) hygiene cadence. CVE-driven bumps consume security audit findings…

OutlineDriven/odin-gemini-cli-extension · 68 tokens

type-driven

Type-driven development. Use when developing with refined types, state machines encoded in types, or proof-carrying types; enforces totality and exhaustive pattern matching.

OutlineDriven/odin-gemini-cli-extension · 36 tokens

design-by-contract

Design-by-Contract (DbC) development. Use when implementing with formal preconditions, postconditions, and invariants across any language.

OutlineDriven/odin-gemini-cli-extension · 32 tokens