Security context

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

sebastianbergmann/comparator
main @ c69a77c
1
Fixes
0
CVEs
MEDIUM
Peak severity
Highlights
Token Privilege Escalation: 1 prior fix. Scrutinize any change in this area.
.github/workflows/ci.yml: 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.

Token Privilege Escalation: The CI workflow previously operated with default, write-access GITHUB_TOKEN permissions, exposing the repository to unauthorized modifications if the runner environment or a dependency were compromised. The fix restricted permissions explicitly to 'contents: read'.