Skip to content

Risks ​

Source: .usm/system.usm → risks

IDTitleSeverityStatusDescriptionMitigation
rooted-osRooted OS or compromised local agent processhighidentifiedA fully compromised host can attempt to observe or interfere with the sidecar's resolution path.Process isolation in the MVP; secure element, TEE, or TPM binding in Phase 1. Plaintext remains transient and zeroised.
stolen-tokenStolen or replayed capability tokenmediumidentifiedA token copied out of a prompt, memory, or log could be replayed by an attacker within its lifetime.Short TTL, audience binding, scope least-privilege, jti denylist revocation, and optional mTLS device identity.
provider-kms-exposureMulti-tenant AI-cloud KMS used as the roothighmitigatedUsing a provider KMS that the model provider itself can access would re-introduce model-side exposure of the root of trust.Do not use multi-tenant AI-cloud KMS as root. Self-hosted key store, then HSM or secure element.
quantum-harvest-nowHarvest-now-decrypt-later against long-lived ciphertextmediumacceptedFolders may be copied and stored indefinitely, so classical-only key wrapping is exposed to future quantum capability.Explicitly not an MVP concern. Hybrid KEM and ratchet in Phase 2.
human-pastes-plaintextA human pastes plaintext into a chathighacceptedNo architecture can prevent a person from pasting a secret into a model conversation.Out of scope even in later phases. The product exists to make this unnecessary, not to detect it.
output-relay-leakA prompt-injected agent reads the secret back out of relayed command outputhighmitigatedresolve_for_tool runs a model-chosen command and relays its output to the model. A command such as printenv, env, or cat on the injected file would echo the value straight back into model context, and encodings (base64, hex) or partial echoes would evade a naive check.The sidecar redacts the resolved value — and substrings of 8+ characters — from any output it relays, in raw, base64, base64url, hex, percent-encoded, and JSON-escaped form, including split-across-chunk matches; output is size-capped by default; MCP-initiated resolves require a command allowlist and CLI/SDK resolves fall back to a documented backstop denylist. See safekeys/output-control.
network-exfil-allowed-commandAn allowed command exfiltrates the secret over the network or via a written filemediumacceptedRedaction covers only the sidecar's relay channel. A command the policy allows can send the value to a remote host under its own protocols, or write it to a file the agent can later read; neither passes back through the relay.Command allowlists bind high-value tokens to exact executables and argument patterns. The residual risk is stated in the README's Security guarantees and limits section rather than claimed away.
dev-kek-agent-readableThe development KEK is readable by the same user the coding agent runs ashighmitigatedThe default dev flow stored the KEK in a 0600 file under .dev/, owned by the OS user any coding agent runs as, so an agent with file access could read the key that decrypts every local folder.The default dev flow keeps the KEK in the macOS Keychain with an ACL restricted to the sidecar binary, or in the containerised OpenBao dev instance on Linux; a plaintext file survives only behind SAFEKEYS_ALLOW_INSECURE_KEYSTORE=1 with a permission check and a loud warning. A separate-user local mode mirrors the deployment isolation. See safekeys/dev-key-custody.