🛡️ Security model
Tackle's security posture is to fail-closed:
- Allowing a tool invocation is never a default.
- Every extension point is bounded.
We believe the harness is responsible for two things a repository must not decide: the model's access to resources, and the harness's own configuration. Both belong outside any compute sandbox.
The sandbox is the consent boundary
A cloned repository is untrusted input. But trust is not a property of the repository as a whole — it is a property of what a piece of configuration can do. Tackle admits configuration whose only power is to place text in the model's context, and denies configuration that can act on its own.
Context is admitted. The model already reads the repository with its own tools, so a definition's body or a package resource grants it nothing it could not read anyway. Definitions — personas, actors, and prompts — therefore load without a prompt, as do bounded Rhai scripts, whose engine limits are the consent (see Scripts are bounded).
A definition can steer the model — that is what it is for — but steering is not acting. Everything the model does in response still passes through the permission pipeline, which is where the boundary actually sits.
Host execution is denied at project scope. A project may not, on its own authority, run a program, reach the network, or move a credential:
mcp_serversandclient_toolsdeclared by a project are ignored.endpointsandcredential_helperare rejected outright.- The same entries are honoured only from user configuration outside the repository.
There is no launch-time consent prompt, because there is nothing to consent to: the sandbox already holds the repository's content, and no project declaration escalates beyond it. Configuration and definitions load once at process start without hot reload, so a change is picked up on the next run.
Spawn hygiene
stdio MCP servers are started with an explicit argv or shell, with only the named environment variables accessible. Tackle's own environment, PATH included, is never forwarded.
Credentials
Secrets never enter configuration and never enter model context. An environment value that is exactly {cred:<identity>} is resolved through the credential helper at spawn, not at load, so the secret exists only in the spawned process's environment. A marker that is not the whole value passes through literally; a failed lookup fails that server's connection rather than the session.
Logs redact credentials and tool arguments, and telemetry redacts sensitive payloads at the type level.
Grants
The permission grant store is in-memory only. A grant never touches disk, does not survive process exit, and does not survive a resume after restart. See Permissions.
Scripts are bounded
Script engines enforce operation, call-depth, expression-depth, collection-size, and time limits, cap script size, forbid module imports, and start fresh per invocation. Scripts cannot invoke tools and cannot read or write the grant store. A policy script that fails fails closed to ask.
Permission assessment is in-core
The permission pipeline (including grants, policy scripts, and the fixed ask fallback) lives in the harness, deliberately outside any sandboxed development environment. An agent with shell access inside a sandbox cannot rewrite the access control that governs it.
Sandboxing itself is not tackle's job. Where you need real containment, run the agent inside a sandbox and reach tackle's tools from there — that is Litterbox's role, and tackle reaches it only over MCP.
Bounded inputs
Tool results are truncated at a fixed limit (16 KiB) with the original size recorded, bounding what a single server response can put in front of the model. The full content remains in the session store.