Skip to content

Quickstart

Luis edited this page Dec 5, 2026 · 9 revisions

Quickstart

Extends the README quick start for the latest release. Every command: Commands and flags; models: Models and presets. If this page and the ADRs disagree, the ADRs win.

1. Install

From a release, verified (Install and verify), with Homebrew or Scoop, or with Go.

# Go, from v0.7.0 on (module path with a capital L)
go install github.com/Ludocius/creep/cmd/creep@latest

# Homebrew (macOS, Linux): the cask lives in the creep repository
brew tap Ludocius/creep https://github.com/Ludocius/creep
brew install --cask Ludocius/creep/creep

# Scoop (Windows): the manifest lives in the creep repository
scoop bucket add creep https://github.com/Ludocius/creep
scoop install creep/creep

The repository moved from sneakercreepers/creep to Ludocius/creep on 2026-12-02 (ADR 0040); the old sneakercreepers/tap and sneakercreepers bucket are retired.

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 init             # optional: write a commented-out ./creep.yaml for the project (never overwrites)
creep config explain   # every effective value and its layer, then the scan mode and gate
creep doctor           # tool canary for a model CLI, two synthetic model probes (schema and canary, context size), 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, report.html)
creep why <id>         # the evidence behind one finding
creep resume <run>     # continue an interrupted scan (same settings, files and tier; finished steps are not sent again)

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 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
--stability 3 send each discovery batch and hypothesis 3 times (1 to 5); a probable finding seen in fewer runs is labeled unstable discovery: seen in 2 of 3 runs; never changes the gate, costs about 3x the calls
creep resume <run> continue a killed or interrupted scan from .creep/; any changed setting, model.env value, baseline, file or tier is refused with exit 2 before anything is sent; the budget and deadline carry over (v0.4, ADR 0032)
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