You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Egress DLP block is reported as an environment variable capability error (EGRESS_SECRET_LEAK_BLOCKED) #44
When egress DLP blocks an outbound request because it carries a registered audit secret, the violation is reported as an environment-variable capability error instead of an egress DLP violation. The blocking works; only the classification and message are wrong. This is the second problem described in #9, which was closed after the --audit-egress=auto part was fixed.
The same message appears for secrets registered with --audit-egress=<secret>, --audit-egress=auto (from .env), and the auditSecrets argument of slice_eval_ts.
Expected: a violation that names the cause, for example Egress DLP Violation: Compartment 'mcp-agent-host:sub' outbound request to 'example.com' carried a registered audit secret; request blocked. Ideally a dedicated SandboxViolation variant (for example EgressSecretBlocked { tenant_id, host }) so embedders can match on it.
Why it matters: the message points users to environment-variable permissions, which have nothing to do with the cause, and embedders have to string-match the sentinel key EGRESS_SECRET_LEAK_BLOCKED inside SandboxViolation::EnvAccessDenied to recognize a DLP block.
Environment
Version: v0.10.6, commit c6b3e77
OS: Windows 11 x64, release build (cargo build --release)
Activity
siktec-lab commentedon Nov 10, 2026
Fixed in #46 (
2c3e16a):Replaced the overloaded
SandboxViolation::EnvAccessDenied { key: EGRESS_SECRET_LEAK_BLOCKED }with a dedicatedSandboxViolation::EgressSecretLeakBlocked { tenant_id }variant formatting as:Egress DLP Violation (EGRESS_SECRET_LEAK_BLOCKED): Compartment '<tenant_id>' blocked from exfiltrating a registered audit secret.