Security context

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

merit-systems/x402scan
main @ c5c0eee
18
Fixes
0
CVEs
CRITICAL
Peak severity
21.4%
Coverage
Highlights
Auth Bypass: 11 prior fixes. Scrutinize any change in this area.
apps/scan/src/app/api/proxy-image/route.ts: most-fixed (3 issues). Treat as high-risk during review.
15 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: Allowing users to authenticate via Sign-In with Ethereum (SIWE) using arbitrary emails instead of validating specific provider credentials allowed complete identity spoofing and account takeover.
SSRF: The image proxy endpoint was susceptible to Server-Side Request Forgery (SSRF) via open redirects and missed private IPv6 range exclusions, potentially exposing sensitive internal systems.
Auth Bypass: Endpoint registration lacked strict verification against declared OpenAPI specifications, enabling the registration of arbitrary and unauthorized external endpoints.