Trust boundaries
This page was reconciled against current development source on 2026-11-08. Historical public-source links retain their original revisions and do not establish that a public mirror or installed runtime contains current behavior. This is static documentation/source review, not an application, provider, database or security test.
BURROW is an operator-controlled runtime with native filesystem/process tools, model connections, MCP integrations, and installable code. Deploy it inside a trust boundary suitable for the data and credentials available to its service account. HTTP login, encrypted settings, and child processes each provide specific protections; together they do not establish hostile multi-tenant isolation.
The boundaries below were checked against current Backend and assembly source. Live network, identity-provider, database and host isolation still require verification in the actual deployment.
Boundary map
The host box is a deployment trust boundary, not a claim that the components inside it are sandboxed from one another. The public health branch bypasses interactive authentication. The built-in UI uses its serving runtime; remote execution routing is a separate backend capability. See Authentication and Permissions for the concrete checks.
Secrets at rest
BURROW_SETTINGS_KEY must base64-decode to exactly 32 bytes. Model/provider authentication, MCP secrets, UI OIDC client secrets, mod secrets, private mod-source credentials, and saved OpenTelemetry destination headers and credentials use AES-256-GCM with fresh 12-byte nonces and authentication tags. Associated data binds ciphertext to its secret/connection/mod/source identity, with distinct format prefixes. Some decryptors accept historical prefixes for compatibility.
This protects the designated secret records, not every database field or every file. Conversation text, ordinary settings, browser caches, generated artifacts, and generic traces are not automatically encrypted by the settings-secret mechanism. A running process with the settings key can decrypt the records it can access. An environment-provided credential already exists in plaintext in that environment.
Preserve the settings key
The native installer preserves or creates a settings key in its private service environment. The container persists it in ${BURROW_SETTINGS_KEY_FILE:-$BURROW_RUNTIME_ROOT/config/settings.key} and refuses startup when an explicitly supplied key differs from the saved one. Preserve the matching key and database together; replacing the key is not a repair for decryption errors and is not a complete rotation procedure.
See Backup and recovery for coordinated database/filesystem backups. Encryption does not make an incomplete or inconsistent backup recoverable.
MCP adapter files contain decrypted credentials
The database is the settings authority, but mcporter needs a materialized configuration. BURROW creates its runtime configuration directory with mode 0700 and writes credential-bearing JSON files with mode 0600:
ephemeral: a temporary configuration is removed after the operationkeep_alive: a stableruntime/mcp-{id}.jsonis retained for the daemon; stop/reconciliation removes it when appropriate
HTTP API keys become provider Authorization: Bearer headers. Stdio provider configuration includes the service PATH plus explicitly configured provider environment variables. File modes restrict other OS users under normal ownership; they do not hide secrets from the same account or trusted installed code. Review permissions on existing directories as well as newly created files.
The current server keeps sanitized MCP lifecycle events in PostgreSQL, but its one-time legacy import also preserves the complete original JSONL text in a separate receipt. Unknown fields and malformed lines in that raw receipt are not guaranteed redacted. Protect database backups accordingly.
Redaction has a defined scope
BURROW's redaction is boundary-driven:
- Structured fields with recognized sensitive names, such as
password,apiKey,authorization, andrefreshToken, are replaced - Explicit
<secret>…</secret>blocks in free text are replaced - Known exact protected values can be replaced when the caller supplies them to redaction
- Traversal and text budgets limit output size
Ordinary prose that resembles a credential assignment is deliberately not heuristically rewritten. A result labeled clear by the protected-value adapter means no supported protected declaration was found; it is not a guarantee that the content contains no secrets.
Generic trace payload handling bounds content but does not apply blanket redaction. Different producers apply different projections. Chat progress can include commands, paths, queries, reasons, and errors, and diagnostics access includes private-content endpoints. Inspect and sanitize the actual material before sharing logs, trace artifacts, transcripts, or screenshots. See Diagnostics scope
Telemetry export is data sharing
OpenTelemetry export is disabled by default. Current development supports multiple destinations; enabling export sends curated spans and supported metrics to every effective enabled destination. Saved destination headers and credentials are encrypted and write-only, but an endpoint edit with the same destination ID/provider preserves omitted secrets and can send them to the new endpoint. Trust that recipient before saving. Review each effective destination, enabled signal and provider-specific header; environment endpoint/header overrides select one environment transport instead of the saved list. Keep exported operational metadata and collector access within the intended trust boundary. See OpenTelemetry configuration.
Installed mods are trusted code
A mod server runs in a Node child process. The host owns lifecycle, availability, RPC routing, and access through the mod-scoped settings/secrets APIs. The fork call does not configure a separate OS user, filesystem/network sandbox, or sanitized environment. It inherits the service environment. A child process failure boundary is therefore not a security boundary against hostile code.
Core-owned APIs keep normal mod operations scoped and explicit. System-mod capabilities additionally depend on operator-owned grants and agent allowlists; declaring a capability in a manifest is insufficient. Those API checks do not sandbox the installed code. Mod HTTP projections strip authorization, cookie, proxy-authorization, and x-api-key headers and provide verified enabled/authenticated booleans. This protects that particular API projection; it does not remove the host/environment powers of installed JavaScript.
Mod UI code is also trusted: it is dynamically imported into the operator page and mounts into DOM surfaces. Scoped API helpers, namespace validation, cleanup handlers, and error boundaries are useful contracts, not an iframe sandbox. Review a source's code and dependencies before installation or update, even when its tools have no agent grants. See Extensions
Child environments differ
Do not generalize one subprocess's environment policy to another:
| Process path | Environment behavior |
|---|---|
| Native shell harness | Defaults to PATH and HOME plus explicit values; full inheritance is an explicit option |
| Local Burrow-harness minion runner | Allowlist includes runtime paths, settings key, and PostgreSQL connection credentials |
| Mod child host | Inherits service environment through the default Node fork behavior |
| MCP stdio provider definition | Service PATH plus explicitly configured provider values |
Native Codex/Claude/Gemini Minions have separate runner-owned CLI processes and credential/continuation handling. Their native tool engines are not wrapped by Burrow's per-tool action reviewer; unsupported configured hard-block rules stop admission rather than being silently ignored. See Minion boundary propagation.
None of those environment choices alone changes the process's OS file or network permissions.
Browser and runtime trust
The UI stores entered Basic credentials only in module memory, but the server also issues a browser session cookie. Separately, browser-local storage can retain drafts and conversation turns. Closing a tab or clearing the in-memory Basic value does not prove those other data stores have been cleared. Use a trusted browser profile and protect shared devices. The built-in UI is local-runtime-only: API helpers use relative paths on the serving origin, and the former remote API-target selector and its credential-stripping transport are removed. This does not restrict the listener to loopback. Protect whichever network origin serves the UI. Agent remote execution assignments still choose where supported backend tools run; they do not switch the browser to another runtime.
See the Interface guide for runtime ownership and Authentication for browser-origin, JSON mutation, and opt-in Host authority checks.
Safe deployment checklist
These are operator controls to apply and verify; they are not a claim of built-in hardening.
- Set the actual listener/bind address and firewall rules for the entrypoint in use; do not expose
nonemode to an untrusted network - Use HTTPS for browser/API access; retain and verify default Secure flags on Basic and OIDC cookies
- For trusted-proxy auth, restrict backend reachability to exact trusted peers and replace inbound identity headers
- For OIDC, set the public callback URI, trusted issuer, and intended email/domain restrictions; retain secure cookies
- Decide whether public
/healthand/api/healthbuild identity is acceptable; protect detailed/api/statusand diagnostics - Verify built-in origin/JSON checks and body budgets; configure allowed hosts/origins and proxy trust deliberately, and add deployment rate limits
- Use a least-privilege service account, narrow mounts, and explicit network access; keep unrelated secrets out of its reach
- Review model/MCP endpoints, provider credential scopes, and the exact agent tool grants before use
- Treat mods and their UI modules as trusted executable code, including updates and transitive dependencies
- Protect the settings key, PostgreSQL state, runtime integration files, and browser profile; test a coordinated restore
- Give diagnostics tokens an appropriate expiry, review recipients, and revoke unused tokens; do not equate read-only with content-free
- Review actual logs/traces before sharing and test authentication from outside the trusted network as well as through the normal proxy
Read Deployment, Configuration, Environment variables, and the API reference for implementation-specific setup. The Known limitations page records additional static gaps; live validation is still required for the deployed system.
Targeted source review
The current page was statically reconciled on 2026-11-08 against Backend 6b682eae6cd0dc6efa79e173b7d819fb219443b3 and relevant UI/assembly source. The links below remain historical public evidence, not current private-source links. No live deployment or application test was performed.
- backend/src/mod-host.mjs
- backend/src/mod-runtime.mjs
- backend/src/postgres-otel-settings-store.mjs
- backend/src/otel-settings.mjs
Granted full Core API access
The current core-api-v1 system-mod capability permits a live, trusted administrator tool caller to reach the home Core's administrative /api routes. It is separate from read-only diagnostics and can include access-policy mutations. Explicit capability approval plus Core-owned administrator assignment are required; a manifest declaration, skill, argument or forwarded header cannot grant this authority. Existing external HTTP authentication and webhook-signature boundaries remain unchanged.
A Core-private invocation identity retains the actual mod/agent/session/run actor rather than manufacturing a human login. Revocation stops later admissions, not already admitted side effects. Request/response failures do not imply mutation rollback. See full Core API capability before enabling this powerful boundary.