Skip to Content
RabbitLock Docs

Introduction

One credential policy for every coding agent. Where each key may go, which uses need your approval, and a receipt of every use.

Coding agents run real commands (curl, git push, test suites, deploy scripts) with real credentials, and they read text they can't fully trust: issues, web pages, package READMEs. A token sitting in the agent's environment is one prompt injection, one env dump or one log line away from leaking. And each agent platform handles credentials its own way, or not at all.

RabbitLock is one policy for all of them: which hosts each key may reach, and which uses need your approval. Every use leaves a receipt. The agent only ever holds placeholders.

Today RabbitLock enforces the policy with its own local proxy, which swaps in the real credential only on outbound HTTPS requests to allowed hosts. Applying the same policy through each platform's built-in credential features is on the roadmap.

rabbitlock run -- claude
# inside the agent's shell
$ echo $GITHUB_TOKEN
rl_ph_GITHUB_TOKEN_9f3c…e71a          ← worthless on its own

$ curl -H "Authorization: Bearer $GITHUB_TOKEN" https://api.github.com/user
200 OK                                 ← real token injected by RabbitLock

What you get

  • No real values in the agent. The environment, context window, transcripts and logs only ever contain per-session placeholders.
  • Per-secret host allowlists. A token for api.github.com is never sent anywhere else.
  • Human approval for the secrets that matter. An OS dialog appears on first use, or on every use.
  • Receipts. Which secret, which host, which request, and the outcome. Never the value.
  • An agent sandbox. The agent can't read your keys or rewrite its own policy.
  • No code changes. It works with anything that honours standard proxy settings: curl, git, Node, Python, and the agents and MCP servers built on them.

What it does not do

RabbitLock controls where a token can go, not what it can do there. An agent with an allowed GitHub token can still do anything that token permits on GitHub. Use narrowly scoped tokens. See Limits.

Choose your path

Next steps

On this page