Local CLI · no upload · no account
Before you ship your AI-built app, run one command.
PreShip Scan scans your own project folder for the security mistakes AI coding tools (Lovable, Bolt, Cursor, Claude Code, v0 and others) often leave behind, and explains each one in plain English with concrete fix steps.
npx preshipscan scan .
Free, on npm, no account. Needs Node.js 20 or newer. Never used a terminal? The beginner guide walks you through it.
- Runs 100% on your machineNo network calls, no telemetry, no code upload. It reads files; it never runs, imports or builds them.
- Never copies your code into reportsEvidence is a short description of what matched, with the file, line and column, so you open the exact spot yourself.
- Honest about its limitsHeuristic checks for common misconfigurations, not a full security audit. A clean report is not a guarantee.
What a report looks like
Run one command. You get a short summary in the terminal and a full report that opens in your browser: a clear verdict, the issues to fix first, and step-by-step fixes. The report works offline and is saved on your computer, not in your project.
Two views: for vibe coders and for developers
Every finding is written twice. For vibe coders: what it means in everyday words, what could happen, the exact clicks in Supabase, Firebase, Stripe or your host, a ready prompt to paste into your AI coding tool, and how to check it is fixed. For developers: short and technical, with CWE/OWASP pointers, exact remediation code and references. One switch at the top of the report changes the view.
In the terminal
$ npx preshipscan scan ./my-app PreShip Scan 0.3.0 | Free plan | for vibe coders Scanned 8 files in ./my-app (41 ms) +----------------------------------------------+ | FIX BEFORE YOU SHIP | | 9 findings: 4 critical, 4 high, 1 medium | | 3 shown in full, 6 locked in the Free plan | +----------------------------------------------+ [CRITICAL] SEC001 A secret key is written directly in your code src/lib/stripe.ts:2:35 Found: Stripe live secret/restricted key: sk_l************ A secret key for a paid service (such as Stripe, OpenAI or AWS) is typed straight into one of your code files. Anyone who sees your code can copy it and use it as you. [CRITICAL] SEC003 A secret key is set up to be sent to every visitor's browser src/components/AdminDashboard.tsx:3:67 Found: process.env.NEXT_PUBLIC_SUPABASE_SERVICE_ROLE_KEY ... [CRITICAL] SUPA002 A database rule lets anyone change or delete data ... Found in 1 place. Location and fix: Pro. [HIGH] STRIPE001 Your payment webhook does not check that messages really come from Stripe [HIGH] CORS001 Your API lets any website use your visitors' logins [MEDIUM] SUPA003 Your all-powerful database key is used in browser code ... Heuristic checks, not a full security audit. Runs 100% locally; nothing was uploaded. Full report: C:\Users\you\AppData\Roaming\preshipscan\reports\my-app-2026-11-27_101500.html Opening it in your browser...
table public.profiles has no ENABLE ROW LEVEL SECURITY, match /{document=**}: allow read, write: if true, origin: true with credentials: true. New to the terminal? Read the step-by-step guide.What it checks
Eleven rules for the stacks AI tools use most: Next.js, Vite, Expo, Supabase, Firebase and Stripe. Rules marked heuristic can give false positives and false negatives.
| Rule | Severity | What it looks for | Type |
|---|---|---|---|
SEC001 | critical | Hardcoded secrets in source: Stripe live keys, Supabase service_role keys, OpenAI and Anthropic keys, AWS and GitHub tokens, private keys, Slack and SendGrid tokens, database URLs with passwords | pattern |
SEC002 | high | .env files tracked by git or not covered by .gitignore | exact |
SEC003 | high | Secret-looking values or names behind public prefixes such as NEXT_PUBLIC_, VITE_, EXPO_PUBLIC_ | heuristic |
SEC004 | critical | Secrets inside client build output (dist/, build/, .next/static and similar) | pattern |
SUPA001 | high | Supabase tables in the public schema without Row Level Security | heuristic |
SUPA002 | high | Permissive policies: USING (true) / WITH CHECK (true) on writes, write policies for anon | heuristic |
SUPA003 | medium | service_role referenced in client-side code | heuristic |
FIRE001 | critical | Firestore / Storage rules with open writes, public reads on wildcards or test-mode dates | pattern |
FIRE002 | critical | Realtime Database rules with root ".read": true or ".write": true | exact |
STRIPE001 | high | Stripe webhook handlers without signature verification | heuristic |
CORS001 | high | CORS that reflects the request origin (or uses *) together with credentials | heuristic |
Not covered: running systems, business logic, authentication flows, dependency vulnerabilities (use npm audit), dashboard-only settings that are not in your files, and remote websites. PreShip Scan only scans folders you point it at.
Free and Pro
The scan is identical in both plans, and both get the HTML report. Pro shows where every finding is and how to fix it, and adds CI mode.
| Feature | Free | Pro |
|---|---|---|
| Scan, all finding titles, severities and counts | ✓ | ✓ |
| Full detail: file:line:column, evidence, why, fix steps, docs link | First 3 high or critical findings | Every finding |
| JSON output | Same detail limit | ✓ |
| HTML report in your browser, with both views (for vibe coders and for developers) | Full detail for the first 3 high or critical findings; title and plain-English summary for the rest | Full detail for every finding, including the prompt for your AI coding tool |
--ci mode: fail the build on high/critical findings | — | ✓ |
Free
$0
- Every rule, every scan
- Full detail for the first 3 high or critical findings
- HTML report with a summary, “fix these first” and both views
- No account, no key
Available now: run npx preshipscan scan .
Pro launch pack
$19 one-time
- Location, step-by-step fix and AI prompt for every finding, plus
--cimode - Pro in every version released within 12 months of purchase — and those versions stay Pro forever
- No subscription, nothing renews automatically
- Licence key checked offline by the CLI
- 14-day refund, no questions asked (details)
Pro: coming soon
Pro is not on sale yet and checkout is not open. Versions released more than 12 months after purchase run in Free mode unless you buy a new pack.
Pro: coming soon
Checkout is not open yet. PreShip Scan Pro is not on sale; the Free plan works today. When checkout opens, payment will be handled by Dodo Payments as the merchant of record, and your licence key will be shown once on the confirmation page. We do not email licence keys; Dodo emails you the payment receipt.
After buying, you activate Pro once: preshipscan activate <your key>. The key is checked on your machine; PreShip Scan still makes no network calls.
Questions
Does my code leave my computer?
No. PreShip Scan runs locally, makes no network calls and sends no telemetry. It may start two other programs on your computer: your local git, read-only, to check which files are tracked (--no-git turns that off), and your default browser, through the system's own opener (explorer, open or xdg-open), to show the report (--no-open turns that off). In an interactive terminal it saves the HTML report in your user folder (<config folder>/reports), never in your project; --no-report turns that off.
I am not a security expert. Will I understand the report?
That is what it is made for. The report opens in your browser and starts with a verdict and the three things to fix first. Each finding explains what it means in everyday words and how to fix it step by step, with a prompt you can paste into Lovable, Bolt, Cursor, Claude Code or v0. Developers can switch to a short technical view. See the guide.
Is this a security audit?
No. It is a fast, heuristic check for a short list of common misconfigurations. It does not test your running app, your business logic, your authentication or your dependencies. A clean report does not mean your app is secure.
Will it show my secrets in the report?
No. Reports never copy your source text. A key is described by its type and at most a 4-character format prefix, for example sk_l************. Names that look random are replaced with placeholders such as <variable>. A human-chosen password used as a name (for example a table called hunter2) does not look random and is shown, so do not put credentials in names.
Can it scan someone else's website?
No, by design. It only reads folders on your machine that you point it at.
What happens after the 12 months?
The versions you already have keep their Pro features forever. Versions released after your 12-month update period run in Free mode until you buy a new pack. Nothing renews or charges automatically.
Does Pro need an internet connection?
No. The licence key is signed and verified offline on your machine. Activation stores it in your user config folder.
Can I get a refund?
Yes. Within 14 days of purchase you get the full price back, no questions asked. See the refund policy.
Which stacks does it understand?
Projects built with Next.js, Vite, Expo, Supabase, Firebase and Stripe, plus secret formats from common providers. Other stacks still get secret and .env checks.
Contact
Support, refunds and privacy requests: support@preshipscan.com. Please do not send real secrets or private code in support requests.
Seller: Azizbek Saatov, individual entrepreneur (Republic of Uzbekistan), Gidjuvon 13, Tashkent, Republic of Uzbekistan. Payments are handled by Dodo Payments as the merchant of record.