Security context

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

google-antigravity/antigravity-sdk-python
main @ ae14af2
6
Fixes
0
CVEs
HIGH
Peak severity
33.3%
Coverage
Highlights
Auth Bypass: 3 prior fixes. Scrutinize any change in this area.
google/antigravity/hooks/policy.py: most-fixed (4 issues). Treat as high-risk during review.
6 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.

Auth Bypass: The policy hook component is vulnerable to policy predicate failures failing open and improper parsing of MCP tools. A failures in matching logic can erroneously permit prohibited tool executions.
Path Traversal: Untrusted tools can evade directory-restriction policies and escape the workspace boundary using non-normalized `file://` URIs that bypass standard path checks.
Sandbox Escape: LocalAgentConfig historically defaulted to allowing arbitrary shell execution, enabling untrusted commands to run outside the intended boundary environment.