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

common: don't use a dummy zero field for payer proofs.

Public commit record

What the developer wrote

Authored by Rusty Russell

65/100 · Adequate
common: don't use a dummy zero field for payer proofs.

Spec simplification suggested by @t-bast.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
The short version

What changed, and why it matters

This commit updates how payment proofs are digitally signed in Core Lightning. Previously, the code inserted a fake empty field (type 0, length 0) when computing the proof signature. The new code follows a simplified specification and signs the proof data directly without that dummy field. This is a standards-compliance/spec-simplification change rather than a fix for an active vulnerability.

Recommended action

Treat as a standards-alignment change. Verify that all BOLT12 payer proof implementations in the same network/ecosystem adopt the same simplified signing convention to avoid interoperability failures. Review whether any deployed proofs signed under the old dummy-TLV0 rule need migration or dual-verification support.

Security signals we found

01

Change to cryptographic signing/verification path for BOLT12 payer proofs

02

Removal of synthetic TLV0 field from Merkle root computation

03

Spec-simplification change affecting signature compatibility/interoperability

04

No explicit vulnerability or security bug described in commit message

Risk score

Why this scored 29/100

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