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

common: remove legacy onion translation.

Public commit record

What the developer wrote

Authored by Rusty Russell

68/100 · Adequate
common: remove legacy onion translation.

This was added in 24.05, but LND since 0.18.3 no longer ever creates
such onions, and even that version (September 2024) is now a long way
behind.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Removed: Protocol: we no longer support legacy onions (never sent by LND >= 0.18.3, which was the last)
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This commit removes support for an old-style Lightning payment onion format called 'legacy onions.' These were only produced by older versions of LND and had already been partially removed in a previous release. The change is a protocol cleanup, not a fix for an active security bug. It does not add new code paths that handle untrusted data differently; it simply stops accepting a deprecated format. The main risk is reduced interoperability with very old nodes, not a new vulnerability.

Recommended action

Treat as a routine protocol cleanup. Operators should ensure peers run LND >= 0.18.3 or other modern implementations. No emergency patching is warranted based on the supplied materials. If a security concern is suspected, request a vendor security advisory or independent analysis of the removed legacy parsing path.

Security signals we found

01

Removal of legacy protocol compatibility code

02

No new memory allocation or parsing of attacker-controlled sizes introduced

03

No bounds-checking changes beyond deleting the legacy branch

04

No vendor security advisory or CVE referenced in commit or supplied materials

Risk score

Why this scored 25/100

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