Security and troubleshooting
Read the project’s security policy before authorizing execution.
- Preview with
verify --plan. Scripts require--approve, configured network access requires--allow-network, and external HTTPS origins require a separate allowlist. - Run untrusted projects inside an isolated disposable VM or container with an unprivileged user, a scrubbed environment, and independently controlled filesystem and network access. Approved project scripts and their descendants have that user's access. Package managers can read local configuration and fetch anything their permissions allow.
- ShipWitness omits common credentials and known environment values from text outputs. Project-controlled text can still contain secrets in unrecognized formats. Screenshots are raw pixels. Review evidence before sharing.
- SQL checks flag patterns in declared files without connecting to databases. They can miss generated SQL, dialect-specific operations, locking and data-dependent effects. Review high-risk migrations with your team.
skippedrecords missing configuration, unavailable adapters, permissions or prerequisites. A mandatory skipped check fails policy.errorindicates the check lacked trustworthy evidence.timeoutmeans its deadline elapsed.- For browser errors, verify Chromium is installed and sandboxing is supported by the host. Serve fixture assets on the configured origin and check that the page has no redirect.
- If a package audit produces an error, check the lockfile, package-manager version and registry availability. A registry error fails the audit.
- Reports accumulate under
.shipwitness. Keep that directory private and manage retention yourself.
Docker isolation
Start a local Linux Docker engine and fetch the pinned image before using isolation.
docker pull node:24-bookworm-slim@sha256:f3690d9da7fcdea20facb2f14f08cbd0f6e442164d8b4bae44f11e850597b48f
shipwitness verify --only build,test --approve --dockerDocker mode supports npm project scripts. It copies a bounded source snapshot to a disposable volume, omitting links, environment files, common credential files, and installed dependencies. Scripts run as a non-root user with no network, a read-only container root, dropped capabilities, and CPU, memory, process, and time limits. Other local checks continue to run on the host.
For a project with an npm lockfile, add --docker-install to allow dependency installation in a separate networked container with npm lifecycle scripts disabled. Installation can reach configured dependency sources. Only enable it for reviewed lockfiles on a network with suitable controls. The subsequent script container has no network access. Projects that need install hooks, private credentials, or larger resource budgets may require their own reviewed sandbox.
Use report --share for metadata intended for sharing and review it before posting. report --verify-integrity checks stored JSON and screenshot bytes for changes. SHA-256 checksums detect modification against a trusted copy of the checksum. They do not authenticate the author when both the evidence and checksum can be replaced.