Permissions and execution 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 separates HTTP access, agent tool grants, concrete action checks, and operating-system access. These controls answer different questions. A successful UI login does not make a tool result safe, and an agent workspace is not a filesystem sandbox.
The execution-boundary call sites and mod-authority contracts below were checked against current Backend source. Static review does not certify a deployed host's isolation.
Where authority lives
| Control | What it governs | What it does not establish |
|---|---|---|
| HTTP authentication | Admission to UI/API routes; restricted bearer diagnostics access | Tenant isolation or native process containment |
| MCP agent grants | Whether an agent can invoke an exact connection/tool pair | Safety of every argument or the provider's own permissions |
| Execution hard blocks | Selected concrete path/command operations | An OS sandbox or a complete interpretation of shell effects |
| Agent context and profiles | Prompt content, instructions, selected skills and working context | New executable grants or kernel-enforced file permissions |
| Host/container configuration | Actual process credentials, mounts, network and OS controls | A property supplied automatically by workspace naming |
The request router selects prompt/context support and emits action observability. It is not a general approval engine. Concrete tool inputs and execution capabilities are checked later.
Agent roots are selected context
Agent roots organize profiles, skills, artifacts, and runtime context. The default filesystemBoundaries list is empty. Structural filesystem targets resolve an existing directory, including its real path, but return no containment boundary. The execution context explicitly treats agent roots as selected context and keeps ordinary filesystem inspection open to agents. Absolute file paths and shell working directories can therefore refer outside the agent home when the service account can access them.
Use a dedicated least-privilege service account, deliberate container mounts, and independently configured host/network controls for isolation. Do not place unrelated sensitive files within that account's reach and rely on an agent's selected workspace to hide them.
Concrete action review
The runtime reviews normalized tool actions before dispatch. Unsupported tools are blocked. Parser/validation errors remain blockers. The executor requires a supplied allowed review and then re-runs review at the concrete execution boundary, so a stale or fabricated allowed review cannot bypass those checks.
Configured hard blocks
Hard blocks are stored under PostgreSQL metadata key execution_boundaries, as version 1 data with a hardBlocks array. Rules have an ID, an enabled flag, type path or command, pattern, matching method, operations, and optional reason.
- Matching methods:
exact,prefix,glob,regex,contains - Accepted operation names:
read,write,delete,execute,delegate - Path targets are resolved lexically against the supplied base root; they are not all resolved through
realpath - A matching enabled rule produces a
hard_policy_block:user_configured_hard_blockblocker - Invalid saves return validation errors; invalid stored data read by the loader falls back to empty boundaries
Because invalid stored data falls back to no rules, verify the effective saved configuration rather than assuming a malformed record fails closed. See Configuration.
Effective enforcement scope
The accepted operation vocabulary is broader than the native review call sites. In this version:
| Native action | Boundary evaluation performed by action review |
|---|---|
files_write, files_edit | write against the supplied file path |
files_patch | write against paths extracted by the same supported patch-dialect parser used at execution |
shell_exec | execute against command text and the explicitly supplied cwd, if any |
spawn_subagent | delegate against an explicit filesystem target root |
| Filesystem reads/list/find/inspect/search and Git status/diff | Validation review; this branch does not evaluate execution hard blocks |
There is no independent native delete hard-block evaluation in this review function. A shell command's eventual file effects are not parsed into complete read/write/delete targets; checking its command string or cwd is not equivalent to controlling every file it accesses. Patch-path extraction shares the executor’s supported unified and structured patch parsing, including quoted Git paths and declared rename/copy paths; it is not a parser for arbitrary shell mutations. These limitations are important when designing deny rules.
Ordinary mutations are permitted absent applicable configured blockers. A command's display labels, a natural-language instruction, or a selected project do not create a hard deny rule. Shell commands can reach resources permitted by the host account.
The execution-policy helper filters for explicit user-configured hard blockers. Its mutation capability is allowed when those blockers are absent, and its commit capability additionally requires structural action factory or commit. This is the helper's workflow policy, not a guarantee that arbitrary git commands inside unrestricted shell are prohibited. Legacy mutation/commit gates use observed tool receipts and verification evidence; they are workflow safeguards, not kernel isolation.
Minion boundary propagation
Local Burrow-harness minion dispatch forwards the parent's executionBoundaries in its child payload. The child reconstructs that trusted context; its review and concrete execution receive the boundaries. In-process remote children retain the parent execution context and remote controller. Cancellation is also forwarded into child tool execution. This propagates the configured checks described above, not OS containment or a broader deny-rule interpretation.
Native Codex, Claude and Gemini Minions do not emulate Burrow hard-block rules inside their own tool engines. Their runners reject dispatch when enabled hard blocks cannot be represented (codex_execution_boundaries_unsupported / claude_execution_boundaries_unsupported). Codex selects read-only or full-access native sandbox mode from its admitted execution policy; Claude currently requires inspection and mutation capability and has no read-only sandbox bridge. Native coding tools retain their harness-specific permissions. These checks are admission contracts, not a claim that Burrow reviews each native CLI internal tool call.
MCP and mod tool grants
Saving a connection or discovering its catalog does not grant an agent permission to invoke all its tools. A normal invocation needs an enabled connection, an exact catalog tool name, and an agent grant for that connection/tool pair. Provider selection uses an exact connection ID or a unique case-insensitive display name. An ambiguous name cannot select a provider.
Catalog visibility and invocation permission are distinct: capability discovery can show granted: false. Follow MCP connections and grants to configure the intended set; scope the provider's own credentials to the minimum required access. mcporter transports the request and is not the authority for BURROW agent grants.
Mod-provided tools use the same catalog model with a live mod transport. A tool marked mod-authorized delegates record/agent authorization to its trusted handler; this exception does not apply to arbitrary HTTP or stdio MCP providers. For mod calls, execution re-reads current connection/grant state and checks the live host/tool identity, including when an action was queued earlier in the turn. Ordinary external MCP calls use the resolved execution-context connection/grant data. Do not promise the same database reread for every transport.
Core system-mod capabilities also require operator-owned authority. core_mod_authority stores explicit capability grants and independent management, full Core API and diagnostic agent lists. modManagementAgentIds authorizes the mod-management-v1 caller, coreApiAgentIds authorizes the core-api-v1 caller, and diagnosticAgentIds controls cross-agent diagnostics. Access replacement requires all four arrays including grants; granting one list does not grant another; a mod manifest does not grant those powers. GET/PUT /api/operator/mods/{modId}/access manages the full replacement and reports restart requirements. Historical public 2026.10.19 required an authenticated operator even in none mode. Current Core permits direct UI access in none mode and requires operator login when authentication is enabled; diagnostics/API tokens do not authorize this access-settings route. This is an ordinary contract update, not a security assessment of the deployment.
Mod handlers receive untrusted arguments separately from trusted caller context and must implement their own argument and record-access checks. Installation is a code-trust decision; see Extensions and Trust boundaries.
Mod-owned agent tool boundary
Mod-owned native agents have a separate closed tool allowlist, enforced again at concrete execution. Their declared enabled capability groups can admit A2A, Forge (including attachment_view), Brains, skills and MCP tools; mod_agent_tool is reserved for a valid mod-owned identity. Engineering/filesystem/process tools, task and schedule management, historical/continuity tools and Minion spawning are not implicitly admitted. Unknown tool names are denied even if an earlier advertisement or fabricated review says otherwise. This restricts the agent tool contract, not the OS privileges of trusted installed mod code.
Protected values
Protected values reduce accidental credential exposure in model-visible tool results. They do not authorize a tool call or contain arbitrary shell code.
- A producer returns an explicit
$burrowSensitiveenvelope with typecredential,secret,token,password, orprivate-key - BURROW stores the raw leaf in the turn's in-memory registry and returns an opaque
protected://handle - A compatible later process request supplies that handle through
protectedBindings - The backend resolves the value for the process and supplies known values to output-redaction handling
A malformed explicit declaration withholds the entire response and removes handles created from it. Supported credential-provider adapters also protect known response shapes; arbitrary unmarked output is not automatically a secret envelope.
Managed $burrowManaged references additionally carry an issuer, version, and lifetime. Consumption checks exact agent/session/conversation identity, expiry, current authorization, and provider resolution. The historical synchronous resolver rejects managed references. A protected reference is not a persistent credential and should not be reconstructed or inserted into command text.
Once a process receives a credential, that process can use it. Protected handles and exact-value output replacement are not data-loss prevention, network restrictions, or a shell-command allowlist. Keep the surrounding host and provider trust boundaries appropriate for the work.
Related references
- Tools and execution: tool behavior, filesystem/process routing, and evidence
- Authentication: UI/API admission and diagnostics token scope
- Trust boundaries: secret storage, code trust, and deployment controls
- Known limitations: cross-cutting implementation caveats
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.
Bounded execution-boundary evaluation
Checked 12 November 2026: Execution-boundary rules are evaluated in a disposable worker. The default 1,000 ms budget includes startup and all rules/targets; a trusted shorter deadline or cancellation can stop it sooner. Timeout, cancellation or worker failure yields a hard policy block, and review waits for worker termination. This bounds evaluation, not the later action: it does not create operating-system isolation or change a configured rule’s meaning.
Gemini native execution
Gemini requires inspection and mutation capability, and uses unattended native tool approval only after admission. Inspect-only policies and configured hard blocks without a native enforcement bridge fail closed. The target directory is not a filesystem cage, and a no-commit instruction is not OS enforcement. The selected Google API key is supplied server-side only to the admitted child; no alternate provider or local-host fallback is allowed. Resume requires the saved native identity and matching host, target, connection and exact model.