Security context

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

ethereum/aleth
master @ 5d1078a
241
Fixes
0
CVEs
CRITICAL
Peak severity
45.7%
Coverage
Highlights
Denial of Service: 114 prior fixes. Scrutinize any change in this area.
libethereum/Executive.cpp: most-fixed (36 issues). Treat as high-risk during review.
146 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: Zero-signature transactions (EIP-86/EIP-208) were processed without enforcing zero-value constraints on gasPrice, value, and nonce, allowing malicious actors to bypass transaction signature checks and forge arbitrary senders.
Denial of Service: The EVM memory expansion logic lacked proper bounds and integer overflow checks during instruction operations (like CALLDATACOPY and CODECOPY), allowing arbitrary memory manipulation or process crashes.
Cryptographic Weakness: Key generation and nonces relied on the insecure and predictable std::mt19937_64 PRNG instead of a cryptographically secure random source, potentially allowing private key recovery.