Security context

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

tox-dev/tox
main @ 4bb6421
2
Fixes
0
CVEs
HIGH
Peak severity
100.0%
Coverage
Highlights
Command Injection: 1 prior fix. Scrutinize any change in this area.
.github/workflows/prepare-release.yaml: 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.

Command Injection: Direct inline shell expansion of untrusted workflow step outputs (like version strings) allows adversaries to execute arbitrary shell commands inside the CI runner environment. Mitigation requires passing variables through environment contexts.
Path Traversal: Parsing PEP 723 metadata can allow script dependencies or references to resolve paths outside the project root. Enforcing strict canonicalization and prefix checks ensures that arbitrary file reading does not occur during environment preparation.