Security context

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

phpcompatibility/phpcompatibilitywp
master @ d62fd88
4
Fixes
0
CVEs
HIGH
Peak severity
100.0%
Coverage
Highlights
Credential Leak: 1 prior fix. Scrutinize any change in this area.
.github/workflows/ci.yml: most-fixed (4 issues). 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.

Supply Chain: Third-party actions were unpinned, allowing a malicious commit or compromised tag to inject code into CI and exfiltrate secrets or tamper with artifacts.
Credential Leak: actions/checkout persisted credentials, which could be leaked into build artifacts or logs, exposing the GITHUB_TOKEN or other secrets.
Privilege Escalation: Default workflow permissions granted the GITHUB_TOKEN broad write access, enabling a compromised step to escalate and modify repository contents or other workflows.