CxBOMspecification 0.3.1GitHub

Context strip: the reference session by trust ringReference session context window use: 46,205 tokens. Ring 0 (operator): 45 tokens, solid. Ring 1 (agent): 46,131 tokens, hatched. Ring 2 (user): 16 tokens, dotted. Template overhead: 13 tokens, lined.

Reference session: ring 0 (operator, marked) holds 45 of 46,205 tokens.

Scope and threat model

This page states the proxy's threat model verbatim: the actors it defends against, what it leaves out of scope, the channels it does not cover, and how it relates to specific CVEs. The build generates this page from the proxy's own design source, so the two cannot drift.

Actors defended against:

Defenses for (b) rest on four things:

Out of scope:

Not covered in this version:

Channel Instead
Tool results, resource bodies, prompt bodies Recorded by the emitter as unverified components
Transitive dependencies of registry-runner packages, and code imported by a local server outside --pin-tree The runner binary, its interpreter, the exact top-level package version or image digest, pinned files, and the registry environment are enforced
Registry runners approve does not recognize (any tool not in the runner table below) Their argv is still pinned. Prefer a listed runner or a pinned local tree
A runner started through a wrapper that approve does not recognize env, nice, timeout, nohup, stdbuf, and the common shells are recognized. A launch through one is refused when a shell carries -c, env carries -S, or a later word names a runner, an interpreter, or another wrapper. A shell handed a script file, and a wrapper handed a program cxbom does not recognize, are not inspected. Start the runner directly
A container runner pointed at another daemon (-H, --context) The image digest is pinned. Where it runs is not
A copy or hard link of a runner script under an unrecognized name Runner identity is by name. Keep runners on the trusted search path
.pth files, sitecustomize, and imports resolved from a system interpreter's own site-packages Everything the interpreter loads from its own prefix carries the same trust as the trusted search path. For code you control, run from a pinned venv made with python -m venv --copies
npx: the pin covers the npm shim script and node, not npm's library Prefer uvx or a pinned local tree
Streamable HTTP servers stdio only
A pinned file or tree swapped between the launch check and the exec by a process racing the proxy Pins are checked immediately before spawn. Keep the workspace free of untrusted writers while the proxy starts
Revoked-key backdating: a stolen, revoked key signs entries with an issuedAt before its revocation entrySeq and the high-water mark bound rollback. Observe and sampling entries have no tool-set expiry, so this risk is accepted for them by owner decision 2026-10-05. A notAfter the owner sets still ends an entry
prompts, resources, resource templates slice 1 verifies tools only and refuses the rest
Text mode in the emitter Ids mode only. Assembly refuses any other mode
The olmo2 template family phi3 and qwen3 only
The json-indent2 and wire renderers jcs only
Trust labels on tool definitions and server instructions Not yet built. sanitization.trustLabel is not written
Interactive review --accept with a reason is the only way to pin an item, and an item with nonprintable characters cannot be approved
Ignored fields in a signed entry ignoreFields is always empty
session_totals Not yet built. Read each record's own sessionSummary
Hostnames under a TLD outside approve's fixed list The identifying-content check flags hostnames under a fixed TLD list only (approve's identifying-content check). Review argv and pinned values before approving

CVE coverage:

CVE Mechanism CxBOM's role
CVE-2025-54136 (MCPoison, fixed in Cursor 1.3 by re-prompting) A trusted MCP config is edited to run a different command The signed lock refuses a changed command, binary, or environment while the cxbom proxy wrapper is still in place. If the edit removes the wrapper, nothing in slice 1 detects it. cxbom scan and cxbom guard (a later plan) will detect it when they run, and will not prevent it
CVE-2025-54135 (CurXecute, fixed in Cursor 1.3.9 by re-prompting) Prompt injection writes an MCP config that runs an attacker command without approval Not prevented, and not detected in slice 1. scan and guard (next plan) will detect the new, unwrapped server once built. An injected agent cannot produce a valid signature
EchoLeak (CVE-2025-32711) Attacker text in retrieved content steers the model Not a tool-definition inversion and not gated. The emitter records the retrieved content as an unverified ring-1 component
Tool-definition rug-pull (no single CVE) An approved tool's description changes Definition pin in the signed lock (enforced)

Runner table

Registry runners that approve recognizes, from the proxy's lockfile rules.

Runner Exact pin form Allowed flags before the package
uvx, uv tool run, uv tool uvx pkg==1.2.3, or --from pkg==1.2.3 --from, --with (each pinned), --python
uv run every --with is pkg==1.2.3 --with, --python, --no-project, --script
pipx run --spec pkg==1.2.3, or pkg==1.2.3 --spec
npx, npm exec, npm x pkg@1.2.3, and every -p/--package the same -y, --yes, -p, --package
bunx, bun x pkg@1.2.3 none
pnpm dlx, pnpx, yarn dlx pkg@1.2.3, and every --package the same --package
corepack <pm>@1.2.3 ... the package manager's own @X.Y.Z, then <pm> ... is checked against that manager's row none
docker run, docker container run, podman run, podman container run image@sha256:<64 hex>, with or without a name or tag before the @ every documented run flag (not reproduced on this page), plus docker's global flags before the subcommand