Highlights
Command Injection: 1 prior fix. Scrutinize any change in this area.
.github/workflows/pr.yml: most-fixed (1 issue). Treat as high-risk during review.
2 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: Untrusted pull request metadata (such as the PR title) was directly expanded within a workflow shell execution step, allowing external contributors to execute arbitrary commands within the CI/CD runner context. Developers must pass external inputs via secure environment variables instead of direct shell interpolation.
Path Traversal: The file upload endpoint allowed directory traversal because it did not properly restrict user-defined filenames. This allowed files to be saved outside the intended uploads directory, posing a write-anywhere hazard that could lead to application compromise.
Information Disclosure: Debugging steps that dumped the execution environment to public build logs risked exposing highly sensitive credentials and repository secrets. Environment dumps should be avoided or strictly redacted.