
shipwitness
io.github.saifmodan2006/shipwitness
Inspect local software verification plans, results, and evidence.
Documentation
ShipWitness
AI writes. ShipWitness verifies.
ShipWitness runs software verification locally and records the evidence behind a release decision. Use it to check a project before merging, deploying, or claiming a task is complete.

Quick start
Requires Node.js 24 LTS. Install ShipWitness from npm, then run the first check in a project directory. The GitHub release also provides the tarball and its checksum.
Try the first check from a project directory without a global install.
npx --yes shipwitness@0.1.1 verify --only secrets
For repeated use, install the CLI globally.
npm install --global shipwitness@0.1.1
shipwitness verify --only secrets
To build from source, use pnpm 11.25.0.
git clone https://github.com/saifmodan2006/ShipWitness.git
cd ShipWitness
pnpm install --frozen-lockfile
pnpm --filter shipwitness... run build
node packages/cli/dist/cli.js -C examples/working verify --plan
node packages/cli/dist/cli.js -C examples/working verify --approve --only build,test,secrets
node packages/cli/dist/cli.js -C examples/working dashboard
From a project with ShipWitness installed, shipwitness verify --only secrets records a first run without starting your app or running its scripts. Use shipwitness init to discover scripts and set mandatory checks. Review shipwitness verify --plan before approving scripts.
Run the intentionally broken fixture to see failing build, test, environment and migration checks.
node packages/cli/dist/cli.js -C examples/broken verify --approve --only build,test,environment,migrations --ci
What it verifies
| Area | Evidence |
|---|---|
| Project scripts | npm and pnpm build, lint, type-check and test output, exit codes and timings |
| Environment and API | Missing variable names, HTTP status and JSON field type checks |
| Browser and visual | Desktop and mobile overflow, axe findings, page errors and exact PNG comparison |
| Security and migrations | Local credential signatures, package-manager advisories and SQL risk patterns |
| Release decisions | Mandatory checks, requirement mappings, Git-aware secret scanning and saved run comparisons |
The CLI, dashboard, MCP server, and GitHub Action share the same engine and run format.
The read-only MCP launcher is available through the official MCP Registry. Set SHIPWITNESS_PROJECT_ROOT to the absolute path of the workspace you want it to inspect.
Find the CI Action on GitHub Marketplace and the MCP server on Glama.
The ShipWitness verification skill is available on skills.sh.
flowchart LR
CLI[CLI] --> Engine[Verification engine]
MCP[Stdio MCP] --> Engine
Action[GitHub Action] --> CLI
Engine --> Checks[Checks and trusted plugins]
Checks --> Policy[Evidence and release policy]
Policy --> Runs[(Local JSON and screenshots)]
Runs --> Reports[JSON and HTML reports]
Runs --> Dashboard[Loopback dashboard]
Security and limits
Preview plans before approving scripts or network requests. Approved scripts run with the current user's permissions. Use an isolated disposable environment for untrusted projects. Secret and migration checks are heuristic. A skipped mandatory check fails the release policy. See SECURITY.md.
Use --docker to execute npm checks in disposable Linux containers with the network disabled during script execution. Use shipwitness report --share for a summary without logs or images, and shipwitness report --verify-integrity to verify the stored SHA-256 hashes.
Read the documentation site for the CLI, Docker mode, configuration, agent hooks, GitHub Actions, and plugin integration. See release instructions and contributor setup.
See the generated-code failure and fix demo and measured benchmarks and test coverage. MIT licensed.
If you try ShipWitness on your own project, share your setup and observations in the independent testing discussion.

shipwitnessnpm install shipwitness