Software release checks
Catch what your tests missed.Catch what yourtests missed.
Beyond a green check.
Defined requirements.
Observable behavior.
Can someone give away ownership of an account? Find out before you ship.
- NO_SHIPRole escalation
- NO_SHIPCross-team deletion
- NO_SHIPAdmin-invite regression
- SHIPEvery rule held
- BLOCKEDMissing evidence
- NO_SHIPRole escalation
- NO_SHIPCross-team deletion
- NO_SHIPAdmin-invite regression
- SHIPEvery rule held
- BLOCKEDMissing evidence
Every defective build in the study
- Jestpassed
- TypeScriptpassed
- ESLintpassed
- Prettierpassed
- Playwrightpassed
- ShipGateNO_SHIP
Your tests passed. The behavior didn’t.Your tests passed.The behavior didn’t.
ShipGate checks your rules against evidence from your own tests, bound to the commit, and answers SHIP, NO_SHIP or BLOCKED.
$ npm install --save-dev @shipgate.dev/cli
The static scan is free and needs no account. Contract verification is part of a paid team pilot. Talk to us
Who can make someone an owner?Who can makesomeone an owner?
We brought back a bug in the BoxyHQ SaaS Starter Kit. Compare the same request before and after the fix.
Permission check× NO_SHIP
An admin promoted a member to owner.
- Request
PATCH /api/teams/acme-831a65/members- Response
HTTP 200- Database role
MEMBER→OWNER
22 passed2 failed
Release refused. This revision restores the bug fixed in #1226.
Vulnerable revision. NO_SHIP. 22 of 24 rules passed.
-+++++++++: .+++++= :-+++++**++++=: .-++++++++++++++=: .=++++++: =+++++++: .=++++++: -+++++++++++++++++-.
-%%%%%%%%%%$- :SSSSS# -%$@@@@@@@@@@@@@@@@%= =#@@@@@@@@@@@@$$$$$$$: %$$$$$##= %######&= %&&&&&&&= *8888888888888888%%%%#=
=8%S@$@#&8%S@= :S@$@$# *@$&8%S@$@$#8%S@$@$#8%#. +$@$#&8S@$@$#&8S@$@$#&% #$#&8%@$= %$#&8%S$= #%S@@$#&= #$#&8%S@$$#&8%S@$$#&8%S+
=&%@$&%@@#%@@#+ :S$#8S# +$&%$$&%@*: :+$@#8S@#8% .%@@#%@@#%-::::::----=++ #$&%@@&%= %$#8S$$8= #$$&%@@&= #@@#8S@#+::::::*&S$$&%@$.
=#%@&S@8@$8$#%$* :S$8@$# $&S@8@$8* =$8@$%$#%: :&S@8@$8$+ #@8@$8$#= %@$%$#%@= #$8@#%$#= #8@$8$#%- :@#%$#%@&:
=$S$%$#@8@8$8$&$#.:@#S#S# :@%@8@8$&- .$S$%$%@8- .$%$%@%@8$8$&$&@&@#S#%= #@8@8$8$&@&@#@#S$S$%$%@%= #&$&@#@#= #$%@%@8@- =#@#S$S$%.
=$S#$8=-$@8@%#@8@#-@&@%$# -$S&$%$S&: $@8@S#@8= =$$S&$8$S#$8@S#$8@S#@8+ #@%$@&@%$@&$%$S&$8$S#$8$= #S#@8@%#= #@&@%$@&#######$S&$8$S#%
=@S8$@= :$&$@%#@S&$@%#$S# :#$S&$@8#- .&@@8#$%&- .+*%#$$$$$$$@S8$@%#@S$ #$S&$@%#%+++++++$&@@8#$S= #$%&@@8$= #8$$%&@S8$$%#@S8$$%#@S#.
=$S%&#= .##@$S%&$@@S8&$# $$@@S8#$* =8#$$@%&#: #@@%8#$$@ #$@%8#$$= %#@$S%&#= #$@@S8&$= #$$@%8#$############*-
=@@SS%= .%#$$$@@$$@@SS# +&###$$@@%-...-*%88&&&##% -%*++=-------=*$%88&&### #$@@SSS%= %@@$$@@@= #8&&##$$= #@@SS%%8-
=S@@$@= *8%SS@@$$@$$# +%S@@$$@@$##&&8%%SS@$$%. =$$##&88%%S@@$$@$$##&&8- #$$@@$##= %$@@$$#&= #S@@$$@$= #8%%SS@$-
=%@@$&= +@#&%S$$#8S* :*#8S@@#&%@$$&8S$@$%- .#@#8%@@$&%S$$#8S@@$$%: #@@#&%@$= %@$$&8S$- #$$&8S$@= #$&8S$@#-
:=====: -========- .:=+++++++++=-. .-=++++++++++++=-: -=======: -======: -=======: -=======.
Six seeded defects. Six caught.Six seeded defects.Six caught.
- 6601234567890123456789/6
- seeded defects caught
Each one passed the app's own checks.
- 32301234567890123456789201234567890123456789
- recorded runs
All reproduced.
- 24201234567890123456789401234567890123456789
- contract clauses
Written for this application.
- 1101234567890123456789
- application evaluated
BoxyHQ SaaS Starter Kit, open source, Apache-2.0.
ShipGateRecorded run · BoxyHQ SaaS Starter Kitverifier sha256:4c6f1a13…5d54 Recorded defects
- Role escalation
- Cross-team deletion
- Admin-invite regression
Study
6 of 6 seeded defects caught across 32 recorded runs.
An admin promoted a member to owner
NO_SHIP for An admin promoted a member to owner- Clauses
- 24201234567890123456789401234567890123456789
- Passed
- 22201234567890123456789201234567890123456789
- Failed
- 2201234567890123456789
- Could not establish
- 0001234567890123456789
The app's own CI
- Jestpassed · unit tests
- TypeScriptpassed · tsc --noEmit
- ESLintpassed · lint
- Prettierpassed · format check
- Playwrightpassed · 24 end-to-end tests, 0 failed
Every check green. The change merges.
Give every change a clear answer.Give every changea clear answer.
Three steps, and what each one does not prove. Contract verification is part of the team pilot.
Check what happened
Your tests try the action and record the result. ShipGate checks that evidence against the rule for this exact version of the code.
Does not: Get written by ShipGate. A wrong test gives a wrong verdict, and evidence for another commit is refused.
Proof record
Every verdict ships with its record: the artifact, the contract, the verifier and what was observed, for the exact commit under review.
Does not: Describe behaviour outside the written clauses.
role.admin_grants_ownerrole.admin_changes_ownerapikey.delete_by_idcreate.adminpm.member.role.admin_grants_owner · expects deny
Choose a rule
Start with something your customers count on. For example, only the account owner can transfer ownership.
Does not: Cover behaviour nobody wrote down, or prove who approved the lock. Protect it with code review.
verifySHIPexit 0NO_SHIPexit 1CONFIGexit 2BLOCKEDexit 3WITHHELDexit 4SHIP · exit 0 · every required clause passed; contract approved
Decide whether to ship
See which rule held, which one broke, or where more evidence is needed. Your team approves the rules used for release.
Does not: Guess. BLOCKED is never a pass.
NO_SHIP · acceptance refused15:16–15:20 UTC · artifact-sha256-v1:8c2fdbde…a84e- Change under test
- An admin promoted a member to owner, on BoxyHQ SaaS Starter Kit at
abc9b686823c - Artifact
artifact-sha256-v1:8c2fdbde52b8…a84e- Contract
boxyhq-saas-starter-kit@1.0.0, 24 clauses, not yet approved by the project's owners- Clauses
- 22 passed · 2 failed · 0 could not be established
pm.member.role.admin_grants_owner
An admin of team A cannot make anyone an owner.
- expected
- the request is refused
- request
- PATCH /api/teams/acme-f84755/members
- response
- HTTP 200
- effect
- member role: MEMBER → OWNER
pm.member.role.admin_changes_owner
An admin of team A cannot change the owner's role.
- expected
- the request is refused
- request
- PATCH /api/teams/acme-f84755/members
- response
- HTTP 200
- effect
- owner role: OWNER → MEMBER
Start with a local scan.Start witha local scan.
Finds missing packages and API calls with no matching route in JavaScript and TypeScript. Local, no account, Node.js 20 or later.
Terminal
1npm install --save-dev @shipgate.dev/cli
2npx shipgate init # GitHub workflow that scans each pull request
3npx shipgate doctor # checks Node.js, git and sources
4npx shipgate scan . # advisory static scan, no setup needed
Install, write the workflow, check the setup, scan.
shipgate.yml
1name: ShipGate
2on:
3 pull_request:
4permissions:
5 contents: read
6jobs:
7 shipgate:
8 runs-on: ubuntu-latest
9 steps:
10 - uses: actions/checkout@v4
11 with:
12 ref: ${{ github.event.pull_request.head.sha }}
13 fetch-depth: 0
14 - uses: actions/setup-node@v4
15 with:
16 node-version: 20
17 - run: npm install --no-save --no-package-lock @shipgate.dev/cli@4.0.0
18 - run: npx shipgate scan . --changed-since "origin/${{ github.base_ref }}"
npx shipgate init writes this: read-only, no secrets, findings as pull-request annotations.
What a verdict meansWhat a verdict means
Three verdicts, three exit codes, as CLI 4.0.0-rc.0 printed them on our own test repository.
SHIP
exit 0
Every required clause passed on this commit and a reviewer approved the contract.
$ npx shipgate verify . --contract shipgate.contract.json --lock shipgate.contract.lock.json --evidence shipgate-evidence.json
SHIP (acceptance: ACCEPTED) shipgate-install-demo@1.0.0
artifact artifact-sha256-v1:ed20ba30917b…
clauses 4 pass / 0 fail / 0 inconclusive / 0 missing; exit 0
NO_SHIP
exit 1
The evidence shows a required rule was broken. The report identifies it.
$ npx shipgate verify . --contract shipgate.contract.json --lock shipgate.contract.lock.json --evidence shipgate-evidence.json
NO_SHIP shipgate-install-demo@1.0.0
artifact artifact-sha256-v1:11d8e4355fa7…
FAIL member.reads.other-order (A customer cannot read another customer's order.): fail
clauses 3 pass / 1 fail / 0 inconclusive / 0 missing; exit 1
BLOCKED
exit 3
ShipGate couldn’t establish the result. Missing, inconclusive or outdated evidence needs attention. Never a pass.
$ npx shipgate verify . --contract shipgate.contract.json --lock shipgate.contract.lock.json --evidence shipgate-evidence.json
BLOCKED shipgate-install-demo@1.0.0
artifact artifact-sha256-v1:07ec996a5dd8…
REQUIRED_CHECK_MISSING: a required clause has no evidence
MISSING admin.reads.other-shop-order (A shop admin cannot read another shop's orders.): no evidence
clauses 3 pass / 0 fail / 0 inconclusive / 1 missing; exit 3
Two ways in.Two ways in.
Scan any repository free. The pilot has a fixed scope and one acceptance test, agreed upfront.
Free scan
Any developer on a JavaScript or TypeScript repository.
Free
No account, no API key, no network access.
- Blocks an import of a package nothing installs
- Blocks a Node built-in or server-only code in a browser module
- Blocks a call to a Next.js API route with no handler
- GitHub annotations, a job summary and SARIF
- init writes a read-only workflow; doctor checks the setup
Start the free scanTeam pilot
Scoped to the team-management or API-key routes of an existing product.
Quoted per engagement
One app, one boundary, a fixed scope agreed before the build.
- The access decisions your rules leave unspecified, listed for you
- The decisions you approve, turned into runnable checks
- A code change that breaks one, caught with evidence
- Evidence bound to the exact commit under review
Talk to us about a pilotBring one rule. Leave with proof.Bring one rule.Leave with proof.
:=++++++++++++++-. -++++++= .+++++++= -++++++= :+++++++++++++++++=:
:%%%%%%%%%%%%%SSSSSSS+ -SSSSS@@# -@@@@@@$# :$$$$$$$# :@@@@@@@@@@@@@@@@$$$$$*.
:8%S@$@#&8%S@$@#&8%S@$@ -S@$@$&8# -S@$@$#8# -$#&%S@$# +S@$@$#&8S@$@$#&8S@$@$#$.
%&%@$&%@$=-::::::---=+* -S$$&%$$# -8@@#8S@# -8S$$&%$# +&%@@#%@#::::::=$#8S$$&S=
##%@&S@8#. -%@&S@8@# -&S$8@$%# -S@&@$8@# +@&S@8@$% #@$8@$%$*
%$S$%$%@8@8$8$&$&@#@#+. -%@%@8@8$&$&@&@#S#S$S$%$# -$8$&@&@# +S$%$%@%% .$&@#S#S$=
.#S#$8@S#@8@%#@8@%#@&@$. -%$S&$%$S&$8$S#$8@S#@8@S# -#@&@%$@# +&$%$S&$$######$#$8@S#@$.
=*%##$$$$$$$#@S&$@%#$- -8#$S&$@$+++++++*$%&@@8## -8$$%&@S# +@S8$$%#@S8$@%#@S8$@%#$-
-%&$@@S8&- -8&$@@S8# -@%8#$$@# -S%&#@$S# +S8&$@@S$###########%=.
#%++=--------+#$@@$$@@S: -8&&###$# -%%88&&&# -@$$@@SS# +&&##$$@%
.SS@@$@@$$#&&88%SS@@$$@* -88%%S@@# -8%%SS@$# -#&&88%S# +@$$##&8%
+%@@$&%S$$#8S@@#&%S$#= -&%@$$&8# -&8S$@#8% -8S$@#8%# +S$@#8%@%
:=+++++++++++++=: .=======- .======-. .=======- :=======-We help your team write it down, turn it into a check, and catch a change that breaks it.
- Runs where you run it.No account, no network, no telemetry, read-only in CI.
- Bound to the commit.Evidence for another commit is refused, not reused.
- Plain answers.BLOCKED is never a pass. A SHIP covers the written clauses and nothing else.