Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

dagger/dagger
main @ 27df763
61
Fixes
2
CVEs
HIGH
Peak severity
35.3%
Coverage
Highlights
Information Disclosure: 23 prior fixes. Scrutinize any change in this area.
engine/buildkit: most-fixed (4 issues). Treat as high-risk during review.
16 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Information Disclosure: Secrets printed during container execution or streamed via multi-write operations could bypass scrubbing layers due to trie-splitting bugs or multi-write fragmentation. Stream transformer-based readers and line-by-line validation were required to resolve this.
Auth Bypass: Inadequate cryptographic scoping allowed cross-client exposure of socket connections and secrets. This required introducing HMAC-based per-client isolation to securely gate tunnels.
Path Traversal: Path traversal during changeset exports and workspace interactions allowed arbitrary file actions or escape beyond module context roots on both Windows and Linux clients.