AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Informational 17 Bitcoin

fuzz: handle missing SendTx* message events in chanmon_consistency

Public commit record

What the developer wrote

Authored by Joost Jager

83/100 · Strong
fuzz: handle missing SendTx* message events in chanmon_consistency

Add handlers for SendTxInitRbf, SendTxAckRbf, SendTxRemoveInput, and
SendTxRemoveOutput in the chanmon_consistency fuzz target. These
variants were reachable but not matched, causing panics on the wildcard
arm ("Unhandled message event").

SendTxInitRbf became reachable after commit 5873660a0 added splicing
support without updating the fuzz target's message delivery logic.

AI tools were used in preparing this commit.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
The short version

What changed, and why it matters

This commit fixes a fuzz testing harness so it can handle four new types of message events related to the experimental splicing feature. Previously, the harness would panic with 'Unhandled message event' when these messages appeared during automated fuzzing. This is a test-only fix and does not change the production Lightning protocol code that real nodes run.

Recommended action

No production action required. This is a test-only fix. Reviewers may want to confirm that the new splicing message handlers are covered by other tests and that no additional fuzz targets have similar unhandled variant gaps.

Security signals we found

01

Panic in fuzz target due to unhandled MessageSendEvent variants

02

Splicing-related message events (SendTxInitRbf, SendTxAckRbf, SendTxRemoveInput, SendTxRemoveOutput) were reachable but unmatched

03

Fix is confined to fuzz testing harness; production code paths unchanged

Risk score

Why this scored 17/100

Our methodology →
Potential impact 2/30
Exploitability 0/25
Stealth signal 0/15
Affected reach 2/15
Confidence 9/10
Evidence quality 4/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.