Security context

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

astral-sh/ruff
main @ d1dda84
6
Fixes
0
CVEs
HIGH
Peak severity
83.3%
Coverage
Highlights
Access Control: 1 prior fix. Scrutinize any change in this area.
Actions: most-fixed (2 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.

Arbitrary File Read: The workflow was vulnerable to arbitrary local file disclosure if a downloaded artifact (such as ecosystem-result) was manipulated into a symbolic link pointing to a sensitive runner file before reading.
Template Injection: Using direct interpolation of untrusted workflow inputs inside runner shell steps creates shell injection risks. Environment variables must be used to safely pass these inputs.
Code Injection: Unsafe interpolation of variables like github.server_url inside script steps could allow for code execution within the actions context.