Security context

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

wevm/wagmi
main @ e65ce37
5
Fixes
0
CVEs
HIGH
Peak severity
60.0%
Coverage
Highlights
Denial of Service: 2 prior fixes. Scrutinize any change in this area.
packages/core/src/utils/cookie.ts: most-fixed (2 issues). Treat as high-risk during review.
2 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.

Dependency Vulnerability: Supply chain vulnerabilities, such as the Ledger Connect Kit exploit, represent high-severity risks that can compromise downstream users. Removing vulnerable integrations like the LedgerConnector is critical to protecting user assets.
Authentication Bypass: Incomplete verification of SIWE (Sign-In with Ethereum) messages, specifically missing session-stored nonce validation, can allow attackers to perform authentication replay attacks.
CSRF: Missing SameSite attribute configurations on state and session cookies storage can expose the application to cross-site request forgery attacks.