Features

Verification and Proof

A fix is a claim. DeployReady checks it again, and it says so when it cannot tell.

Verify a finding#

Run verify <n> in the interactive session, or call the verify tool over MCP. It re-runs the check for one finding without changing any files.

StatusMeaning
fixedThe re-check passed. For live findings this needs proof, described below.
still-presentThe same issue still shows up.
inconclusiveThe re-check could not prove either result. The detail message says why.

Typical reasons for inconclusive:

  • There is no running app in the session, so a live finding cannot be re-requested.
  • No routes were discovered, so there is nothing to re-check. DeployReady does not guess routes.
  • The server is down or erroring. A dead endpoint is not counted as a fix.
  • An active finding needs your tokens, and none were available. Set DEPLOYREADY_TOKEN (and DEPLOYREADY_TOKEN_B for the second identity) in the environment of the shell or the MCP server.
  • The finding came from AI analysis. Those are inferred and cannot be checked mechanically.

Tokens for verify#

verify from the shell and from the MCP server reads DEPLOYREADY_TOKEN and DEPLOYREADY_TOKEN_B from the environment, so a coding agent can confirm live fixes too. Use test-user tokens. For MCP, start the server with --allow-live and set them with claude mcp add -e; without --allow-live, MCP verify re-checks static findings only. See MCP. Never paste a token into a chat.

Proof#

Every live and active finding carries a proof so you can reproduce it, including slow endpoints, cache headers, version banners, and stack-trace leaks. It appears in the terminal, in show, in the Markdown and HTML reports, and in --json output. It passes through the secret redactor first.

FieldContents
requestA reproducible curl command. Your tokens appear only as $TOKEN and $TOKEN_B. Supabase keys appear as placeholders.
statusThe HTTP status of the response.
responseA truncated, redacted excerpt of the response body.
controlA control request showing the endpoint otherwise works, such as the owner’s own request.

The control matters. Without it, a 404 or a server error could look like a fixed endpoint.

Unauthenticated write routes#

At that level the active scan sends each discovered DELETE or PATCH route once, with no credentials, no body, and a record id that cannot exist (__deployready_probe_<random>__). A 2xx answer means the route handles writes for anonymous callers, unless a random-path control also answers 2xx. 401 or 403 means auth is enforced. Anything else is not reported.

  • Only routes whose every path parameter can be filled with a non-existent id are probed.
  • Routes without a parameter, such as DELETE /api/session, are skipped.
  • PUT is skipped because it is often an upsert and could create data.
  • This probe never runs against a non-loopback host.

Probing a host you own#

Active probes target localhost by default. To test a host that is not on your machine, such as staging, name it explicitly:

terminal
npx deployready@latest analyze . --active \
  --token "$JWT_A" \
  --active-url https://staging.example.com \
  --i-own-this-target staging.example.com
  • --i-own-this-target is repeatable. Only the exact host is allowed. Wildcards and subdomains are not.
  • You can also list hosts as ownedTargets in your config.
  • The write-route probe stays loopback-only even with this flag.