Network Pivot Attack
SandboxA tool is granted access to one internal API. A compromised tool uses that legitimate outbound path to pivot: it reaches billing, a secrets vault, and an attacker-controlled exfiltration server. MPP's WASI network filter blocks every connection to an undeclared domain.
Declared capability
"network": ["hr-api.internal"]
The tool declares access to one host. At runtime, it attempts four.
hr-api.internal
hr-api.internal
billing.internal
billing.internal
secrets.internal
secrets.internal
exfil.attacker.io
exfil.attacker.io
WASI socket interception
MPP's network filter wraps Wasmtime's WASI socket implementation. Before any TCP connection is established, the filter checks the target hostname against the capability token's allowed_network_domains. A domain not in the list causes the socket call to return ECONNREFUSED without making any OS-level connection attempt — DNS resolution never occurs.