security-and-hardening

security-and-hardening is a skill for Claude Code, Codex from momentmaker/kaijutsu. It costs 87 tokens per session (1,150 once invoked), scanned A, original, MIT.

A security review checklist for code changes or selected files, based on the OWASP Top 10, a widely used list of common web-security risks.

In plain words
What is it for?
Use it to review pull requests, branches, or files that handle login, sessions, payments, personal data, network calls, or new dependencies.
Why use it?
It helps find problems such as injection, missing access checks, weak encryption, and exposed personal data before code is merged or released.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review pull requests, branches, or files that handle login, sessions, payments, personal data, network calls, or new dependencies.

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

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-and-hardening

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/momentmaker/kaijutsu/security-and-hardening"><img src="https://agentmods.dev/badge/skills/momentmaker/kaijutsu/security-and-hardening.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,150 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00087 $0.01150
Opus 5 $0.00044 $0.00575
Sonnet 5 $0.00017 $0.00230
Haiku 4.5 $0.00009 $0.00115

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

Security

Grade A, and why

security-and-hardening scanned grade A with 1 finding 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 11d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| A10 | Server-Side Request Forgery (SSRF) | user-controlled URLs in fetch/curl, allow-list missing, internal IPs not blocked |
skills/community/security-and-hardening/SKILL.md · 92 lines

How it starts

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

Security + Hardening

Adapted from addyosmani/agent-skills under the MIT License. Copyright (c) Addy Osmani. Modifications by kaijutsu maintainers — composed with blunder-hunt.

A focused review pass that walks the OWASP Top 10 against a code change set. The deliverable is a list of findings, each with severity, evidence, and remediation.

When to invoke

  • Before merging changes that touch auth, sessions, payment, PII, or external network calls
  • After taking on a new dependency
  • After a security-relevant CVE in the project's stack
  • User says "security review" / "audit" / "harden"

Process

Step 1: Identify the target

  • PR diff: gh pr diff <n>
  • Branch diff: git diff main...HEAD
  • File set: explicit list from user

Step 2: Walk the OWASP Top 10

For each category, scan the target. Tick yes / no per finding.

# Category Look for
A01 Broken Access Control missing authz checks, IDOR, path traversal, allowed-by-default routes
A02 Cryptographic Failures hardcoded secrets, weak ciphers (MD5/SHA1), missing TLS, plaintext PII
A03 Injection SQL/NoSQL/LDAP/cmd/template injection, unsanitized concat into queries / shells / templates
A04 Insecure Design trust boundaries crossed without validation, ambient authority, no rate-limit on expensive ops
A05 Security Misconfiguration default creds, debug endpoints exposed, verbose error pages, permissive CORS
A06 Vulnerable / Outdated Components dep versions with known CVEs, deprecated transitive deps
A07 Identification + Auth Failures weak session mgmt, predictable session IDs, missing rate-limit on login, missing MFA gate
A08 Software / Data Integrity unsigned artifacts, supply-chain trust gaps, missing SRI for external scripts
A09 Logging + Monitoring Failures no audit log on auth events, no alerting on lockouts, secrets in logs
A10 Server-Side Request Forgery (SSRF) user-controlled URLs in fetch/curl, allow-list missing, internal IPs not blocked

Read the full file on GitHub · 92 lines

Files

What ships with it

2 files 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. 11d ago First seen · 92 lines · 87 tokens per session scan A e9ae8be1f500

Subscribe to this mod's changes

security-and-hardening is a skill published in the GitHub repository momentmaker/kaijutsu (3 stars, last pushed 2mo ago), licensed MIT. It adds 87 tokens to every session and 1,150 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

printing-press-import

Bring a published CLI from the public library into the internal library so it's identical to a freshly-generated copy — module path reverted, manuscripts placed alongside, ready for /printing-press-polish or /printing-press-emboss. Use when the public library has a CLI you don't have locally, or to recover from a…

mvanhorn/cli-printing-press · 104 tokens

work

Execute an approved wish plan — orchestrate subagents per task group with fix loops, validation, and review handoff.

automagik-dev/genie · 26 tokens

trace

Dispatch trace subagent to investigate unknown issues — reproduces, traces, and reports root cause for fix handoff.

automagik-dev/genie · 25 tokens

preview-design

Render a real artifact through this branch's local MERIDIAN design code (not the published npm package) so the team can test the new Design Convention on the document / handoff / platform surfaces before it ships. Use for /preview-design, "preview the design convention", "render this with the new design", or Design…

egregore-labs/egregore · 71 tokens

sw-do

Implement a SpecWeave increment task by task through the ledger, with evidence per task and a verified close. Use for "implement this", "start working", "continue the increment", "keep going".

anton-abyzov/specweave · 41 tokens

done

Close an increment: ledger check, specweave verify, optional review, then specweave complete. Use when all tasks are done and saying "close increment", "we are done", or "finish up".

anton-abyzov/specweave · 0 tokens