Security context

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

getsentry/self-hosted
master @ df6109d
4
Fixes
0
CVEs
HIGH
Peak severity
100.0%
Coverage
Highlights
Command Injection: 3 prior fixes. Scrutinize any change in this area.
.github/workflows/fast-revert.yml: most-fixed (1 issue). Treat as high-risk during review.
3 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.

Command Injection: Direct interpolation of action input version into a curl URL in a run script allows shell injection. Fixed by passing via environment variable COMPOSE_VERSION.
Command Injection: Issue body interpolated directly into an echo command allowed command injection. Fixed by extracting via jq from the GitHub event JSON.
Command Injection: GitHub context values passed via direct interpolation in a curl POST script enabled injection. Fixed by moving to environment variables.