$ /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.

Eval fixture: a Next.js + Supabase app with 24 planted issues
  1. --quick71–75% recall, 94–95% precision$0.58
  2. default79–92% recall, 90–96% precision$0.77–0.80
  3. 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.

  1. 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_role key is critical.

  2. 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.

  3. 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_validation with one question to check.

  4. Read-only is a hook, not a prompt

    A PreToolUse hook 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.

ModeWhat runsWhen
--quickPrescan, then Haiku verifiers on its leads onlyBefore every deploy
defaultPrescan, Haiku recon, 1–6 Sonnet hunters, Sonnet verifiersFirst audit, after big changes
--deepDefault, plus hunters on low-priority files and Opus verifiers for criticalsBefore launch or going public

What you get

  • Supabase: tables without RLS, using (true) write policies, admin checks on user_metadata, the service_role key in the browser, SECURITY DEFINER functions, public buckets.
  • Vercel: cron routes without CRON_SECRET, previews wired to production data, tokens behind NEXT_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_target workflows.
  • Fixes you review: idempotent SQL migrations in fixes/*.sql and diffs in fixes/*.patch, checked with git 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. 1

    Add the marketplace

    secure-hobby ships as a Claude Code plugin marketplace on GitHub.

    claude plugin marketplace add SreekeshOkky/secure-hobby
  2. 2

    Install the plugin

    It installs the skill, the agents and the read-only guard hook.

    claude plugin install secure-hobby@secure-hobby
  3. 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 with claude --model sonnet found the same issues for about 25% less.

    /secure-hobby:audit ./my-app
    /secure-hobby:audit https://github.com/me/app --quick
  4. 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 --live it 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-provider scaffolds a pack for another platform.
  • Keep the report private: it is a list of ways into your app.

How it was built

The design, the wrong turns and the measurements are in the write-up.

  1. secure-hobby: a read-only security audit for weekend apps
  2. AI code review: how AI-generated code changes PR reviews
esc