Security context

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

rivet-dev/agentos
main @ 73b1fec
10
Fixes
0
CVEs
CRITICAL
Peak severity
55.6%
Coverage
Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
crates/execution/src/javascript.rs: most-fixed (2 issues). Treat as high-risk during review.
7 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.

Sandbox Escape: The guest Node.js execution runtime is susceptible to sandbox escape and host module fall-through via relative symlink traversal and improper ESM module resolution boundaries. Developers must ensure relative paths are fully resolved and symlinks are evaluated prior to any boundary checking.
Sandbox Escape: Bypasses in the guest runtime isolation allow unauthorized network egress via ambient fetch and path-traversal in storage namespacing. Securing this requires strict shadowing of globals and hardening permission-validation regexes against bracket-notation or string-concatenation obfuscation.
SSRF: Missing host and port properties in the network adapter's policy callbacks can allow guest network requests to bypass host-keyed filters, potentially leading to unauthorized authenticated actions using the embedding page's ambient credentials.