Security context

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

tldr-pages/tldr
main @ ec79e2e
3
Fixes
0
CVEs
MEDIUM
Peak severity
50.0%
Coverage
Highlights
Token Privilege Abuse: 2 prior fixes. Scrutinize any change in this area.
.github/workflows/codespell.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 Abuse: The codespell workflow triggered on pull_request events previously ran with default, write-access GITHUB_TOKEN permissions, creating a vector for unauthorized repository modifications by malicious pull requests.
Credential Management: The project relied on an over-privileged Personal Access Token (GH_TOKEN) embedded in git clone and push commands within build scripts, exposing sensitive repo-wide write access if the token was leaked.
Token Privilege Abuse: The scheduled monthly-check workflow lacked explicit, minimal token permissions, running with standard default permissions that violated the principle of least privilege.