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

Makefile: install lightning-downgrade.

Public commit record

What the developer wrote

Authored by Ken Sedgwick

66/100 · Adequate
Makefile: install lightning-downgrade.

lightning-downgrade is built with the other tools but is not in
BIN_PROGRAMS, so "make install" does not copy it to bindir. The
release archives are made from that install, so they have the manual
page and not the program: a node upgraded from the release binaries
cannot go back without building the tool from source.

Add it to BIN_PROGRAMS, next to lightning-hsmtool. Install and
uninstall both work from that list.

Changelog-Fixed: Tools: `lightning-downgrade` is now installed by `make install` and included in the release archives.
Fixes: #9746
✓ Descriptive subject✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
The short version

What changed, and why it matters

This is a packaging/build fix, not a security vulnerability. The `lightning-downgrade` utility was being compiled but accidentally left out of the list of programs installed by `make install`. As a result, official release archives contained the tool's manual page but not the tool itself, meaning users who installed from a release binary could not easily downgrade their node without compiling the tool from source. The patch adds the missing program to the install list so it ships with releases. There is no exploit or code flaw in the software's runtime behavior.

Recommended action

No security action required. Treat as a normal build/packaging fix. If reviewing for release integrity, verify that `make install` and release archive generation now include `tools/lightning-downgrade`.

Security signals we found

No strong security signals were identified.

Risk score

Why this scored 23/100

Our methodology →
Potential impact 4/30
Exploitability 0/25
Stealth signal 0/15
Affected reach 5/15
Confidence 9/10
Evidence quality 5/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.