Security context

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

google/starlark-go
master @ 6dd8f16
2
Fixes
0
CVEs
HIGH
Peak severity
0.0%
Coverage
Highlights
Isolation Bypass: 1 prior fix. Scrutinize any change in this area.
internal/compile/compile.go: 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.

Isolation Bypass: Load statements were compiled to SETGLOBAL, allowing bindings to escape the file scope and pollute the global namespace, breaking module isolation.
Memory Corruption: The BigInt() accessor returned a reference to the internal big.Int, allowing callers to mutate interpreter-owned state, leading to undefined behavior or memory corruption.