Security context

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

xrplf/rippled
develop @ ff02269
206
Fixes
1
CVEs
CRITICAL
Peak severity
29.7%
Coverage
Highlights
Denial of Service: 109 prior fixes. Scrutinize any change in this area.
src/ripple/app/tx/impl/NFTokenAcceptOffer.cpp: most-fixed (6 issues). Treat as high-risk during review.
91 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: A trailing semicolon in a conditional block completely bypassed signature validation checks during ledger close operations across multiple release branches. This highlights a critical need to ensure compilation invariants and strict linter policies are applied to verification paths.
Denial of Service: Processing transactions with zero-valued keys (e.g. zeroed offer IDs or DomainIDs) caused node-crashing assertion failures. These must be guarded with early input validation that rejects non-canonical or zero-valued identifier states before hitting ledger-reading code.
Memory Corruption: Embedded dependencies like http-parser and lz4 decompressors have historically introduced memory corruption risks (e.g. heap-based buffer overflows, CVE-2022-29077), requiring strict enforcement of buffer sizes and bounds checks on stream headers.