Security context

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

dietrichgebert/ponytail
main @ a945778
2
Fixes
0
CVEs
MEDIUM
Peak severity
50.0%
Coverage
Highlights
Command Injection: 1 prior fix. Scrutinize any change in this area.
benchmarks/benchmark-local.py: 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.

SSRF: The local benchmarking script accepted arbitrary Ollama URLs, allowing attackers to access local files via the file:// protocol or make internal network requests via arbitrary schemes. This was mitigated by restricting URLs to http and https.
Command Injection: The status line snippet preparation dynamically constructed shell commands using the plugin installation path. This created a potential command injection vector if the path contained shell metacharacters, requiring an allowlist validation check on the path characters.