A Sandbox Is Not an Egress Policy: Testing Coding Agents in Node.js

An intact sandbox can still leave an authorized outbound data path open. This local-only Node.js example separates execution isolation from environment access and outbound authorization. See the runner-to-broker-to-collector topology, a synthetic canary guard, and the positive control needed to distinguish blocked traffic from a broken test setup. Canary matching demonstrates one test policy, not general secret detection. This is a defensive lab walkthrough, not a reproduction of either reported incident. The video shows illustrative code, not measured execution results. Full write-up: https://hackyjs.com/posts/a-sandbox-is-not-an-egress-policy-testing-coding-agents-in-nodejs

nodejsai-agentssecuritysandboxingegress

Read the post →