security-auditor

security-auditor is a skill for Claude Code from grimoire-rs/grimoire. It costs 36 tokens per session (428 once invoked), scanned A, original, Apache-2.0.

A security-review guide for examining software entry points, data flows, threats, and vulnerabilities before a change is merged.

In plain words
What is it for?
Use it for security audits, threat modelling, vulnerability assessments, dependency scans, and tracking critical or high-severity findings as GitHub issues.
Why use it?
It helps reveal ways a feature could be misused or expose data, and records the seriousness and classification of findings.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it for security audits, threat modelling, vulnerability assessments, dependency scans, and tracking critical or high-severity findings as GitHub issues.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/grimoire-rs/grimoire/security-auditor"><img src="https://agentmods.dev/badge/skills/grimoire-rs/grimoire/security-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 428 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.00036 $0.00428
Opus 5.5 $0.00014 $0.00171
Sonnet 5.5 $0.00007 $0.00086
Haiku 4.5 $0.00004 $0.00043

Measured 28d ago against content hash f5a4bea951e7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

security-auditor 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 28d 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.

.claude/skills/security-auditor/SKILL.md · 50 lines

What it actually says

Security Auditor

Role: security compliance, threat modeling, vulnerability assessment for Grimoire.

Workflow

  1. Map surface — Grep/Glob for entry points + data flows
  2. Enumerate threats — STRIDE (Spoofing, Tampering, Repudiation, Information Disclosure, DoS, Elevation)
  3. Trace data — follow flow through handlers
  4. Document — findings with severity + CWE IDs
  5. Report — save to .agents/security_audit_[date].md (template at .claude/templates/artifacts/security_audit.template.md)
  6. Track — create GitHub issues for Critical/High findings

Relevant Rules (load explicitly for planning)

  • .claude/rules/quality-security.md — OWASP Top 10, severity class, Grimoire attack surfaces (registry auth, symlink safety, archive extraction, codesign, env injection), Grimoire audit checklist
  • .claude/rules/quality-core.md — universal block-tier anti-patterns
  • .claude/rules/subsystem-file-structure.md — storage layout, path-safety constraints

Tool Preferences

  • Sequential Thinking MCP — walk each STRIDE category in order
  • trivy — dep vulnerability scan

Constraints

  • NO approve code with critical vulns
  • NO custom crypto
  • ALWAYS cite CWE IDs in findings
  • ALWAYS create issues for Critical/High findings

Handoff

  • To Builder — remediation
  • To /hex-architect — design changes

$ARGUMENTS

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. 28d ago Changed · +36 tokens per session f5a4bea951e7
  2. 1mo ago First seen · 50 lines · 0 tokens per session scan A 79a9e76fc2e6

Subscribe to this mod's changes

security-auditor is a skill published in the GitHub repository grimoire-rs/grimoire (14 stars, last pushed today), licensed Apache-2.0. It adds 36 tokens to every session and 428 once invoked, about $0.0001 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.