Skip to content

Quickstart

Luis edited this page Nov 22, 2026 · 9 revisions

Quickstart

Mirrors the README quick start for main (v0.2). If they disagree, the README wins.

1. Install

From a release, verified (Install and verify), or with Go:

go install github.com/sneakercreepers/creep/cmd/creep@latest

2. Configure the model, outside the repository

Put the model in your config (~/.creep/config.yaml, --config <path> or the org policy named by CREEP_POLICY), never in the repository's creep.yaml: the project file cannot set the model, the endpoint, egress.allow, the sandbox, scanners or report formats, and may only lower limits.

# ~/.creep/config.yaml
model: { preset: claude-code }

Or an HTTP API: model: { contract: openai, endpoint: "https://<host>/v1", name: "<model>" } with egress: { allow: ["<host>"] }, and the key in CREEP_API_KEY.

3. Scan

From the repository root:

creep config explain   # every effective value and its layer, then the scan mode and gate
creep doctor           # the model (tool canary for a model CLI) and the sandbox runtime
creep estimate         # calls, tokens and time of a scan, without calling a model
creep scan             # pr mode; reports in .creep/ (report.json, report.md, report.sarif)
creep why <id>         # the evidence behind one finding

The first send to an endpoint asks for your consent (in CI only the policy's consent list grants it). Each finding is verified, probable, discarded or not_evaluated (Verification statuses). Exit codes: 0 ok, 1 gate, 2 usage or config, 3 model or sandbox, 4 incomplete.

Useful v0.2 options:

Option What it does
--changed changed.txt scan only the listed files (git diff --name-only -z origin/main > changed.txt)
--baseline creep-baseline.json gate only on findings the baseline does not hold; --baseline-write creates or refreshes it
creep accept <id> --expires 90d --reason "..." record a finding as an accepted risk
--mode nightly the nightly gate; verifies findings when the sandbox is on
budget.max_seconds (config) scan deadline, default 7200 s; past it the run ends incomplete (exit 4)

All of them: CI with the Action.

4. Optional: verify findings in the sandbox

With Docker (or rootless Podman) running:

# ~/.creep/config.yaml
sandbox: { enabled: true }
creep doctor                 # runtime, isolation, the pinned images; pull any it lists as missing
creep scan --mode nightly    # builds the app offline, runs PoCs 5 times each
creep reproduce <id>         # run a verified finding's PoC again, no model
creep clean                  # remove anything a killed run left behind

See Sandbox.

5. CI

Use the GitHub Action on pull requests and main, and a scheduled nightly run: CI with the Action, Nightly scan.

Clone this wiki locally