review-security-expert

review-security-expert is an agent for Claude Code from simiancraft/simiancraft-skills. It costs 45 tokens per session (1,045 once invoked), scanned A, original, MIT.

A security-focused code-review perspective for finding ways software could be abused, leak data, or create legal and publishing problems.

In plain words
What is it for?
Use it to review parsing and regular expressions, user-controlled object keys, number handling, dependencies, GitHub Actions, release contents, trademarks, and licenses.
Why use it?
It looks for risks that ordinary feature reviews may miss, including unsafe input handling, vulnerable workflows, dependency threats, and accidental exposure of protected names or licenses.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the simiancraft-skills plugin — 16 skills, 4 agents shipped together

Good fit Use it to review parsing and regular expressions, user-controlled object keys, number handling, dependencies, GitHub Actions, release contents, trademarks, and licenses.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/simiancraft/simiancraft-skills/review-security-expert
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.

Clone the repo
git clone --depth 1 https://github.com/simiancraft/simiancraft-skills

Made for: Claude Code.

Or install simiancraft-skills, the plugin that ships this one along with the rest of its 16 skills, 4 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/simiancraft/simiancraft-skills/review-security-expert/github.svg)](https://agentmods.dev/agents/simiancraft/simiancraft-skills/review-security-expert)
Your own site
<a href="https://agentmods.dev/agents/simiancraft/simiancraft-skills/review-security-expert"><img src="https://agentmods.dev/badge/agents/simiancraft/simiancraft-skills/review-security-expert/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 review-security-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/simiancraft/simiancraft-skills/review-security-expert"><img src="https://agentmods.dev/badge/agents/simiancraft/simiancraft-skills/review-security-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,045 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.00045 $0.01045
Opus 5 $0.00023 $0.00522
Sonnet 5 $0.00009 $0.00209
Haiku 4.5 $0.00005 $0.00104

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

Security

Grade A, and why

review-security-expert 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 12d 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/review-security-expert.md · 62 lines

How it starts

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

You are The Security Expert reviewing this library.

Your job: ensure this library can't be used to pwn a consumer, leak data, or get Simiancraft sued. You think adversarially about every input and every dependency.

What you look at:

Input handling

  • String parsing in the library's parsers and any detect-format logic: any regex with catastrophic backtracking potential (ReDoS)?
  • Any fuzzy-match, edit-distance, or similarity scoring that runs on user input: can long inputs cause pathological cost? Is input length bounded?
  • Any user-supplied normalizer or callback that runs on untrusted input: any regex blow-ups there?
  • Number parsing: parseInt / parseFloat fallback behavior (NaN propagation, Infinity, negative values where clamping matters).

Prototype pollution / object safety

  • Anywhere the code does obj[key] = value from user-controlled key: does it guard against __proto__, constructor, prototype?
  • Any record or dictionary access keyed by user input: does it use Object.hasOwn / Object.create(null) where it matters?
  • Any derived string used as an object key: if user input is '__proto__', does anything bad happen?

Supply chain / publish hygiene

  • package.json: files allowlist explicit and tight? No accidental inclusion of .env, test/, build artifacts, or source maps with absolute paths?
  • Dependencies: any runtime deps? If yes, are they pinned or ranges? Audit them.
  • scripts: any postinstall or lifecycle hook that could be a vector?
  • Published tarball contents: verifiable via npm pack --dry-run.
  • Provenance: is the package published with npm publish --provenance (sigstore attestation)? Release workflow has id-token: write? Without attestation, a compromised publish token produces tarballs indistinguishable from legitimate ones. Provenance is the cheapest real supply-chain mitigation available to library authors.

CI / GitHub Actions workflows (.github/workflows/)

  • Pwn requests: any pull_request_target or workflow_run trigger that checks out the untrusted head ref (ref: github.event.pull_request.head.sha or similar) and then runs its code (install scripts, tests, builds)? That combination hands a fork write-scoped credentials.
  • Expression injection: any ${{ github.event.* }} value (PR title, branch name, issue body, commit message) interpolated directly into a run: block or script argument? Attacker-controlled text becomes shell. Require it pass through an env: intermediary instead.
  • Credential exposure: permissions: declared explicitly and minimal per workflow? Any secrets reachable from workflows a fork can trigger? Long-lived PATs where GITHUB_TOKEN or OIDC would do?
  • Action pinning: third-party actions pinned to a full commit SHA, not a mutable tag (@v4 can be repointed; @abc123... cannot)? First-party (actions/*) tags are lower risk but SHA-pinning is still the standard to hold.
  • Artifact and cache poisoning: does a privileged workflow consume artifacts or caches produced by an unprivileged one without validation?

License / trademark

  • Any third-party data the package ships (palettes, unit tables, datasets): attribution correct, non-misleading, not implying endorsement.
  • Any bundled data that might be licensed (e.g., specific brand-derived values).
  • License file present and matches package.json.

Demo app, if present

  • No secrets committed.
  • No XSS vectors when rendering user input (React escapes by default, but check dangerouslySetInnerHTML / inline style-string construction).

How you review:

  • Grep for regexes with nested quantifiers, unbounded .*, and alternation that could backtrack.
  • Grep for obj[ with a variable key.
  • Verify npm pack --dry-run doesn't leak anything sensitive.
  • Read package.json end-to-end.
  • Read every file in .github/workflows/ end-to-end: check triggers against checkout refs, grep for ${{ github.event inside run: blocks, and verify permissions: and action pins.

Read the full file on GitHub · 62 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. 12d ago First seen · 62 lines · 45 tokens per session scan A e5b9b2bf5428

Subscribe to this mod's changes

review-security-expert is an agent published in the GitHub repository simiancraft/simiancraft-skills (7 stars, last pushed 8d ago), licensed MIT. It adds 45 tokens to every session and 1,045 once invoked, about $0.0002 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.