Security context

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

mangiucugna/json_repair
main @ 2921f3a
2
Fixes
0
CVEs
HIGH
Peak severity
Highlights
CI/CD Vulnerability: 1 prior fix. Scrutinize any change in this area.
.github/workflows/pythonanywhere-sync.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.

CI/CD Vulnerability: The workflow was vulnerable to arbitrary code execution by checking out untrusted code refs from the head of a workflow_run event trigger, allowing malicious actors to run code in a privileged context.
Privilege Escalation: Overly broad default GITHUB_TOKEN permissions on pull request triggers could allow compromised or unauthorized pull requests to perform unauthorized repository actions.