Skip to content

Verification statuses

Luis edited this page Dec 2, 2026 · 4 revisions

Verification statuses

Summarizes ADR 0019 (PoC templates and oracles), ADR 0020 (repetitions, bundle, creep reproduce) and ADR 0021 (PoCs only in nightly mode) for main (v0.2). If they disagree, the ADRs win.

Every finding has exactly one of four statuses. Strongest first:

Status Meaning Who decides In SARIF
verified a PoC run in the sandbox proved it against the app the repository builds, in every run creep's oracle, never the model result, level error
verified with a rate the PoC verified in some runs only: verified in 3/5 runs, intermittent (a race, a flaky app) same result, level error, with poc_verified_runs and poc_runs
probable the reader judged the sink vulnerable; no PoC proved it (pr mode, no sandbox, no template for the class, or a PoC that never verified) the model, through the reader result, level warning
discarded the reader judged the sink not vulnerable the model, through the reader not a result (JSON and Markdown only)
not_evaluated nobody decided: with a reason ID such as step_cap, budget, low_risk, inconclusive, invalid_output, partial_slice, scanner_failed creep not a result (JSON and Markdown only)

creep why <id> shows the evidence behind any of them. A not_evaluated finding (except the tier's by-design low_risk skip), a verdict from a partial slice, or a file not evaluated in full (except vendor, generated, minified and --changed unchanged files) makes the run incomplete (exit 4); discarded does not.

How a finding becomes verified

Only a nightly scan (--mode nightly, or a GitHub Actions schedule event) with sandbox.enabled and a usable runtime verifies. A pr scan never builds the app or runs a PoC, and prints verification: pr mode builds no app and runs no PoC, so findings stay probable; --mode nightly verifies.

  1. After the analysis, creep builds the app offline from the repository's own compose file or Dockerfile, reads its port (EXPOSE), starts the synthetic database empty, runs the app's own migrate command when its compose file has one (v0.6, #364), mounts creep's synthetic env file read-only, and starts the app.

  2. For each probable finding whose class has a template, in report order and at most 16 per scan, the model is asked (through the gateway, redacted slice only) for a PoC: one closed template with typed parameters.

    Class Templates Oracle (decided by creep)
    sqli sql_payload delay: pg_sleep(3) takes at least 2.5 s longer than two baselines; or marker: a creep_<nonce> table appears in the run's database
    path_traversal path_payload the random content of /etc/creep-canary, a file creep plants in the app container, is in the response and not in the baseline
    template_injection http_request, http_sequence creep's probe with a fresh nonce comes back unescaped in an HTML response

    No oracle takes its success value from the model, and a status code never verifies on its own. Other classes (ssrf, command_injection, nosql_injection, scanner findings, access-control flaws) have no template and stay probable.

  3. Each PoC runs 5 times (verify.DefaultRuns), each with a fresh nonce:

    • 5 of 5: verified ("verified in 5/5 runs").
    • 1 to 4 of 5: verified, with its rate and "intermittent".
    • 0 of 5: the PoC is discarded and the finding stays probable (listed as not reproduced). The repository builds the app, so it could make its own PoC fail on purpose; a PoC can only raise a status, never lower it.

An invalid PoC from the model skips that finding; a model error or a sandbox error ends the stage, and every finding left counts as not run. PoC calls count against budget.max_calls and budget.max_tokens and run within budget.max_seconds; creep estimate does not count them.

The rate appears in the text summary, Markdown and SARIF. JSON v1 does not change: a JSON consumer reads verified for 3/5 and 5/5 alike.

Verification outcome

The report (text, Markdown and SARIF, not JSON) says what the sandbox did: the app was built and how many PoCs ran (PoCs ran for N findings: X verified in every run, Y intermittent, Z not reproduced; ...), or verification unavailable with one closed reason:

no_runtime, not_checked, no_build_file, compose_refused, dockerfile_refused, context_refused, base_image_missing, build_failed, build_timeout, image_refused, runtime_error, sandbox_error, interrupted, budget, no_port, start_failed.

The outcome never fails the scan and never makes it incomplete. It changes the exit code only through the gate: in nightly mode, verification that did not try every candidate reads gates.nightly at probable (verified:high becomes probable:high), see CI with the Action.

Reproduction bundle

Each verified finding gets .creep/bundles/<id>.json (version 1): the finding and class, the commit (HEAD from .git), the image IDs, the migrate command's digest, the port, the PoC, the rate and every run with its requests, responses, oracle and timings. Every request and response passes through the scan's redactor, and credential header values and session tokens are masked (<CREDENTIAL>); text it cannot redact is withheld. The next scan removes old bundles.

creep reproduce <id>

Runs a verified finding's PoC again from its bundle, without any model: no model setting is read and nothing is called. It needs sandbox.enabled and a usable runtime. It reads the bundle strictly, rebuilds the PoC through the same templates, builds the app afresh from the current working tree in a new sandbox, and runs the PoC as many times as the scan did, within budget.max_seconds.

It prints each run's outcome, the rate and the scan's rate, and warns when HEAD is not the bundle's commit (the app is built from the working tree as it is now).

Exit Meaning
0 verified in at least one run
1 verified in no run (not reproduced)
2 usage or configuration (sandbox off), or a missing or refused bundle
3 no usable runtime, or the sandbox could not build, start or run

Clone this wiki locally