Security context

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

googleapis/java-datastore
main @ 4918282
1
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Command Injection: 1 prior fix. Scrutinize any change in this area.
.github/workflows/hermetic_library_generation.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: Untrusted pull request branch names were directly interpolated into a bash run step in the GitHub Actions workflow. An attacker could craft a malicious branch name containing shell metacharacters to execute arbitrary commands within the runner environment, potentially compromising repository secrets or the build pipeline. This was mitigated by passing the branch name through an environment variable.