Security context

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

actions/toolkit
main @ 0786132
3
Fixes
2
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Credential Leak: 1 prior fix. Scrutinize any change in this area.
.github/workflows/releases.yml: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix 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: Attackers providing malicious zip structures or crafted Content-Disposition headers could exploit directory traversal sinks during download extraction, potentially overwriting critical runner files. Sanitization must rely on strict path canonicalization and prefix verification.
Command Injection: Historically, command injection through the stdout communication format in addPath and exportVariable (CVE-2020-15228, CVE-2022-35954) allowed untrusted log values to hijack the runner environment by setting arbitrary variables or paths.
HTTP Header Injection: Insufficient sanitization of system-derived environment variables like ACTIONS_ORCHESTRATION_ID allows header value breakout, potentially manipulating underlying HTTP communication or headers transmitted to APIs.