vulkro serve
Opens the local console in your browser at http://127.0.0.1:8723. Everything runs on this machine.
vulkro serve
vulkro scan . --web # scan, save, then open the console
The console shows every scan saved with vulkro scan --save (or --web), across all your repositories. See Local console for the tabs and views.
Flags
| Flag | Description |
|---|---|
--port <PORT> | Port to bind. Default 8723; if taken, the OS picks a free one. |
--host <HOST> | Interface to bind. Default 127.0.0.1. Use 0.0.0.0 for a team self-host. |
--no-browser | Do not open the browser. |
Access token
The console always requires a token. By default a new random token is created on each start and put in the printed URL (http://127.0.0.1:8723/?token=...); opening that link signs the browser in. Anyone with the link can use the console until you stop the server.
| Variable | Effect |
|---|---|
VULKRO_SERVE_TOKEN | Use this token instead of a random one. Sign in at the console root, or send Authorization: Bearer <token> from scripts. |
VULKRO_SERVE_ALLOWED_HOSTS | Extra host names the console answers to, comma-separated (for a reverse proxy or a real hostname). |
Requests without the token get HTTP 401. Requests from another web page's origin, or with an unknown Host, get HTTP 403.
Share with a team
export VULKRO_SERVE_TOKEN="$(openssl rand -hex 24)"
vulkro serve --host 0.0.0.0 --no-browser
The token travels over plain HTTP, so put a TLS reverse proxy in front on any network you do not fully trust, and list its hostname in VULKRO_SERVE_ALLOWED_HOSTS. The token is shared, not per user. For per-user roles, scheduled scans and pull-request checks, use Vulkro Cloud.
The console never sends your source, paths or findings anywhere. With VULKRO_OFFLINE=1 it makes no outbound call at all.
Stop it with Ctrl-C.
Exit codes
0 clean shutdown. 2 bind failure or server error.
See also: Baselines.
Command reference
Generated from vulkro serve --help (vulkro 0.41.0). Run scripts/gen-docs.sh in the product repository to refresh it; do not edit this section by hand.
Open the Vulkro console in your browser. Everything runs on this machine.
vulkro serve [OPTIONS]
Options
| Flag | Description |
|---|---|
--offline | Hard-disable every outbound network call for this run (sets VULKRO_OFFLINE=1). Blocks the CVE feed, the license heartbeat, the update check, webhooks, and any cloud AI endpoint; a loopback model (http://127.0.0.1, http://localhost) is still allowed. Equivalent to exporting VULKRO_OFFLINE=1, and the flag wins when both are set. |
--port <PORT> | Port to bind. If taken, the OS picks a free one. Default: 8723. |
--host <HOST> | Host / interface to bind. Default 127.0.0.1 (loopback, single user). Use 0.0.0.0 (or a specific interface IP) for a team self-host; a network bind is refused (exit 2) unless VULKRO_SERVE_TOKEN is set, because a generated per-run token is not a deployment credential. The token travels over plain HTTP, so front the console with a TLS-terminating reverse proxy. See docs/cli/serve. Default: 127.0.0.1. |
-q, --quiet | Print only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged. |
--no-browser | Don't auto-open the browser when ready. |
--no-color | Turn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb. |
-h, --help | Print help (see a summary with '-h') |
Full vulkro serve --help
Open the Vulkro console in your browser. Everything runs on this machine.
Open the Vulkro console in your browser. It runs entirely on this machine and opens automatically.
The console requires an access token. By default a new random token is minted on every start and the printed URL carries it (`http://127.0.0.1:8723/?token=...`); that link opens the console and signs the browser in. Anyone who has the link can use the console until you stop the server. Scripts that call the local API send the token as `Authorization: Bearer <token>`; to know it in advance, set `VULKRO_SERVE_TOKEN` yourself. A request without the token gets HTTP 401.
A request that a browser marks as coming from another web page (an `Origin` other than the console's own) gets HTTP 403, and so does a request whose `Host` is not an address the console answers to.
Env: `VULKRO_SERVE_TOKEN` - the access token to require instead of a generated one. It is not printed; sign in with it at the console root, open `http://127.0.0.1:8723/?token=<token>`, or send it as a bearer header.
Env: `VULKRO_SERVE_ALLOWED_HOSTS` - comma-separated extra host names the console answers to, as `Host` and as `Origin` (see `--host`).
Exit code: 0 on a clean shutdown, 2 on a bind failure or a server / IO error. Long-running: it serves until interrupted.
Usage: vulkro serve [OPTIONS]
Options:
--offline
Hard-disable every outbound network call for this run (sets VULKRO_OFFLINE=1). Blocks the CVE feed, the license heartbeat, the update check, webhooks, and any cloud AI endpoint; a loopback model (http://127.0.0.1, http://localhost) is still allowed. Equivalent to exporting VULKRO_OFFLINE=1, and the flag wins when both are set
--port <PORT>
Port to bind. If taken, the OS picks a free one
[default: 8723]
--host <HOST>
Host / interface to bind. Default `127.0.0.1` (loopback, single user). Use `0.0.0.0` (or a specific interface IP) for a team self-host; a network bind is refused (exit 2) unless `VULKRO_SERVE_TOKEN` is set, because a generated per-run token is not a deployment credential. The token travels over plain HTTP, so front the console with a TLS-terminating reverse proxy. See `docs/cli/serve`.
Env: `VULKRO_SERVE_TOKEN` - the access token to require. Unset = a random token minted per run and printed in the console URL. There is no unauthenticated mode.
Env: `VULKRO_SERVE_ALLOWED_HOSTS` - comma-separated extra `Host` header values the console answers to (for example `vulkro.internal:8723,build-box`). By default only `localhost`, `127.0.0.1`, `[::1]` and literal IP addresses are accepted, which stops a web page from re-pointing a domain it controls at your loopback address (DNS rebinding); any other `Host` gets a 403. An `Origin` naming a listed host is accepted too. Set this when you reach the console through a reverse proxy or a real hostname.
[default: 127.0.0.1]
-q, --quiet
Print only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged
--no-browser
Don't auto-open the browser when ready
--no-color
Turn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb
-h, --help
Print help (see a summary with '-h')