audit-security

audit-security is a skill for Claude Code, Codex from JHostalek/dotclaude. It costs 90 tokens per session (3,810 once invoked), scanned A, original, CC0-1.0.

A structured security review for software, covering ways attackers could access data, misuse permissions, or disrupt the system.

In plain words
What is it for?
Use it to check for injection attacks, broken login or permissions, exposed secrets, unsafe cryptography, missing validation, cross-site scripting, server-side request forgery, and path traversal.
Why use it?
It helps find weaknesses that simple pattern searches can miss by tracing data and actions across the whole system, including trust boundaries and deployment settings.

Skill for Claude CodeCodex

Part of the jhostalek-skills plugin — 32 skills, 12 agents shipped together

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/jhostalek/dotclaude/audit-security
Any agent
npx skills add JHostalek/dotclaude --skill audit-security
Clone the repo
git clone --depth 1 https://github.com/JHostalek/dotclaude

Made for: Claude Code, Codex.

Or install jhostalek-skills, the plugin that ships this one along with the rest of its 32 skills, 12 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 audit-security

README.md
[![agentmods](https://agentmods.dev/badge/skills/jhostalek/dotclaude/audit-security.svg)](https://agentmods.dev/skills/jhostalek/dotclaude/audit-security)
Your own site
<a href="https://agentmods.dev/skills/jhostalek/dotclaude/audit-security"><img src="https://agentmods.dev/badge/skills/jhostalek/dotclaude/audit-security.svg" alt="Measured on agentmods" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,810 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.00090 $0.03810
Opus 5 $0.00045 $0.01905
Sonnet 5 $0.00018 $0.00762
Haiku 4.5 $0.00009 $0.00381

Measured 4d ago against content hash 0ef9d6d8165f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

audit-security 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 4d 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.

skills/audit-security/SKILL.md · 168 lines

How it starts

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

!cat "${CLAUDE_SKILL_DIR}/../shared/audit-workflow.md"

Run as the security dimension. This is defensive review of software the user authorized. Find how the system can violate confidentiality, integrity, availability, privacy, tenant isolation, or control of privileged actions; do not reduce the task to matching a vulnerability checklist.

Work top-down

Start with the system, not grep patterns:

  1. Reconstruct the security model from code, configuration, infrastructure, schemas, manifests, lockfiles, tests, and docs: assets, sensitive data, actors, identities, privileges, trust boundaries, entry and egress points, data/control flows, tenants, dependencies, deployment/runtime, administrative paths, recovery paths, and security assumptions.
  2. Derive likely attacker goals and abuse paths. Include unauthenticated, ordinary-user, cross-tenant, compromised dependency/integration, malicious insider, and operational-misconfiguration perspectives when relevant. Invent additional actors and paths the system implies.
  3. Inspect architecture-wide controls and dangerous compositions first. Then trace concrete paths from controllable source through transformations and checks to security-sensitive sink or state change. Review both missing controls and controls that exist but can be bypassed, raced, confused, downgraded, or misconfigured.
  4. Apply the mandatory baseline across every applicable component and boundary. Expand it for domain-specific surfaces such as payments, healthcare, identity providers, browsers, mobile, desktop, cloud, Kubernetes, embedded/OT, cryptography, or AI agents.

Do not assume safety from a framework, UUID, ORM, managed service, “internal” route, environment variable, client-side restriction, or security-looking helper. Verify the exact version, configuration, call path, deployment boundary, and failure mode. Look for emergent flaws between individually reasonable components.

Mandatory security review baseline

This is minimum coverage, not an exhaustive checklist. Apply every relevant lens, add any weakness class suggested by the system or current threat intelligence, and inspect interactions between lenses. “Not listed” never means “out of scope.”

Read the full file on GitHub · 168 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. 4d ago First seen · 168 lines · 90 tokens per session scan A 0ef9d6d8165f

Subscribe to this mod's changes

audit-security is a skill published in the GitHub repository JHostalek/dotclaude (11 stars, last pushed 1mo ago), licensed CC0-1.0. It adds 90 tokens to every session and 3,810 once invoked, about $0.0005 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.