Security context

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

bcoin-org/bcoin
master @ 0c18028
47
Fixes
0
CVEs
CRITICAL
Peak severity
54.3%
Coverage
Highlights
Denial of Service: 18 prior fixes. Scrutinize any change in this area.
lib/net/peer.js: most-fixed (7 issues). Treat as high-risk during review.
30 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: Critical flaws in multisig script processing, stack evaluation, and loop conditions allowed bypasses in standard transaction and script validation logic. Ensuring correct execution constraints on script opcodes like CheckLockTimeVerify is vital.
Auth Bypass: Missing target checking and failure to properly reconstruct or validate Merkle trees (including partial Merkle trees) allowed the injection of invalid blocks without correct cryptographic proof-of-work validation.
Denial of Service: Unbounded queue growth, unconstrained compact block sizes, and a failure to pause socket reads under TCP backpressure allowed remote peers to trigger process-killing memory exhaustion or socket crashes.