2026-11-27 16:35 UTC

DeadBolt v1.0.3 adds a local policy gate for agent tool calls

state: expiredheat: lowuncertainty: mediumrelevance: mediumagent-sandboxing agentic-security tool-call-gatingnextelevenNextEleven LLC

What is this?

DeadBolt is an Apache-2.0 local gate for agent tool calls: a trusted executor checks policy and operator state before running a routed action. The project documents Rust, local HTTP, and stdio MCP integrations, plus a desktop MCP bundle. Its published v1.0.3 supports policies, leases, approvals, revocation and local evidence; exact-action approvals and dispatcher credentials are described as prerelease features, not part of v1.0.3. It is explicitly not a sandbox: the trusted executor or MCP child retains OS access, and the gate cannot stop an action already running.

Why it matters

DeadBolt is a practical, open-source implementation of a useful agent-security pattern: check permission at the point where a tool action is dispatched, with local operator controls and evidence. It may help developers add a policy gate without adopting a cloud service or building one from scratch. Its protection depends on every relevant action being routed through trusted integration code; it is not a sandbox, and its local records are operator-writable rather than tamper-proof. The available evidence describes the project and its features, not independent security testing or adoption.

Current assessment

NextEleven’s published DeadBolt v1.0.3 is an Apache-2.0 local admission gate for software-agent tool calls. Its documented integrations include an embedded Rust library, local HTTP sidecar with Python/Node clients, stdio MCP proxy, and an MCPB bundle. The project says the gate evaluates policy before routed actions execute and supports leases, operator approval and revocation, kill controls, and SQLite/JSONL decision evidence; it defaults to denial when its store is unavailable. Web results corroborate the release and emphasize the trust boundary: the downstream MCP server retains OS access, and actions already running are not cancelled. The project explicitly says it is not a sandbox; coverage requires the application to route each protected action through the gate, and identity, destinations, and reported spend come from trusted application code. Evidence records are operator-writable, not tamper-proof or compliance certification. Exact-action approvals and dispatcher admission credentials are described as v1.1.0-rc.1 prerelease features, not stable v1.0.3. The MCPB bundle is reported as unsigned. This is a relevant developer tool and example of effect-point agent governance, but the supplied sources do not establish independent security validation, real-world effectiveness, or broad uptake.

Measured heat

no measured readings yet — the hourly heat pass fills this in

How the heat travelled

10-11 19:42⭐ origin directly observedShow HN: DeadBolt – a local execution gate for agent tool calls
nexteleven on hacker news
—
10-11 19:42amplified on hacker news 👑hn.story.50047033
nexteleven
peak 1 · 0 comments · 105% of case engagement
10-11 21:34our radar first saw it · +1.9hdiscovery anchor: hn.story.50047033—

Evidence (1) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hn ⭐Show HN: DeadBolt – a local execution gate for agent tool calls
Retrieved article excerpt

Open article · Retrieved 2026-10-11T21:42:08.353708+00:00

# DeadBolt

