Security context

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

googleapis/gcloud-mcp
main @ 238728f
2
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Command Injection: 2 prior fixes. Scrutinize any change in this area.
packages/gcloud-mcp/src/gcloud.ts: 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: The primary gcloud execution path uses spawn without a default command filter, allowing dangerous commands like SSH to be invoked.
Command Injection: The run_gcloud_command tool uses exec with config-based filtering that may be incomplete or bypassable, enabling arbitrary command execution.