FILTERED RESULTS
FILTERS
Ads Top
DARK MODE
CHART
MCap $2.8T 0%24h Vol $51.5B +10%Fear & Greed 61/100Alts Index 55/100
BTC.D 59.7% +0.5%Stable.D 9.4% 0%ETH.D 11.0% +0.1%Others.D 19.9% -0.6%
S$0.0649+41%•W$0.0231+31.35%•BAT$0.1598+22.22%•GRASS$0.7834+20.64%•STRK$0.1178+18.2%•CARDS$0.3172+15.25%•PLUME$0.0216+14.97%•CFX$0.0675+12.26%•EIGEN$0.2637+10.57%•ETHFI$0.7445+8.78%•
APEPE$0.00000129-11.27%•BP$1.115-9.2%•DRV$0.5065-7.49%•Q$0.0289-6.99%•KAIA$0.0520-6.89%•AKE$0.0261-4.53%•PONS$0.3502-4.15%•ATOM$1.926-3.26%•IMX$0.1927-2.6%•SAND$0.0657-2.55%•
Top movers 24h
    Filters
      Coins
      Sentiment
      Impact
      Search
      FILTERED RESULTS

        

      Upgrade your plan
      Dashboard

      Lightning apps using unpatched LDK risk Bitcoin theft from a reconnect lie

      Lightning Development Kit (LDK), a library for building Bitcoin Lightning wallets and payment applications, has patched a flaw that could let a malicious channel peer steal the value of a forwarded payment by lying after reconnecting. Affected application developers need to incorporate the fix into the software they deploy.

      The October 1-dated v0.2.7 and v0.1.13 security releases address the LDK reconnect vulnerability on the 0.2 and 0.1 branches, respectively. Bitcoin Optech described the fixes in its Oct. 9 newsletter.

      How the LDK reconnect flaw could cost Bitcoin

      The attack starts with a channel peer acknowledging an update, then reconnecting and pretending it never received it. Before the fix, that false claim could cause LDK to sign a conflicting commitment transaction.

      A commitment transaction represents a channel's agreed state and can be used to settle it on Bitcoin's blockchain. In the scenario described in PR 5057, the newly signed transaction was not recorded by LDK's channel monitor, the component tracking the channel's on-chain claims.

      That gap could turn a forwarded payment into a loss. The malicious sender could confirm the transaction on-chain and let the payment settle with the next recipient. It could then reclaim the incoming payment contract when it expired, even though the forwarding node knew the secret normally used to claim payment.

      The forwarding application would have paid downstream without recovering the corresponding incoming funds. The fix permits retransmission only while the peer's acknowledgment remains outstanding and force-closes the channel when the peer claims an already-acknowledged update was missed.

      Related Reading

      Core Lightning patches flaw that could let revoked channel state escape penalty


      Six-step diagram of the potential LDK reconnect theft path: an acknowledged update is falsely denied, an unrecorded commitment is confirmed, the downstream payment settles, and incoming funds are reclaimed at expiry. The patch rejects acknowledged rollback claims in v0.2.7 and v0.1.13.

      Alongside the LDK reconnect fix, version 0.2.7 addresses a different theft path involving LSPS2 just-in-time payments, where a liquidity service opens a channel as part of handling a payment.

      An intercepted payment could misrepresent its amount, causing the service to open a channel and forward more Bitcoin than the incoming payment supplied. The service would cover the difference from its own funds. PR 5042 addresses that amount check.

      That exposure concerns the LSPS2 service flow. The v0.1.13 notes list the shared reconnect fix without listing the LSPS2 fix.

      These defects differ from the splice-fee diversion and saved-state loading bugs covered in CryptoSlate's Sept. 13 LDK v0.2.6 report. Core Lightning is a separate implementation, as described in the update below.

      Related Reading

      Core Lightning patches critical security flaws and a Bitcoin payment bug

      LDK’s architecture documentation explains that the SDK is compiled and executed inside applications. Developers must incorporate the relevant patched library code into deployed software. For LSPS2 integrations, the PR 5042 commit explanation flags that payment contracts queued by a prior version retain unvalidated amounts; teams need to account for those pending contracts as well as updating the library.


      Source: CryptoSlate
      .

      Terra Founder Do Kwon Sentenced to 15 Years in Prison for Fraud