Security context

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

adobe/css-tools
main @ 0d6a46a
2
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Command Injection: 1 prior fix. Scrutinize any change in this area.
.github/workflows/auto-merge.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.

ReDoS: A polynomial-complexity regex on uncontrolled CSS input could be exploited for denial-of-service; the fix replaced it with indexOf-based search, indicating regex use on untrusted input is a known trap.
Command Injection: The auto-merge workflow allowed unauthorized actors to trigger it via github.actor, enabling command injection through CI; the fix added PR author and repository checks, showing that automation entry points need strict identity validation.