Security context

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

monero-project/monero
master @ 49c9cfc
389
Fixes
4
CVEs
CRITICAL
Peak severity
22.9%
Coverage
Highlights
Denial of Service: 167 prior fixes. Scrutinize any change in this area.
src/cryptonote_core/blockchain.cpp: most-fixed (54 issues). Treat as high-risk during review.
138 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.

Denial of Service: Attackers can cause daemon crashes and memory exhaustion via unconstrained outbound response queues or unhandled async exceptions in HTTP/TCP connection handlers. Recent fixes address this by enforcing hard queue limits and wrapping socket handlers in try-catch structures.
Auth Bypass: A critical logic inversion in password verification success checks allowed failed credential JSON parses to proceed as valid background wallet authorizations, bypassing key access controls.
Memory Safety: A use-after-free vulnerability occurred in the transaction pool pruning routine because the code held a reference to a transient map element instead of making a local copy of the transaction hash.