Security context

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

didi/mpx
master @ f749e7d
2
Fixes
6
CVEs
CRITICAL
Peak severity
50.0%
Coverage
Highlights
Denial of Service: 1 prior fix. Scrutinize any change in this area.
packages/api-proxy/src/web/api/app/index.js: most-fixed (1 issue). Treat as high-risk during review.
0 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.

Denial of Service: Unrestricted registration of callbacks into global arrays during server-side rendering (SSR) causes memory leaks, potentially leading to Out-of-Memory (OOM) crashes on the server. Developers should ensure environment-specific logic restricts browser-only API setups to actual client contexts.
Prototype Pollution: Direct invocation of hasOwnProperty on objects exposed the application to crashes or behavior bypasses when processing null-prototype objects. Utilizing safe, prototype-agnostic utilities prevents prototype lookup errors and associated logic bypasses.