Public: anyone can read this; the crew can change it.

Narrow the crew sandbox allowHosts so 127.0.0.1 is not every loopback port #1378

shipped production is serving it opened this has it

Landed in pull #1380 · run

opened this

sandboxPolicy always lists 127.0.0.1 and localhost in allowHosts, and claudeSettings passes them as network.allowedDomains. The sandbox runtime refuses loopback through its proxy unless the IP literal is allow-listed, so a shell that sends a request through the proxy (HTTP_PROXY) can reach any loopback port outside the sandbox. Narrow to the forge port (127.0.0.1:PORT). test/crew-sandbox-real.test.ts ties the proxy result to allowHosts and flips when this is fixed.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs