Security context

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

apple/container
main @ c34d340
14
Fixes
2
CVEs
HIGH
Peak severity
25.0%
Coverage
Highlights
Denial of Service: 6 prior fixes. Scrutinize any change in this area.
Sources/Services/ContainerAPIService/Client/Archiver.swift: most-fixed (2 issues). Treat as high-risk during review.
3 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.

Path Traversal: Insecure archive extraction can allow malicious container images or tarballs to write arbitrary files outside the target directory (Zip Slip), potentially leading to host compromise. This corresponds directly to CVE-2026-20613.
Command Injection: Untrusted context variables evaluated inside run blocks in CI workflows can allow attackers to inject shell commands, compromising build runners and potentially pushing backdoored artifacts.
Denial of Service: The internal DNS handler is vulnerable to packet-size exhaustion, where unvalidated UDP packet processing causes service crashes or hung resources.