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

peer: fix MarkCoopBroadcasted to correctly use local parameter

Public commit record

What the developer wrote

Authored by Dario Anongba Varela

50/100 · Thin
peer: fix MarkCoopBroadcasted to correctly use local parameter
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
The short version

What changed, and why it matters

A bug in LND's cooperative channel close tracking caused the software to always label the close transaction as 'locally initiated', even when the other peer initiated it. This is a bookkeeping error in how close events are recorded, not a direct theft-of-funds bug, but it could mislead downstream logic that relies on accurate close-initiator information.

Recommended action

Review consumers of MarkCoopBroadcasted and the persisted close-initiator metadata to determine whether the mislabeling could affect fee attribution, close reporting, or any automated follow-up behavior. Apply the patch and verify release notes are accurate.

Security signals we found

01

Incorrect use of API parameter leading to misattribution of on-chain channel close events

02

Persistent state written with wrong party identifier for cooperative close

03

Potential for downstream logic to act on incorrect close-initiator metadata

Risk score

Why this scored 43/100

Our methodology →
Potential impact 12/30
Exploitability 5/25
Stealth signal 8/15
Affected reach 7/15
Confidence 7/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.