Security context

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

embarklabs/embark
master @ c7a5c4c
15
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Auth Bypass: 4 prior fixes. Scrutinize any change in this area.
lib/core/proxy.js: most-fixed (3 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.

Auth Bypass: The authenticator and dynamic route managers suffered from critical flaws including static token reuse, lack of request signature verification, and unauthenticated fallback paths that permitted total API access bypass.
Unbinding to All Interfaces: The core proxy server repeatedly defaulted to binding on all interfaces (0.0.0.0), exposing local development APIs and Ethereum nodes to external network attackers.
Sandbox Escape: Execution of untrusted/dynamic code via Node's default vm context allowed trivial escape to the parent process host, necessitating migration to VM2.