Security context

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

spesmilo/electrum
master @ 4774f7a
87
Fixes
0
CVEs
CRITICAL
Peak severity
48.6%
Coverage
Highlights
Auth Bypass: 25 prior fixes. Scrutinize any change in this area.
electrum: most-fixed (6 issues). Treat as high-risk during review.
42 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: Command execution interfaces and RPC routines frequently lacked robust password requirements, allowing sensitive operations like local channel backups, payment routing, and private key operations to run unauthenticated or with dynamically cleared credentials.
Cryptographic Issues: Simplified Payment Verification (SPV) routines suffered from vulnerabilities where duplicated left-siblings in Merkle branches or valid serialized transactions placed in inner nodes could trick the verifier into accepting fabricated transaction paths.
Code Injection: The use of unsafe evaluation calls such as dynamic python eval on input parameters or arbitrary config parsers exposed the system to arbitrary code execution until they were thoroughly deprecated.