**A local execution gate for software agents.** Put DeadBolt in the code that runs
an action, then let policy and operator controls decide whether that action runs.
Embed it in Rust, call its local sidecar from another language, or wrap a trusted
stdio MCP server. Free under [Apache-2.0](https://github.com/seanebones-lang/deadbolt/blob/main/LICENSE).

[Try it](https://github.com/seanebones-lang/deadbolt/blob/main/docs/QUICKSTART.md) · [Install](https://github.com/seanebones-lang/deadbolt/blob/main/docs/INSTALL.md) · [Integrate](https://github.com/seanebones-lang/deadbolt/blob/main/docs/INTEGRATION.md) · [Smithery](https://smithery.ai/servers/seanebones/deadbolt) · [Project site](https://seanebones-lang.github.io/deadbolt/)

[CI](https://github.com/seanebones-lang/deadbolt/actions/workflows/ci.yml)
[Release](https://github.com/seanebones-lang/deadbolt/releases/latest)
[License: Apache-2.0](https://github.com/seanebones-lang/deadbolt/blob/main/LICENSE)

## Try it before connecting an agent

No model account, API key, Harness, cloud service or database server is needed.
The [published v1.0.3 release](https://github.com/seanebones-lang/deadbolt/releases/tag/v1.0.3)
has native ZIPs for Linux x86\_64, Windows x86\_64, Apple Silicon and Intel Macs.
[Verify and extract the matching archive](https://github.com/seanebones-lang/deadbolt/blob/main/docs/INSTALL.md#native-archive-no-rust-required).
From its extracted directory on macOS/Linux:

```
chmod 0755 deadbolt
./deadbolt drill
python3 examples/evaluate.py --binary ./deadbolt
```

On Windows, use `.\deadbolt.exe drill` and
`python examples/evaluate.py --binary .\deadbolt.exe`.
Expected: `deadbolt drill ok`, then a JSON report with `"passed": true`.
The evaluation starts a private sidecar, writes harmless temporary files, checks
that policy, approval, kill and outage block effects, and cleans up afterward.
Python 3.9+ is the only additional runtime needed. [Understand the report](https://github.com/seanebones-lang/deadbolt/blob/main/docs/FIRST-EVALUATION.md).

## Install in a desktop MCP client

[DeadBolt on Smithery](https://smithery.ai/servers/seanebones/deadbolt) distributes
a local **MCPB bundle** containing the published v1.0.3 executable and a Node.js
launcher. Install it in a compatible client and select one private operator
configuration file defining your trusted downstream server, tool allow-list and
state paths. Node.js 20+ is required; a compatible client can supply that runtime.
No Rust build is needed.

Bundle **1.1.0** packages stable engine **1.0.3**. Leave configuration blank for
read-only integration guidance and bundle checksum verification; this setup mode
provides no active protection. Supply an explicit operator configuration to enable
the gate, whose tools come from
the server you configure. Operator approval, pause and kill remain local CLI
actions. The trusted child retains OS access; this is not a sandbox.
[Installation and verification](https://github.com/seanebones-lang/deadbolt/blob/main/docs/INSTALL.md#local-mcp-bundle-mcpb) ·
[Configuration and operator controls](https://github.com/seanebones-lang/deadbolt/blob/main/dist/mcpb/README.md).

## Pick your integration

| Your executor | Smallest integration | Start here |
| --- | --- | --- |
| Rust application | One dependency, an embedded store and a check at dispatch | [Rust](https://github.com/seanebones-lang/deadbolt/blob/main/docs/INTEGRATION.md#build-in-rust-executor) |
| Python application | Local sidecar and `dispatch` around the actual function | [Python](https://github.com/seanebones-lang/deadbolt/blob/main/docs/PYTHON.md) |
| OpenAI Agents SDK function tools | Local sidecar and `@protected_tool` on each protected function | [SDK adapter](https://github.com/seanebones-lang/deadbolt/blob/main/docs/PYTHON.md#add-the-decorator-to-the-actual-body) |
| Node or another language | Local sidecar; bundled Node client or the HTTP protocol | [Sidecar](https://github.com/seanebones-lang/deadbolt/blob/main/docs/INTEGRATION.md#bolt-on-python-node-or-any-http-client) |
| Trusted stdio MCP server | Replace its launch command with `deadbolt mcp-proxy … -- SERVER` | [MCP](https://github.com/seanebones-lang/deadbolt/blob/main/docs/INTEGRATION.md#bolt-on-stdio-mcp-proxy) |
| Desktop client supporting MCPB | Install the local bundle and select a private operator configuration | [Local bundle](https://github.com/seanebones-lang/deadbolt/blob/main/docs/INSTALL.md#local-mcp-bundle-mcpb) |

Choose the version before copying examples:

| Available now | Included |
| --- | --- |
| **Published v1.0.3** | Native executable, embedded Rust, local HTTP, source Python/Node clients, stdio MCP, leases, policy, broad one-shot approval, kill and evidence |
| **1.1.0-rc.1 prerelease** | All of the above, plus callback dispatch helpers, installable Python wheel/source package, optional SDK decorator, single-agent admission credentials and exact-action approvals |

The [v1.1.0-rc.1 prerelease](https://github.com/seanebones-lang/deadbolt/releases/tag/v1.1.0-rc.1) includes native downloads and a Python wheel. It is for developer evaluation before stable promotion.
They are **not in v1.0.3 downloads**. [Install the prerelease](https://github.com/seanebones-lang/deadbolt/blob/main/docs/INSTALL.md#reviewed-source-candidate)
or use the stable examples labeled v1.0.3. Neither the Rust crate nor the Python
client is published to a package registry; Node is a bundled source client.

## Put the gate at the effect

Your trusted executor creates the run and configures policy first. With the
candidate Python client installed and its sidecar configured:

```
from pathlib import Path
from deadbolt_client import dispatch

outcome = dispatch(
    "executor-run-001", "write_file",
    lambda: Path("output.txt").write_text("allowed work"),
)
if not outcome["executed"]:
    print("Action blocked:", outcome["decision"]["code"])
```

A fresh admission happens before the callback. A denial leaves the body uncalled.
[The complete setup](https://github.com/seanebones-lang/deadbolt/blob/main/docs/INTEGRATION.md) covers run creation, policy, credentials,
transport and error handling. Wrap every protected route; never cache an allow
or perform a separate admission before a one-shot dispatch helper.

## Controls you can build on

- Tool allow-lists, destination tokens, reported-spend caps, pause and clips.
- Leases with a default 60-second sliding TTL; killed IDs stay killed.
- Operator kill blocks subsequent actions for an ID and its registered descendants.
- Broad one-shot approval for classified irreversible tools; the candidate adds
  [review of exact arguments](https://github.com/seanebones-lang/deadbolt/blob/main/docs/ACTION-APPROVALS.md), including recipient/body/amount.
- Candidate [admission credentials](https://github.com/seanebones-lang/deadbolt/blob/main/docs/CREDENTIALS.md) let one dispatcher ask
  for permission for its run without receiving operator controls.
- SQLite evidence, JSONL mirrors and per-agent incident exports.
- Default denial when the store is unavailable; bundled clients deny on transport
  failure, malformed responses and unsuccessful HTTP status.

Unset policy lists are open. Configure each run and child before dispatch.
Identity, tool routing, destinations and reported spend come from trusted
application code. They are not network interception or independent billing.

## Know the boundary

DeadBolt protects actions routed through your executor. The operator owns state,
policy and approvals; the model must not receive those controls. It does not
isolate arbitrary code, stop a model provider, cancel a running body, or make an
external effect transactional with admission. The MCP child is trusted and has
OS access; startup and non-tool MCP methods are outside the tool-call gate.

Evidence hashes identify content, but operator-writable records are not a
compliance certification. Read [trust boundaries](https://github.com/seanebones-lang/deadbolt/blob/main/docs/TRUST.md) before deploying.
Use [the pilot checklist](https://github.com/seanebones-lang/deadbolt/blob/main/docs/PILOT.md) to verify your application's actual routes.

## Developer documentation

| Need | Guide |
| --- | --- |
| First working result | [Quick start](https://github.com/seanebones-lang/deadbolt/blob/main/docs/QUICKSTART.md), [first evaluation](https://github.com/seanebones-lang/deadbolt/blob/main/docs/FIRST-EVALUATION.md) |
| Binary, crate or Python installation | [Installation](https://github.com/seanebones-lang/deadbolt/blob/main/docs/INSTALL.md) |
| Embed, sidecar or MCP wiring | [Integration](https://github.com/seanebones-lang/deadbolt/blob/main/docs/INTEGRATION.md), [Python / SDK](https://github.com/seanebones-lang/deadbolt/blob/main/docs/PYTHON.md) |
| Least-authority dispatch and sensitive actions | [Credentials](https://github.com/seanebones-lang/deadbolt/blob/main/docs/CREDENTIALS.md), [exact approvals](https://github.com/seanebones-lang/deadbolt/blob/main/docs/ACTION-APPROVALS.md) |
| API and upgrade behavior | [HTTP protocol](https://github.com/seanebones-lang/deadbolt/blob/main/docs/PROTOCOL.md), [compatibility](https://github.com/seanebones-lang/deadbolt/blob/main/docs/COMPATIBILITY.md) |
| Denial or setup problem | [Troubleshooting](https://github.com/seanebones-lang/deadbolt/blob/main/docs/TROUBLESHOOTING.md), [FAQ](https://github.com/seanebones-lang/deadbolt/blob/main/docs/FAQ.md) |
| Deploy, backup and respond | [Operations](https://github.com/seanebones-lang/deadbolt/blob/main/docs/OPERATIONS.md), [incidents](https://github.com/seanebones-lang/deadbolt/blob/main/docs/INCIDENT.md) |
| Evaluate or contribute | [Technical brief](https://github.com/seanebones-lang/deadbolt/blob/main/docs/EVALUATOR.md), [Hermes showcase](https://github.com/seanebones-lang/deadbolt/blob/main/docs/HERMES-SHOWCASE.md), [contributing](https://github.com/seanebones-lang/deadbolt/blob/main/CONTRIBUTING.md) |
| Versions and packaging | [Changelog](https://github.com/seanebones-lang/deadbolt/blob/main/CHANGELOG.md), [release procedure](https://github.com/seanebones-lang/deadbolt/blob/main/docs/RELEASING.md), [third-party notices](https://github.com/seanebones-lang/deadbolt/blob/main/THIRD-PARTY.md) |

Source checks: `cargo test --locked`, `cargo clippy --all-targets --locked -- -D warnings`,
and `python3 tests/client_contract.py` after `cargo build --locked --bin deadbolt`
(Python and Node required). CI also checks Rust 1.85, installed Python/SDK behavior
and native packages. Passing these checks does not establish acceptance of your application.

[Report ordinary bugs](https://github.com/seanebones-lang/deadbolt/issues/new/choose)
or use [private security reporting](https://github.com/seanebones-lang/deadbolt/blob/main/SECURITY.md). Copyright NextEleven LLC 2026.
[License](https://github.com/seanebones-lang/deadbolt/blob/main/LICENSE) · [Notice](https://github.com/seanebones-lang/deadbolt/blob/main/NOTICE). Harness is one consumer, not a prerequisite.
nexteleven10

Interpretation history

Decision trace