Repository navigation
Commands and flags
Moved from the README (2026-12-02). Where this page and the ADRs disagree, the ADRs win.
| Command | What it does |
|---|---|
creep init |
Write ./creep.yaml with every setting the project file may hold outside model.* (gates, budget limits, calibration cache, log level), each commented out at its built-in default with a one-line why, so the file changes nothing until edited; prints where the model and the other operator-only settings go. An existing creep.yaml, or a link, directory or FIFO at that path, is refused with exit 2 and never overwritten; no model call, no network (ADR 0031) |
creep scan |
Scan the current directory; write .creep/report.*
|
creep estimate |
Build every request a scan would send and measure it; no model call, no network (ADR 0011) |
creep why <id> |
Show the evidence behind a finding of the last scan |
creep accept <id> --expires 90d --reason "..." |
Record a probable or verified finding of the last scan as an accepted risk in creep-baseline.json (or --baseline <file>); both flags are required, the expiry is 1d to 365d (ADR 0022) |
creep reproduce <id> |
Run a verified finding's PoC again from its bundle in .creep/bundles/, against a fresh offline build, as many times as the scan did; no model is read, configured or called. Needs sandbox.enabled. Exit 0 when it verified in at least one run, 1 when in none (ADR 0020) |
creep doctor |
Check the model and the sandbox. A command model must pass the tool canary; every model then gets two synthetic probes through the gateway (a discovery batch of only the canary, a context probe the size of the tier's discovery call), with a warning, exit 0, when the reply breaks the schema, misses the canary or the context is too small (for Ollama, raise num_ctx), and exit 3 when the model cannot be reached (ADR 0035). Sandbox: runtime, rootless status, isolation level, the pinned images it needs |
creep clean |
Remove every container, app image and network creep left on local Docker or Podman, for example after a killed run (ADR 0016) |
creep resume <run> |
Continue a scan that stopped before writing its report (killed, or a calibration failure), with the same config and flags; the run ID is its folder in .creep/runs/. A changed config, model, model.env value, contract, endpoint, tier, mode, creep version, prompt, file, baseline, --changed list, --stability, --recalibrate or installed recipe is refused with exit 2 and nothing sent; live, --record or --replay comes from the run. Finished calls are served from .creep/cache and never sent again; the call that was cut is sent again, and egress.log lists both attempts. The budget and budget.max_seconds keep counting what the run already spent (ADR 0032) |
creep config explain |
Show each effective config value and its source layer |
creep recipe new|lint|test <file.json> |
Write a recipe template, check a recipe with no model call, or load it: its vulnerable fixture must be flagged and its safe fixture clean, through the reader and your model. Exit 0 only when it loads, 2 when it is refused, 3 on a model failure (ADR 0025, schema in docs/schemas/recipe-v1.json). class is one of sql_injection (reported as sqli), command_injection, path_traversal, ssrf, template_injection, nosql_injection, code_injection or insecure_deserialization; since ADR 0034 findings at an eval or deserialization sink carry the last two, so lint, and scan for each installed recipe, warn when a command_injection recipe's vulnerable fixture has such a sink (or a recipe of those two classes has only a shell sink, or the other one's) and name the class to set; the recipe still loads (#371) |
creep recipe add github.com/<owner>/<repo>@<commit> <clone> |
Install the recipes/*.json files of your own git clone of that repository, checked out (detached) at that full 40-hex commit; branch names and tags are refused and creep makes no network call. Files go to ~/.creep/recipes, pinned by SHA-256 in creep.lock. Every scan then checks each checksum (a changed file exits 2), the policy's recipe_sources allowlist and each recipe's fixtures before giving its hint to the reader (ADR 0028) |
creep bench |
Run creep-bench: 12 embedded cases, each a planted vulnerability and its safe twin in Go, Java, JavaScript, PHP, Python or Ruby, kept apart from the calibration templates, through discovery, the planner and the reader at tiers S, M and L. Prints recall, false positives and honesty (of the runs that claimed a class covered, how many found the planted vulnerability) per class, as Markdown or --format json. --replay reproduces the published numbers from the embedded fixture with no config, state, key or network; without it your model answers through the gateway like a scan (HTTP contracts only), and --record also writes the run's fixture. The published fixture is a live recording of the pinned qwen2.5-coder:1.5b (unfit by ADR 0036), so today's numbers are that weak model's, not a fit one's (ADR 0038). Smoke runs on OWASP Juice Shop and PyGoat are not downloaded: scan your own local clone (ADR 0030) |
creep mcp |
Serve the read-only MCP tools scan (changed files only), findings and why over stdio for a coding agent (MCP server) |
creep version |
Print version, commit and Go version |
| Flag | Effect |
|---|---|
--config <path> |
Use this file instead of the user and project files (the policy still applies) |
--model-run <cmd> |
Model CLI for the command contract |
--mode pr|nightly |
scan: the gate that judges the run; only nightly builds the app and runs PoCs (default pr, nightly on a GitHub Actions schedule event; CI) |
--record / --replay
|
Record every model response / serve only recorded responses, never the network; bench writes its run's fixture / serves its published fixture |
--recalibrate |
Calibrate again even if a calibration is cached (30 days); bench (live only): also run one calibration first and add its calls, tokens and time to the results |
--allow-unfit-model |
scan and resume: scan with a model calibration found unfit instead of exiting 3; every model finding is labeled unreliable_model (see Unfit models) |
--stats |
scan: print phase times, model calls, cache hits and tokens, and calibration's own calls, tokens and time |
--changed <file> |
scan, estimate and resume: evaluate only the paths listed in the file (see Incremental scans) |
--stability <n> |
scan, estimate and resume: send every discovery batch and hypothesis to the model n times (1 to 5); a probable finding seen in fewer runs is labeled unstable discovery: seen in 2 of 3 runs in every report (JSON stability), apart from an intermittent PoC; it never lowers a finding or changes the gate, costs about n times the calls (creep estimate --stability n shows it), and feeds per-class counts into the calibration line (ADR 0024) |
--price-in <n> / --price-out <n>
|
estimate and --stats: price per 1M input/output tokens, for a cost |
--format, --log-level
|
Output format (text, json, sarif, markdown, html) and log level |
--baseline <file> |
scan and resume: the gate skips findings a live entry of the file matches, each still listed; accept: the file to write |
--baseline-write |
scan and resume: rewrite --baseline from this run's findings (a complete run only); accepted risks are kept, baseline entries expire in 90 days |
--expires <n>d, --reason <text>
|
accept: when the accepted risk expires, and why it is accepted |
--changed <file> limits a scan to the files a list names, one repository-relative path per line or NUL-separated. creep never runs git and has no --diff <ref>, so build the list with git yourself:
git diff --name-only -z origin/main > changed.txt # changes since main
git diff --cached --name-only -z > changed.txt # pre-commit: staged changes
creep scan --changed changed.txtIn CI, diff against the event's base commit (git diff --name-only -z "$BASE_SHA"...HEAD). Use -z: without it git quotes unusual names, and creep refuses a quoted entry, an absolute path, a .. and a backslash (exit 2). The list only selects among the files the walk finds, so links are still not followed and .git and .creep are still skipped; deleted files and directories in it are counted and ignored, and names match without regard to case. Every other source file is listed unchanged, by design, and counted beside the coverage, and the text summary, Markdown and SARIF mark the run incremental. An incremental exit 0 means the listed files are clean, not the repository: a flow from a changed file into an unchanged one is not evaluated, so keep a full scan (for example nightly) as well (ADR 0009, #26 amendment).
Home · Current release: latest
Guides: Quickstart · Sandbox · Verification statuses · CI with the Action · Nightly scan · Local models · FAQ
Reference: Commands and flags · Output and exit codes · Configuration · Models and presets · Calibration · Languages · Guarantees and limits · Roadmap
Contributing: Writing recipes · Using creep from an agent (MCP) · Sharing model results
- Architecture
- v0.1 Progress
- v0.2 Progress
- v0.3 Progress
- v0.4 Progress
- v0.5 Progress
- v0.6 Progress
- v0.7 Progress
- Decisions
- Development Workflow
- Release
- Install and verify
- Nightly scan
Repository · Roadmap · Install: brew tap Ludocius/creep https://github.com/Ludocius/creep, scoop bucket add creep https://github.com/Ludocius/creep (details)