Security context

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

googlechrome/web-vitals
main @ 7d0c96a
2
Fixes
0
CVEs
MEDIUM
Peak severity
Highlights
Path Traversal: 1 prior fix. Scrutinize any change in this area.
GitHub: most-fixed (1 issue). Treat as high-risk during review.
0 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: The local test server was vulnerable to directory traversal, potentially allowing arbitrary file read access on developer or CI machines if they resolved paths outside the designated base directory. Developers must ensure any local server utility performs robust path canonicalization and strict prefix validation before invoking file system APIs.
Privilege Escalation: Over-privileged GitHub Actions workflows could be exploited to escalate privileges or compromise repository secrets if a runner or dependent action was compromised. Hardening workflow definitions with explicit, minimal read-only permissions mitigates the blast radius of unauthorized execution.