A developer has released an open-source credential broker designed to reduce the risk of placing long-lived model and service keys inside hosted AI-agent sandboxes. The project keeps upstream credentials in a Cloudflare Worker controlled by the user and gives sandboxed software a temporary grant instead.

The proposal addresses a specific trust problem in agent infrastructure. Automated coding tools often need access to model providers, source-code hosts or other HTTPS services. Passing the original key into a third-party sandbox gives that environment a credential that may spend money or reach an account. A secrets proxy can hide the value from an agent process, but the sandbox provider may still store the underlying key.

The broker described by its author changes where that sensitive material is held. Real keys are encrypted in the user's own Worker deployment. A sandbox receives a placeholder token and a broker base URL. Requests travel through the broker, which substitutes the appropriate upstream credential without revealing it to the sandbox. The temporary grant can be restricted to selected integrations, given a short lifetime and revoked by its owner.

That design does not make a compromised sandbox harmless. An attacker who obtained a live grant could use its permitted services until the grant expired or was revoked. The benefit is containment: the stolen token is limited by the broker's policy and does not expose every original key stored behind it. Revoking one grant can also avoid the wider operational work of replacing multiple provider credentials.

The implementation supports OpenRouter, Anthropic, OpenAI, GitHub and other HTTPS APIs that authenticate with a key. It separates administrative access from grant issuance and from the grants placed in sandboxes. Grant lifetimes can range from seconds to seven days, according to the project documentation. Users can add network controls such as tunnels, private networking or IP filters around the broker.

The software requires a recent Node.js runtime or Bun and a Cloudflare account capable of deploying Workers and Durable Objects. Its author presents it as a practical interim measure rather than a complete identity system. The longer-term goal would be broad support for workload identity and short-lived credentials issued directly by service providers.

The release is also explicit about its own trust limits. Operators still need to inspect the open-source code, secure the broker's administrative and issuing credentials, and decide whether the deployment fits their threat model. The central idea is narrower: keep permanent credentials in infrastructure the operator controls, while giving disposable access to less-trusted execution environments.