harden

harden is a skill for Claude Code, Codex from T4LEL/Claude-Arsenal. It costs 41 tokens per session (749 once invoked), scanned A, original, MIT.

A defensive security review procedure for products approaching real users, payments, or sensitive data. It covers areas such as authentication, access control, input validation, secrets, security headers, rate limits, and dependencies.

In plain words
What is it for?
Use it for a pre-release security pass, especially on applications with accounts, sensitive information, payments, or Supabase access rules.
Why use it?
It provides a structured way to find, prioritize, fix, verify, and record security weaknesses before release. Each finding must include a severity and a concrete way it could be exploited.

Skill for Claude CodeCodex

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

Good fit Use it for a pre-release security pass, especially on applications with accounts, sensitive information, payments, or Supabase access rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/t4lel/claude-arsenal/harden
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 T4LEL/Claude-Arsenal --skill harden
Clone the repo
git clone --depth 1 https://github.com/T4LEL/Claude-Arsenal

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 harden

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/t4lel/claude-arsenal/harden"><img src="https://agentmods.dev/badge/skills/t4lel/claude-arsenal/harden.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 749 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.00041 $0.00749
Opus 5.5 $0.00016 $0.00300
Sonnet 5.5 $0.00008 $0.00150
Haiku 4.5 $0.00004 $0.00075

Measured 1mo ago against content hash 43a9a77f29e5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

harden 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 1mo 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/harden/SKILL.md · 48 lines

How it starts

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

Harden

A defensive security pass, deeper than the /ship-it deploy gate. Run before real users, payments, or sensitive data.

Copy this checklist and check off items as you complete them:

Harden Progress:
- [ ] Step 1: Audit
- [ ] Step 2: Triage
- [ ] Step 3: Fix
- [ ] Step 4: Verify (mandatory)
- [ ] Step 5: Record
- [ ] Report

Step 1 — Audit

Delegate to the security-auditor agent with a full pass over: auth flows, RLS/access control, input validation, secret handling, security headers, rate limiting, dependency audit. On Supabase, also run the supabase MCP get_advisors tool and fold its output into the same findings list. If any current-library security guidance is needed (auth library config, header middleware, CSP syntax), fetch it via the context7 MCP tools rather than relying on memory. Secrets encountered during the audit stay in env vars and are never printed into chat, code, logs, or commits.

Step 2 — Triage

Every finding gets a severity — Critical / High / Medium / Low — and a concrete exploit scenario: who, what request, what they get. A finding without an exploit scenario is not triaged yet; send it back to the security-auditor agent for specifics rather than guessing at a severity. Any severity or count you can't verify from real output is an unverified assumption — label it, don't state it as fact.

Step 3 — Fix

Criticals and Highs get fixed now. Route each to the right builder agent as one bounded task per fix: schema/RLS/policy issues to the db-designer agent, application-level issues (auth checks, input validation, headers, rate limiting) to the backend-builder agent, and dependency vulnerabilities to the backend-builder agent for patch/minor bumps or the refactor-engineer agent when the fix requires a major upgrade. Don't batch unrelated fixes into one task — each fix needs its own verification in Step 4. Never commit, push, deploy, or publish fixes without the user's explicit ask.

Step 4 — Verify (mandatory)

Read the full file on GitHub · 48 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. 1mo ago First seen · 48 lines · 41 tokens per session scan A 43a9a77f29e5

Subscribe to this mod's changes

harden is a skill published in the GitHub repository T4LEL/Claude-Arsenal (1 stars, last pushed 3mo ago), licensed MIT. It adds 41 tokens to every session and 749 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

cf-cli

Cloudflare's official cf CLI (beta) for the public Cloudflare API and Workers projects. Use for finding and running Cloudflare commands from the terminal — sign-in and profiles, cf cli search, cf schema, cf deploy/dev/build, resource commands for DNS, zones, D1, KV, and R2 — and for choosing between cf and Wrangler in…

cloudflare/skills · 78 tokens

find-journalists

Build a researched, fit-checked journalist list for a specific PR campaign. Prefer Medialyst's asynchronous media-list research workflow when available, with explicit approval before credit spend; otherwise produce a best-effort local list with only publicly listed, source-cited contacts.

elvisun/newsjack · 58 tokens

story-origin-check

Recover the first public timestamp and canonical major coverage for a newsjacking signal, then decide whether newer coverage is the same story, a different story, or a materially new development.

elvisun/newsjack · 40 tokens

workers-best-practices

Cloudflare Workers best practices for production applications. Use when writing, reviewing, or configuring Workers.

cloudflare/skills · 25 tokens

relevance-coarse-filter

Cheap, high-recall first-pass filter that removes obvious junk from a detector candidate pool before expensive story-origin research and PR judgment. Decides keep, monitoronly, or reject — never ranks, writes angles, verifies dates, or decides whether to pitch.

elvisun/newsjack · 57 tokens

ai-visibility-writing

Audit, question, suggest, or fact-preservingly revise a press release, blog post, contributed article, or expert explainer so AI answer systems can more easily retrieve, understand, quote, and cite its useful information. Use when someone asks for AI visibility, AI search, answer-engine, AEO, GEO, AI Overview, or…

elvisun/newsjack · 137 tokens