Security context

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

docmirror/dev-sidecar
master @ a72b545
7
Fixes
0
CVEs
HIGH
Peak severity
33.3%
Coverage
Highlights
Auth Bypass: 1 prior fix. Scrutinize any change in this area.
packages/core/src/lib/proxy/mitmproxy/index.js: most-fixed (1 issue). Treat as high-risk during review.
3 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.

TLS Verification Bypass: The application failed to enforce TLS certificate validation properly on outbound requests, potentially allowing man-in-the-middle (MITM) attacks when acting as an HTTPS interceptor. Developers must ensure that outgoing HTTPS requests enforce agent validation constraints.
Command Injection: Concatenating shell commands dynamically allowed arbitrary command execution. Sequential execution via safe process wrappers (like execFile) must be enforced instead of using raw shell evaluation.
Broken Authentication: Global state manipulation, such as setting process.env.NODE_TLS_REJECT_UNAUTHORIZED to '0', disabled certificate validation system-wide. Disabling TLS verification globally must be strictly avoided.