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

askrene: paranoid checks ...

Public commit record

What the developer wrote

Authored by Lagrang3

50/100 · Thin
askrene: paranoid checks ...

that new flows respect the HTLC min/max constraints.

Changelog-None

Signed-off-by: Lagrang3 <lagrang3@protonmail.com>
✓ Descriptive subject✓ Provides an explanatory body
The short version

What changed, and why it matters

This commit adds extra safety checks to Core Lightning's 'askrene' routing plugin. After computing payment routes, it now verifies that every hop's amount respects each channel's advertised minimum and maximum HTLC limits. If a route violates those limits, it is rejected with a broken/log message. This is a defensive hardening change rather than a fix for a known active exploit.

Recommended action

Treat as a low-priority hardening patch. Review whether the checks cover all flow outputs and whether failures are handled gracefully by callers. No urgent deployment is indicated absent a disclosed vulnerability.

Security signals we found

01

Defensive validation of HTLC min/max constraints after route computation

02

Use of LOG_BROKEN on constraint violation, indicating an unexpected internal inconsistency

03

Comment framing as 'paranoid checks' and 'don't trust, verify'

04

No changelog entry, suggesting routine hardening rather than announced vulnerability fix

Risk score

Why this scored 42/100

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