How do you intercept network traffic on mac os? How do you fake certificates?
That being said, the default behaviour is no network, so nothing will be routed if it's not allowed regardless of whether the sandboxed process respects env vars or not.
BUT, the default behaviour (no net) is fully enforced at the kernel level. Domain filtering relies on the program respecting proxy env vars.
(allow network-outbound
(remote tcp "127.0.0.1:8080"))