DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to check what a sandbox forwards before an agent runs with Brig

List the credentials a run forwards by name, and restrict egress if needed.

Short answer: brig doctor; then brig info <sandbox name>; read the network section of Brig.sh/docs/policies to confirm the egress policy you need is supported on your backend. All steps.

Who it is forA security-minded developer or team lead who must approve which secrets and network paths an agent can reach.

The problemIt is hard to know which credentials an agent inherits and what the sandbox can send over the network.

The outcomeYou see the forwarded credential names for a run and understand the network mode before approving the agent.

What you need first

  • A Mac with Apple silicon on macOS 14 or newer, or a Linux host on x86-64 or arm64 (Intel Macs are not supported)
  • Homebrew on macOS, or the Linux install path from brig.sh/docs/install
  • A terminal and a project folder you want the agent to work in
  • An Anthropic account if you want to run Claude Code inside the sandbox

Steps

  1. brig doctor
  2. brig info <sandbox name> (inferred, check the README)
  3. Read the network section of Brig.sh/docs/policies to confirm the egress policy you need is supported on your backend.
  4. Run brig run claude <project path> only after the forwarded names match what you approved. (inferred, check the README)

Prompt for your agent

Using the brig-sh/brig repository, check the host with `brig doctor`, then run `brig info <sandbox name>` for the sandbox you plan to use. Report the credential names it forwards and whether the network is isolated. Verify that the README says a new sandbox on hvi or Linux gets an isolated network and that Brig refuses a policy-bound run on unsupported backends.

Caveat. The sandbox still reaches the internet by default, so anything the agent can read it can also send unless you bind an egress policy on a supported backend.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for brig-sh/brig and "Check what a sandbox forwards before an agent runs"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer