Security context

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

plasmohq/plasmo
main @ 9369e28
2
Fixes
0
CVEs
MEDIUM
Peak severity
Highlights
Improper Input Validation: 1 prior fix. Scrutinize any change in this area.
cli/plasmo/src/features/background-service-worker/bgsw-messaging.ts: 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.

Improper Input Validation: External message listeners could allow malicious extensions or web pages to spoof the sender identity if the sender property is overridden by the payload, bypassing access controls.
Unprotected Socket Bind: The HMR WebSocket server bound to all interfaces by default, exposing the development environment to the local network instead of restricting bindings to localhost or the configured host.