Security context

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

carbon-language/carbon-lang
trunk @ 039b4e9
8
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Auth Bypass: 3 prior fixes. Scrutinize any change in this area.
GitHub: most-fixed (2 issues). Treat as high-risk during review.
4 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.

Auth Bypass: Untrusted pull requests could gain write access to the Google Cloud remote build cache via pull_request_target triggers, allowing malicious actors to compromise build artifacts.
Token Leak: The use of pull_request_target without explicitly restricted permissions could allow hostile forks to exfiltrate highly privileged repository tokens.
Memory Corruption: Holding references to name scopes across reallocating import calls causes use-after-free vulnerabilities during the semantic analysis phase.