Install and use Pwnproof

Pwnproof is a folder of instructions (a SKILL.md plus five checklists) that your coding agent loads when you ask for a security audit. Installing it means copying that folder to where your agent looks for skills. It takes under a minute.

Quick install

The skills CLI detects which agents you have and installs into each of them:

npx skills add Deepshah0308/pwnproof

Or clone the repo and use the installer, which does the same thing without npm:

git clone https://github.com/Deepshah0308/pwnproof.git
cd pwnproof
./install.sh                # every agent found on this machine
./install.sh claude codex   # only these agents
./install.sh --project      # into the current project (commit it so your team gets it)

On Windows, run .\install.ps1 in PowerShell with the same arguments. Restart your agent after installing so it picks up the new skill.

Install per tool

If you'd rather copy the folder yourself, these are the locations each agent reads. Copy SKILL.md and the references folder into a folder named pwnproof there.

AgentUser-widePer project
Claude Code~/.claude/skills/.claude/skills/
OpenAI Codex~/.agents/skills/.agents/skills/
Cursor~/.cursor/skills/.cursor/skills/
GitHub Copilot~/.copilot/skills/.github/skills/
Gemini CLI~/.gemini/skills/.gemini/skills/
OpenClaw~/.openclaw/skills/skills/ in the workspace
Hermes Agent~/.hermes/skills/security/user-wide only
Cline~/.cline/skills/.cline/skills/
OpenCode~/.config/opencode/skills/.opencode/skills/
Kiro~/.kiro/skills/.kiro/skills/

Tool-specific commands

# OpenClaw
openclaw skills install git:Deepshah0308/pwnproof

# Hermes Agent (from the cloned repo)
./install.sh hermes

Windsurf and rule-based setups

Install the skill into the project with ./install.sh --project agents, then add the matching adapter from the repo's adapters folder:

Lovable, Bolt, v0 and Replit

Browser-based builders don't read skill folders from your repo, so they get Pwnproof Lite: one file with the rules, the four phases and the 42 checks that matter most for apps built on Supabase, Firebase and Stripe. It's about 6,700 characters, under Lovable's 10,000-character limit.

  1. Open pwnproof-lite.md and copy all of it.
  2. Paste it into the builder:
    • Lovable: workspace Settings, Skills, Add. Or Project settings, Instructions.
    • Bolt: Account settings, Skills. Or Project settings, Knowledge.
    • v0: the project's Instructions.
    • Replit: save it as replit.md in the project root.
  3. Ask: Run a Pwnproof security audit on this app and show me the findings before fixing anything.

If your Lovable or Bolt project syncs to GitHub, clone it and run the full 116-check skill with Claude Code, Codex or Cursor as well. It reads migrations and edge functions the builder's agent may not look at.

Run an audit

Open your project in the agent and ask in plain words. Any of these work:

Run a Pwnproof security audit on this app.

Audit this app for security vulnerabilities before I launch, then fix them.

/pwnproof   # Claude Code and Codex ($pwnproof) let you call it by name

The agent works through four phases:

  1. Map. It reads your config, routes and migrations and shows you the stack, auth, data, payments, storage, AI providers, every entry point and which env vars reach the browser.
  2. Audit. It loads the five checklists one at a time, starting with platform and secrets, and searches your code with the patterns each check lists, then reads the code around every hit to confirm it.
  3. Report. It shows the findings table and stops to ask before fixing, unless you said "audit and fix".
  4. Fix. Critical first, one category at a time, running your build and tests after each.

Read the report

The report has up to five parts, in this order:

  1. Rotate now. Only if a secret leaked: each key, where it leaked and where to rotate it. Do this first. Deleting a key from code doesn't un-leak it.
  2. Summary. Counts by severity and the three most dangerous issues.
  3. Findings. One row per issue:
SeverityFindingLocationHow it's exploited
CriticalPAY-03 webhook not signature-verifiedapp/api/stripe/webhook/route.ts:12Anyone can POST a fake "payment completed" event and get Pro free
HighACC-02 invoice readable by IDapp/api/invoices/[id]/route.ts:9Change the ID in the URL to read another customer's invoice
MediumPLT-07 no clickjacking protection, Unverifiedhosting configCheck with curl -sI that frame-ancestors is set
  1. Clean areas. What was checked and came up empty.
  2. Plan. The fix order and anything that needs your approval.

Unverified means the agent couldn't confirm it from code, usually because the setting lives in a dashboard (Supabase, Firebase, Vercel, Cloudflare). Each one comes with the exact thing to check.

Severity, briefly: Critical means anyone can take over accounts, read everyone's data, get paid features free or use your keys. High needs a small precondition like an account. Medium needs chaining or has limited impact. Low is hardening.

How fixing works

Smaller runs

Quick Pwnproof scan of this app.            # only the 35 highest-yield checks
Use Pwnproof to check just the payment flow. # one area, same evidence rules
Pwnproof audit, report only, don't change anything.

Update and remove

npx skills update                              # if you installed with the skills CLI
cd pwnproof && git pull && ./install.sh    # if you used the installer
./install.sh --uninstall claude codex           # remove from specific agents

Troubleshooting

The agent doesn't use the skill

Restart the agent after installing, and name it in the request: "Run a Pwnproof audit". In Claude Code check that ~/.claude/skills/pwnproof/SKILL.md exists. In Codex type /skills to see what loaded.

The audit stops partway on a big codebase

Run it one checklist at a time: "Pwnproof audit, platform checklist only", then auth and access, and so on.

A finding looks wrong

Ask the agent to show the exact code it based the finding on. If it can't, it isn't a finding. Please open an issue with the pattern so the check can be tightened.

I want a check that isn't there

Open an issue with the "New check" template, or send a pull request adding an entry in the same four-part format: What, Exploit, Detect, Fix.