SIGSHIP reads your repo on your own machine and lists what will break in production: leaked keys, open databases, unverified webhooks, AI routes with no spending brake. It exits 0 only when it finds nothing serious, which gives you and your coding agent a real test for done.
npx sigship
No signup, no telemetry, no runtime dependencies. The free tool never touches the network.
Contents
- What you get
- Quick start
- Commands
- Pull requests
- Coding agents (MCP)
- Agents: what the tools return
- Badge
- Sign in
- What it checks
- Privacy
- Plans and licence keys
- Limits
- Contributing and security
What you get
SIGSHIP read 6 files in 22 ms, ran 17 checks
Postmortem, written before the outage. Worst first.
SEV-1 Your Stripe webhook accepts anything
src/api/stripe-webhook.ts:3 Handles Stripe events with no signature check in this file.
Someone posts a fake "payment succeeded" event to your endpoint and
gets your paid plan for free.
SEV-2 Your AI route has no spending brake
src/api/chat.ts:2 This route calls a paid AI API and the project has no rate limiter.
One script loops on this endpoint overnight and you wake up to the invoice.
NO-GO 1 SEV-1, 1 SEV-2, 0 SEV-3. Exit 1.
Paste the fixes into your AI tool: npx sigship --prompt
| Exit code |
Meaning |
0 |
GO. No SEV-1 or SEV-2 findings. |
1 |
NO-GO. Something blocks launch. |
2 |
SIGSHIP could not run, for example the folder does not exist. |
A GO means these checks found nothing that blocks launch. It does not prove the app is safe.
Quick start
Requires Node.js 22 or later.
npx sigship # check the current folder
npx sigship path/to/app # check another folder
npx sigship --prompt # turn every fix into one prompt for your AI tool
npx sigship --prompt --tool lovable # worded for Lovable, Cursor, Bolt, Claude Code, Replit or Windsurf
npx sigship --online # also ask OSV about your packages (the one network call, only when you ask)
npx sigship ui # open the same results as a dashboard in your browser
Commands
| Command |
What it does |
npx sigship [folder] |
Check a project and print the postmortem. |
npx sigship ui [folder] |
Open a local dashboard: verdict, findings, a copy-the-fix-prompt button and re-run. |
npx sigship init [folder] |
Add a pull request check and a definition of done to AGENTS.md and, when it exists, CLAUDE.md. With --hook, add a pre-commit hook too. |
npx sigship history [folder] |
Find secrets committed in the past, even ones a later commit removed. |
npx sigship hook [folder] |
What the pre-commit hook runs: the secret checks on the staged files only. |
npx sigship mcp |
Start the MCP server for coding agents. |
npx sigship badge <site> |
Print the badge code for a site after a GO. See Badge. |
npx sigship login, npx sigship logout |
Sign in to SIGSHIP Cloud so each check reports its verdict, or stop. See Sign in. |
| Option |
What it does |
--prompt |
Print the fixes as one prompt for your AI tool. |
--tool <name> |
Word the prompt for one tool: lovable, cursor, bolt, claude, replit or windsurf. |
--json |
Print the result as JSON. |
--markdown |
Print the result as Markdown, for pull request comments. |
--sarif |
Print the result as SARIF 2.1.0, for GitHub code scanning and other tools that read it. |
--online |
Also check for packages with known vulnerabilities through OSV. The one free check that uses the network, and only when you ask. See Privacy. |
--strict |
Also block on SEV-3 findings. |
--report |
Also write sigship-report.html for a client. Needs a licence key. |
--brand <name>, --logo <file> |
With --report, put your name and logo on the report instead of SIGSHIP's. |
--no-open |
With ui, print the dashboard link without opening a browser. |
--version, --help |
Print the version or the help. |
Accepted risks
Sometimes a finding is real but you have decided to live with it for now. Put sigship-accept.json in the folder you check:
[
{ "rule": "cors-wildcard", "file": "src/api/public.ts", "reason": "This endpoint is public by design.", "expires": "2026-12-31" }
]
rule is the check id, file is optional, and expires is a date. A matching finding is listed as an accepted risk and no longer counts for the verdict, which reads GO with 1 accepted risk. An expired or malformed entry is ignored with a warning, so the finding counts again. There is no flag, command or MCP tool that accepts a risk: only that file, which goes through code review like everything else.
Secrets in git history
npx sigship history
A secret that was committed and later removed is still in every clone. This reads git log -p for up to 5,000 commits or 50 MB, runs the secret checks on every added line, and prints the commit and file of each secret, with whether a later commit removed it. It never prints the value. It is a separate command because it is slower than a scan.
Pre-commit hook
npx sigship init --hook
Writes .git/hooks/pre-commit, or adds a line to .husky/pre-commit when your project uses Husky. The hook runs only the secret checks, only on the staged files, so it takes well under a second, and it blocks a commit that would add a secret.
The dashboard listens on 127.0.0.1 only, answers only the private link it prints, and serves findings, never file contents. Press Ctrl+C to stop it.
Pull requests
npx sigship init
Adds .github/workflows/sigship.yml, which fails a pull request that brings back a SEV-1 or SEV-2 problem, and a definition of done in AGENTS.md (and in CLAUDE.md, when that file exists) that tells coding agents to run SIGSHIP before saying they are finished. It never overwrites an existing file.
For GitHub code scanning, run npx sigship --sarif > sigship.sarif in the workflow and upload it with github/codeql-action/upload-sarif. Each result carries a stable fingerprint, so a finding stays one alert across runs.
Coding agents (MCP)
Claude Code:
claude mcp add sigship -- npx -y sigship mcp
Cursor, in .cursor/mcp.json:
{ "mcpServers": { "sigship": { "command": "npx", "args": ["-y", "sigship", "mcp"] } } }
The agent gets three tools, sigship_check, sigship_explain and sigship_badge, a launch-check prompt, and one instruction: don't say it's done while the verdict is NO-GO. SIGSHIP is listed in the MCP Registry as io.github.sigship/sigship.
Agents
What the MCP tools return, for anyone wiring SIGSHIP into an agent.
sigship_check takes an optional path (default: the folder the server was started in) and strict. It returns one summary line as text and the same facts as structured content with a schema:
| Field |
What it is |
verdict, verdictText, go |
GO or NO-GO, the verdict in words (GO with 1 accepted risk), and a boolean. |
summary |
One line: verdict, counts, what changed since the last run, and after a GO the badge command. |
counts |
sev1, sev2, sev3. |
findings |
One entry per check that found something, worst first: id, severity, title, fix, count, where (up to 10 places, each file, line, detail) and more, how many places are not listed. |
accepted |
Accepted risks from sigship-accept.json. They don't count for the verdict. |
since |
Compared with the last run of the same folder on this machine: fixed, left, new and previousRun. Null on the first run. The comparison lives in a small file in your cache folder that lists check ids and file names, never code. |
fixPrompt |
The fixes as one brief, worded for the connected client (Claude Code, Cursor, Windsurf and others get their own --tool template). |
checksRun, filesRead, warnings |
How much was read, and anything that went wrong on the way. |
sigship_explain takes a check id and returns its title, forecast and fix. sigship_badge takes a site (and an optional path), checks the folder first, refuses while the verdict is NO-GO, and otherwise returns the badge id, level, embed code and verify link. It makes no network call without a licence key.
The launch-check prompt (optional arguments path and site) tells the agent to check, fix worst first, re-run until GO, then get the badge. There is no tool that accepts a risk; only sigship-accept.json does that.
Badge
After a GO, show it:
npx sigship badge myapp.com
This prints the Self-checked badge for the site: an image at sigship.dev/b/<ID>.svg wrapped in a link to its record at sigship.dev/verify/. The ID comes from the level and the site name, so a badge only fits the site it was made for. No account is needed and nothing is sent anywhere. Without a site, the command uses homepage from package.json.
With SIGSHIP_KEY set, the same command registers the site for the Deep self-check badge instead. That sends the key and the site's host name to api.sigship.dev, nothing else. If the server can't be reached or refuses the key, you get the Self-checked badge and a line saying why.
The Self-checked badge says you ran SIGSHIP yourself. What each level means is on sigship.dev/badge.
Sign in
npx sigship login
SIGSHIP shows a short code and opens app.sigship.dev in your browser. Approve the code there, and the terminal saves a token in your cache folder (~/.cache/sigship/token, or under XDG_CACHE_HOME, readable by you only). npx sigship logout deletes it.
While you are signed in, every check reports its result to SIGSHIP Cloud so your dashboard shows it. The report is exactly: a one-way fingerprint of the repo (salted with your token), the SIGSHIP version, the SEV-1, SEV-2 and SEV-3 counts, GO or NO-GO, the date, and the folder's name. Never code, file names or findings. It is sent after the check finishes, so it can neither slow the check down nor fail it; if the server can't be reached, nothing is said and the exit code is unchanged. Set SIGSHIP_NO_REPORT=1 to keep a check to yourself without signing out.
Plugins
Claude Code: claude plugin marketplace add sigship/sigship, then claude plugin install sigship@sigship. You get the MCP server, a /sigship:launch skill that fixes findings and re-runs until GO, and an optional launch mode that will not let a session finish on NO-GO (off until you switch it on, see plugins/sigship). Cursor, Codex, Copilot, VS Code and Kiro can load the folder in agent-plugins/sigship.
What it checks
17 checks, chosen for how AI-built apps actually fail. Each links to a page with what goes wrong and how to fix it.
SEV-1: blocks launch, exposes data or money
Live secret in code ·
Committed .env ·
Server secret with a browser-visible name ·
AI key in the browser ·
Table with no row level security ·
Policy that lets anyone write ·
Unverified Stripe webhook ·
User input in SQL
SEV-2: blocks launch, abuse is easy
AI route with no rate limit ·
Admin role in localStorage ·
Unsanitised HTML