Skip to content
Back to skills

Harden

ASecurity

Run the A–G pre-launch hardening gauntlet on a project — a phased audit-fix-verify cascade covering payments, security, UX funnel, SEO/legal, pre-launch verification, mobile store submission, and post-deploy checks — plus an opt-in multi-agent pentest phase (P) that proves each exploit before fixing it. Every phase ends at a gate that must be proven able to fail. Use when the user says "gauntlet", "launch review", "pre-launch audit", "harden this before launch", "is this ready to ship", "pent...

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 13, 2026
developmentgosqltestinggitdatabasesecurity

Works with

  • claude code

Security analysis

A100/100

Pro scans all 19 files and shows the line behind each finding

Scanned November 18, 2026

npx -y skills add gauntlet-skills/gauntlet --skill harden --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Harden?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Harden
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gauntlet-skills-harden/badge)](https://www.skillsdirectory.com/skills/gauntlet-skills-harden)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: harden
description: Run the A–G pre-launch hardening gauntlet on a project — a phased audit-fix-verify cascade covering payments, security, UX funnel, SEO/legal, pre-launch verification, mobile store submission, and post-deploy checks — plus an opt-in multi-agent pentest phase (P) that proves each exploit before fixing it. Every phase ends at a gate that must be proven able to fail. Use when the user says "gauntlet", "launch review", "pre-launch audit", "harden this before launch", "is this ready to ship", "pentest", "penetration test", "attack my app", "security deep dive", or names a phase directly (A1, B1, B3, C2, C3, D1, E1, E4, F, G, P).
license: PolyForm-Shield-1.0.0
---

# The Launch Gauntlet

A phased hardening process for taking a project from "it works" to "it can face
real users and real money." The phases were derived from full runs on four
real production projects. `references/known-patterns.md` adds defects from two
more (six in all) and from one outside team's production stack.

Companion skill: the **build** skill produces the numbered build prompts that
get you a working app. This one starts where that finishes.

> Invocation differs by host: Claude Code uses `/gauntlet:<skill>`, Codex uses
> `$<skill>`. Skill names below are given host-neutral.

**The load-bearing idea is the gate, not the checklist.** Any audit can produce a
document that says PASS. A gate is only worth something if you have watched it
FAIL. Read `gates/GATES.md` before running any phase — it is short and it is the
part people skip.

## Phase map

| Phase | What it answers | Steps | Read |
|---|---|---|---|
| **A** | Do money and data move correctly? | A1 payments · A2 data access · A3 env/secrets · A4 ASO | `phases/A-payments-data.md` |
| **B** | Can it be attacked? | B1 audit → B2 fix → B3 reaudit → B4 hardening → B6 domain | `phases/B-security.md` |
| **C** | Can a first-time user succeed? | C1 funnel · C2 launch review · C3 post-build audit | `phases/C-ux-funnel.md` |
| **D** | Is it findable and lawful? | D1 SEO · D2 images · D3 legal · D4 cookies | `phases/D-seo-legal.md` |
| **E** | Is it actually ready? | E1 checklist · E2 deps · E3 gap sweep + Lighthouse · E4 verdict | `phases/E-prelaunch.md` |
| **F** | Will the stores accept it? | Store presubmission | `phases/F-mobile.md` |
| **G** | Did it survive contact? | Post-deploy verification | `phases/G-postdeploy.md` |
| **P** | Can it be broken on purpose? *(opt-in)* | P0 scope → P1 surface → P2 threat model → P3 hunt → P4 reconcile → P5 prove + fix → P6 skeptic → P7 ship + re-attack → P8 report | `phases/P-pentest.md` |

**Load one phase file at a time.** Do not read all eight — each is self-contained
and reading ahead wastes context on phases you may never run.

## Applicability — decide this first

Skipping a phase is a decision that gets recorded, not a silent omission.

- **Web-only project** → A4 and F are **N/A**. Say so explicitly in the phase
  record; do not leave them blank.
- **No payments** → A1 is N/A.
- **Not deployed yet** → G is **BLOCKED**, not N/A. It runs after go-live.
- **Everything else runs.** "We don't have users yet" is not a reason to skip C.
- **P is opt-in**, and the one phase that is not part of the A–G cascade. If it
  is skipped, record "P: not run" and the reason in the E4 verdict.

## Phase P — the pentest

B reads code for security defects across the whole app. P attacks it: an
attack-surface inventory that doubles as a coverage ledger, a threat model,
parallel specialists per bug class, an exploit proof before any CRITICAL or
HIGH is reported, fixes with fail-before / pass-after evidence, a fresh skeptic
agent that tries to break the fixes, and a victimless re-attack of production.

**Run it** after B's gate has passed, before launch for any app holding money,
multi-tenant data or sensitive personal data, and again after a major change to
auth, billing, roles or database privileges. Route here when the user says
"pentest", "penetration test", "attack my app" or "security deep dive".

**Warn before starting.** It is heavy: many subagents, real tokens, well beyond
the review skill's cost, and it needs memory headroom. It needs the owner for
the scope sign-off, test accounts and read-only SQL in the database editor. It
is not a human pentest and produces no attestation. Read `phases/P-pentest.md`
for the full method.

## The loop

Every phase runs the same sequence, which mirrors the build: build → checkpoint
→ fix blockers → commit on a branch → merge → push.

1. **Run the phase audit.** Read actual code and actual command output. Never
   grade from memory, from the spec, or from what a previous phase claimed.
2. **Write the phase document** to `docs/` before fixing anything. The audit
   record must survive the fix — a finding you fix and never wrote down is a
   lesson you will re-learn.
3. **Run the gate** (`gates/run-gate.sh`). CRITICAL and HIGH findings block.
   MEDIUM and LOW are recorded and may be deferred with a stated reason.
4. **Fix blockers**, then re-run the gate. A phase is not done because the fixes
   are written; it is done because the gate passed after them.
5. **Commit on a branch, merge, push.**

## Known patterns

`references/known-patterns.md` — defects found in real runs across six projects,
grouped by surface. Every entry was live in something that had already passed
something.

**Read it before your first phase.** It is faster than rediscovering them, and
several are invisible to the phase they logically belong to — the wildcard CORS
header is in no source file, and the onboarding action that silently did nothing
was found by no security check.

## Non-negotiables

These come from failures in real runs. Each one cost something.

- **Verify, don't assume.** Every phase document has a "What PASSES — verified,
  not assumed" section. If you did not read the code or run the command, it does
  not go in that section.
- **A gate you have not seen fail is not a gate.** One project's secret scanner
  reported OK for the life of the repo — a swallowed `git grep` error made it
  pass unconditionally, including against a planted live key. See
  `gates/GATES.md`.
- **Proxy signals cause phantom bugs.** Grepping source for a pattern is not the
  same as reading the output. Read the real result first.
- **Check CI has ever run.** `gh run list` returning empty means never, not
  passing. One project's workflow watched `main` while the branch was `master`.
- **Apply every intermediate migration at cutover**, not just the newest. Deployed
  code queries columns from migrations in the middle of the stack.
- **Never `npm audit fix --force`.** It breaks transitive deps. Targeted patch
  bumps only.

## The rubric

`references/rubric-web.md` (144 items, 8 categories, 27 Critical) and
`references/rubric-mobile.md` (162 items, 11 categories, 4 Critical) are the
item-level checklists. Where a phase file says *what* to audit, the rubric says
*exactly which things to check*.

It cuts across phases rather than mapping to one, so load the categories the
phase you are running needs:

| Phase | Web categories | Mobile categories |
|---|---|---|
| **A** payments & data | 2 Stripe · 1 Auth | 4 RevenueCat · 3 RLS · 1 Auth |
| **B** security | 1 Auth · 6 AI security · 4 Infrastructure | 1 Auth · 2 Edge functions · 3 RLS · 6 Health data |
| **C** UX funnel | 7 Design craft · 8 Retention | 10 Design craft · 11 Retention |
| **D** SEO & legal | 3 Legal compliance | 5 Store compliance · 6 Health data |
| **E** pre-launch | 5 Testing & CI · 4 Infrastructure | 8 Testing & CI · 7 Monitoring · 9 Build |
| **F** store submission | — | 5 Store compliance · 9 Build |
| **P** pentest | 1 Auth · 2 Stripe · 4 Infrastructure · 6 AI security | 1 Auth · 2 Edge functions · 3 RLS · 4 RevenueCat |

Grading mechanics, N/A discipline, and expected scores are in the header of each
rubric file. The short version: a `[Critical]` miss fails its whole category,
"not implemented" is FAIL and never N/A, and a fresh scaffold scoring in the
50s–60s is normal — aim for ~90, not 100.

## Output contract

Every phase produces one markdown file under `docs/`. Format and finding-ID
scheme: `references/finding-format.md`. Do not invent a new layout per phase —
the consistency is what makes a later phase able to cross-reference an earlier
one.

Files in this skill

  • SKILL.md6.6 KB
  • gates/GATES.md5.1 KB
  • gates/canary-headers.mjs8.7 KB
  • gates/canary-test.sh2.1 KB
  • gates/check-extracted.mjs4 KB
  • gates/check-headers.mjs17.9 KB
  • gates/run-gate.sh6 KB
  • phases/A-payments-data.md3.9 KB
  • phases/B-security.md7.9 KB
  • phases/C-ux-funnel.md3.6 KB
  • phases/D-seo-legal.md3.3 KB
  • phases/E-prelaunch.md5.4 KB
  • phases/F-mobile.md4.5 KB
  • phases/G-postdeploy.md7.9 KB
  • references/MANIFEST.json247 B
  • references/finding-format.md2.9 KB
  • references/known-patterns.md9.6 KB
  • references/rubric-mobile.md22.3 KB
  • references/rubric-web.md25.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.