Security context

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

wevm/viem
main @ 97c0916
14
Fixes
0
CVEs
HIGH
Peak severity
41.7%
Coverage
Highlights
Auth Bypass: 7 prior fixes. Scrutinize any change in this area.
src/accounts/utils/sign.ts: most-fixed (2 issues). Treat as high-risk during review.
8 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: Flaws in signature normalization and missing length validation prior to calling lower-level cryptographic recovery routines (such as secp256k1.Signature.fromCompact) can permit signature verification bypasses.
Cryptographic Issues: Signing operations that omit extra entropy or fail to normalize signatures are vulnerable to private key recovery attacks via nonce-reuse vectors.
Auth Bypass: Improper address extraction and incorrect hash serialization during transaction assembly in Tempo mode can result in failed or bypassable signature validations.