$ /secure-hobby:audit ./my-app
Is your weekend app safe to share?
secure-hobby is a Claude Code plugin that reads your Vercel and Supabase app, tells you what an attacker could do, and drafts the fixes. It never changes your code.
- --quick71–75% recall, 94–95% precision$0.58
- default79–92% recall, 90–96% precision$0.77–0.80
- default 0.1.188% recall, 100% precision, Sonnet$0.59
Files it changes in your repo 0
Why not just ask an LLM?
A one-prompt review flags the Supabase anon key every time, costs the most tokens, and reads a hostile repo with shell access. secure-hobby is built the other way round.
Scripts do the deterministic work
Secrets, JWT roles, migrations replayed in order, git history: plain Node scripts, zero tokens. The anon key is skipped; a
service_rolekey is critical.The finder never verifies
Hunter agents trace attacker paths across files. Separate verifier agents are told to prove each finding wrong, and cite the mitigation when they do.
Uncertainty gets its own verdict
If one fact outside the repo decides it, like RLS on a table made in the dashboard, the finding becomes
needs_validationwith one question to check.Read-only is a hook, not a prompt
A
PreToolUsehook denies writes, shell operators, web access and pricier models while an audit runs. It fails closed on its own errors.
Three modes
Depth for cost. Add --live to any of them to compare the code with the deployed Supabase and Vercel config.
| Mode | What runs | When |
|---|---|---|
--quick | Prescan, then Haiku verifiers on its leads only | Before every deploy |
| default | Prescan, Haiku recon, 1–6 Sonnet hunters, Sonnet verifiers | First audit, after big changes |
--deep | Default, plus hunters on low-priority files and Opus verifiers for criticals | Before launch or going public |
What you get
- Supabase: tables without RLS,
using (true)write policies, admin checks onuser_metadata, theservice_rolekey in the browser,SECURITY DEFINERfunctions, public buckets. - Vercel: cron routes without
CRON_SECRET, previews wired to production data, tokens behindNEXT_PUBLIC_. - Next.js, Vite, SvelteKit: routes and server actions without auth, secrets in public env vars, client-only admin gates, the middleware bypass (CVE-2025-29927).
- Everywhere: secrets still in git history, XSS, SSRF, open redirects, PostgREST filter injection, denial-of-wallet on LLM endpoints,
pull_request_targetworkflows. - Fixes you review: idempotent SQL migrations in
fixes/*.sqland diffs infixes/*.patch, checked withgit apply --check. - Incremental re-runs: unchanged code keeps its verdicts, accepted risks stay accepted, and a cost gate asks before a large repo spends anything.
Set it up
You need Claude Code. Point it at a local folder or a GitHub URL.
- 1
Add the marketplace
secure-hobby ships as a Claude Code plugin marketplace on GitHub.
claude plugin marketplace add SreekeshOkky/secure-hobby - 2
Install the plugin
It installs the skill, the agents and the read-only guard hook.
claude plugin install secure-hobby@secure-hobby - 3
Run an audit
In Claude Code. The report lands in
~/.secure-hobby/<repo>/run-N/REPORT.md, with fixes next to it. Starting the session withclaude --model sonnetfound the same issues for about 25% less./secure-hobby:audit ./my-app /secure-hobby:audit https://github.com/me/app --quick - 4
Optional: check the live project
Prints the commands to add the official Supabase (read-only) and Vercel MCP servers. You run them yourself, then add
--live./secure-hobby:connect
Know the limits
A clean report is a floor, not a guarantee.
- Measured on one small synthetic fixture, not a benchmark of real-world apps.
- Without
--liveit can't see dashboard-only settings. - It never runs your app, so it can miss logic bugs.
- Only Vercel and Supabase today;
/secure-hobby:new-providerscaffolds a pack for another platform. - Keep the report private: it is a list of ways into your app.