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

lightningd: add p2wpkh script for bip86 base

Public commit record

What the developer wrote

Authored by Sangbida Chaudhuri

68/100 · Adequate
lightningd: add p2wpkh script for bip86 base

A bech32 address can be generated from a bip86 base so we should add both script types (p2wpkh, p2tr) to the txfilter for bip86 bases.
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This change fixes a bug where Core Lightning's wallet scanner only watched for Taproot-style transactions for BIP86-derived keys, but missed ordinary SegWit v0 (P2WPKH) transactions. Because BIP86 keys can produce both address types, funds sent to a P2WPKH address derived from the same key would not be detected or credited. This is a correctness/loss-of-funds bug rather than an active theft vulnerability.

Recommended action

Treat as a bug fix with possible funds-recovery implications. Users relying on BIP86-derived P2WPKH addresses should upgrade and rescan; consider release-note mention. No immediate active-exploitation response required.

Security signals we found

01

Funds availability / loss-of-funds bug

02

Incomplete address-type coverage for derived keys

03

Wallet transaction filter omission

04

No explicit security framing in commit message

Risk score

Why this scored 46/100

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