Scan your whole stack
From OX Research Newsroom
Are you using witbitz-code?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v1.15.12
witbitz-code was last scanned on 29 Nov 2026 at version 1.15.12. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 1.15.12 LATEST | 29 Nov 2026 | No rules fired |
| 1.15.11 | 26 Nov 2026 | No rules fired |
| 1.15.10 | 26 Nov 2026 | No rules fired |
| 1.15.9 | 22 Nov 2026 | Not shown |
| 1.15.8 | 20 Nov 2026 | Not shown |
Findings for v1.15.12. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 1.15.12; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Use the Code section of Witbitz Spaces, on any device you're signed in on, to reach OpenCode running on your computer. It's end-to-end encrypted, needs no open port, and doesn't need Tailscale.
This is the Python build of the witbitz-code tool. It speaks the same wire protocol, uses the same pairing file and the
same account registry as the single-file Node download (node witbitz-code.mjs), so either one can pair a computer and
the other can serve or unpair it.
pipx install witbitz-code # or: pip install witbitz-code
Python 3.10 or newer. Dependencies: cryptography, websockets, httpx, segno, and tinfoil (Tinfoil's own
verifier — attestation, Sigstore and TLS pinning — for the confidential models below).
witbitz-code setup
setup walks five steps and skips whatever is already done: it installs OpenCode if it is missing (it asks first), pairs
this computer (scan the QR code in Spaces → Settings → Privacy & security → Add a device), which gives the computer its
own keys from your Spaces account, offers to install the tools the agent uses for audio, video, PDFs and scans (ffmpeg,
Poppler, Tesseract, … — with winget, Homebrew or one sudo apt-get line; it shows what it will run and asks once), then
starts serve in the window. Then open Code in Spaces. Leave it running (Ctrl-C
stops it); next time, witbitz-code serve is enough.
Or in your browser: witbitz-code ui (on Windows: Start menu → Witbitz Code) opens a page for this computer — whether
it is online, which account it is paired with and this month's spend, Pair (the code is shown large on the page), Unpair,
Pair again, Start / Stop, and Start when I log in (Windows and WSL). It serves while its window is open; closing that window
stops it, and witbitz-code ui again just opens the page. Each copy has its own page — on one laptop Windows and WSL each
get theirs, titled with the computer it controls. The page answers only this computer, and only the browser the link
opened (a one-time key traded for a private cookie; no other website can drive it).
No key to paste. Pairing asks your Spaces account for this computer's own TrustedRouter and Tinfoil keys, capped by the
providers (today up to $50 of models and $5 of tools a month per computer). They are sent sealed to this computer, kept in
~/.witbitz/code/account-keys.json (0600) and never given to OpenCode: the local proxy puts them on each call. Model calls
still go from this computer straight to TrustedRouter and Tinfoil. An account that is not invited gets the free allowance —
one computer, $1 of models and $0.25 of tools a month; when it is used up, Code says so and when it comes back. A computer paired before 1.3 has no account keys:
pair it once more (witbitz-code pair).
Several accounts on one computer: each pays for its own prompts. OpenCode names the conversation on every call it makes; the connector knows which account sent each prompt, and the proxy bills the call to that account. A prompt typed in OpenCode's own window on this computer is refused ("coding runs from the Spaces app"), and while one account's reply is being written another account cannot add to it. This splits the bill fairly between people who share a computer; it is not a wall between them (they already share its files and shell).
To start over: witbitz-code uninstall, then pipx install witbitz-code and witbitz-code setup. (pipx uninstall alone
leaves the pairing and its keys behind, and does not stop a witbitz-code that is still running — setup offers to stop one.)
The same thing one step at a time: install OpenCode (curl -fsSL https://opencode.ai/install | bash), then
witbitz-code pair and witbitz-code serve.
| command | what it does |
|---|---|
ui [--no-browser] |
The page above. --no-browser serves without opening it (what a login start runs). |
setup [--port <n>] |
The walk-through above. With --port, a pairing made for another port moves to it (no new scan). |
uninstall [--yes] [--remove-keys] [--remove-notes] [--remove-sessions] [--remove-opencode] |
Remove witbitz-code from this computer: its coding keys go back to each account, each account lets go of it, ~/.witbitz/code and what serve added to OpenCode are deleted, and the pipx install removes itself. Asks first (Enter keeps) before your saved keys, project notes, OpenCode's sessions and OpenCode itself; never deletes sessions an OpenCode still has open. --yes skips the questions and keeps all four unless their flag is given. |
pair [--name <name>] [--port <n> \| --opencode-url <url>] |
Show the QR code. The account that scans it gets this computer. --name sets the label your devices show (default: the hostname). |
serve [--port <n>] [--no-opencode] |
Start OpenCode on 127.0.0.1:<n> (default 4096) with your account's keys, then connect the pairings whose OpenCode is on that port. An OpenCode already running there, started some other way, is not used (it cannot have the keys) — close it first. One OpenCode per port, one serve per OpenCode. |
status |
List this computer's pairings — name, account, OpenCode address, relay — and each one's coding keys: live, this month's model spend and the caps. Secrets are never printed. |
rotate [--account <email>] |
Replace the pairing secret(s) without scanning again, then restart serve. Devices pick up the new secret on their next sync. |
unpair [--account <email>] |
Remove this computer from an account. Every device drops it on its next sync. |
version, --help |
pair, rotate and unpair also accept --dry-run.
Windows and WSL on one computer are two computers to Spaces, and both can run: WSL shares Windows' ports, so the second
one setup meets gets its own (it asks — 4097, and 4197 for its model proxy) and serve remembers it. WSL's is named
" (WSL)"; one paired before 1.3.8 is renamed by its next setup. In WSL, setup also offers to start witbitz-code
when you log in to Windows (WSL runs only once Windows starts it): a shortcut in the Windows Startup folder opens a minimized
window running it (ui --no-browser: serving, the page there when you want it) — closing that window stops it, and
witbitz-code uninstall removes the shortcut.
Any folder, any drive. New session in Code opens at your home folder; ‹ Up goes past it (on Windows up to "This
computer", which lists the drives), and a folder can be typed (D:\projects). witbitz-code lists the folder names itself
— nothing else of the computer — and "New folder" makes one where you are. A cloud computer keeps to its workspace.
More than one account. Each account that scans the QR code gets its own pairing, with its own secret and relay
channel. OpenCode has no users, so every paired account reaches the same sessions, files and shell. That's fine when
all the accounts are yours. If a second account belongs to another person, run a separate OpenCode for them
(another port, ideally another OS user) and pair that account with --port.
phone / desktop (Code page) this computer
seal ▸ frames ◂ open ── wss ─▶ code-relay.witbitz.chat ◀─ wss ── witbitz-code serve ──▶ opencode (127.0.0.1)
wss://code-relay.witbitz.chat. Nothing listens on your network, and OpenCode never leaves
127.0.0.1.~/.witbitz/code/pairings.json (mode 0600);computers registry, which every signed-in device reads.~/.opencode-server.env (created 0600 on first pair). The connector adds it to local
calls, and it never leaves the computer.Confidential models (the ones labelled "· confidential" in the model menu) are enforced on this computer, by a proxy
serve starts on 127.0.0.1:<port + 100> and points OpenCode's TrustedRouter calls at — the same checks as the Node download:
provider.min_privacy = confidential;Auto mode (Manual · Accept edits · Plan · Auto in the Code composer's mode chip, per session) lets this computer answer OpenCode's permission prompts while you are away:
rm -rf ~, mkfs or dd onto a disk. The agent is told why.Each decision is logged to ~/.witbitz/code/auto-log.jsonl as a digest, never the command. The rules are shared with the
Node connector and tested against the same cases, so both decide alike.
What is encrypted, and what isn't. Requests, responses and events travel end to end. The relay operator sees a
pseudonymous channel id, IP addresses, connection times, and frame sizes and timing. That's the same class of metadata
the Spaces room store sees. Anyone holding a pairing secret can drive OpenCode within the allowlist until you run
rotate.
Design: docs/opencode-relay.md in the Witbitz repository.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.