Research/Lightning

Lightning Channel Jamming: Attack Vectors and Emerging Mitigation Strategies

Channel jamming attacks can paralyze Lightning routing nodes at low cost, and new mitigation proposals aim to make attacks uneconomical.

bcTanjiAug 5, 2026

Channel jamming is one of the most serious unresolved vulnerabilities in the Lightning Network. An attacker can paralyze routing nodes by locking up their HTLC slots or channel capacity, and the current protocol makes this nearly free. The vulnerability was first documented in Lightning specification issue #182 in May 2017, and despite years of research, no production-ready fix has been deployed. Understanding the attack mechanics and the tradeoffs behind each proposed mitigation is essential for anyone operating or building on Lightning infrastructure.

What Is Channel Jamming?

Channel jamming exploits a fundamental property of Lightning's routing protocol: forwarding a payment temporarily locks resources along the entire route, and failed or unresolved payments incur no fees. An attacker can route payments through a target channel and deliberately refuse to settle them, consuming the channel's capacity without paying for the disruption. The attack comes in two distinct forms, each targeting a different bottleneck.

Slot-Based Jamming

Every Lightning channel can hold a limited number of concurrent in-flight HTLCs. The BOLT #2 specification sets this limit at 483 per direction via the max_accepted_htlcs parameter. The number 483 is not arbitrary: each pending HTLC adds an output to the commitment transaction, and more than 483 would push the closing transaction beyond Bitcoin's standard transaction size limits. With the newer v3 transaction format, the limit drops further to 114 due to the 10 kvB size constraint.

In a slot-based attack, the adversary sends hundreds of dust-value payments through the target channel and never resolves them. Each payment occupies one HTLC slot regardless of its amount. An attacker with just two channels flanking the target can fill all 483 slots using payments worth fractions of a satoshi, completely blocking the channel from forwarding legitimate traffic.

Value-Based Jamming

Instead of filling slots, value-based jamming locks a channel's monetary capacity. The attacker sends large payments routed through the target and holds them unresolved until the timelock approaches expiration. If an attacker commits x satoshis through a 20-hop route, they lock up 20x in other nodes' liquidity. This leverage means a relatively small amount of capital can immobilize a disproportionate share of the network's available liquidity.

Two bottlenecks, one protocol gap: Slot-based jamming targets the 483-HTLC limit per channel, while value-based jamming targets total channel capacity. A well-resourced attacker can combine both strategies simultaneously, and neither costs anything under the current fee model.

Why Channel Jamming Costs Almost Nothing

The core issue is that Lightning's fee model only charges for successful payments. When a payment fails or is cancelled, routing nodes receive nothing for the resources they committed. An attacker who sends payments and then cancels them pays zero routing fees. The only costs are opening attack channels (roughly 156 sats per channel at 1 sat/vbyte) and the opportunity cost of locked funds.

Research by Gleb Naumenko and Antoine Riard quantified the economics. Jamming a small routing node with fewer than six channels costs approximately 156 sats upfront plus 200 sats per month. A network-wide attack degrading payment success rates by 20 percent (targeting roughly 14,000 channels) was estimated at 80,000 to 480,000 sats upfront and 470,000 to 2,820,000 sats per month. For context, that upper bound is roughly 1.5 BTC per year to significantly degrade the entire network.

Attack TypeSlot-Based JammingValue-Based Jamming
Target resourceHTLC slots (483 per direction)Channel capacity (satoshis)
Payment sizeDust-level (minimal sats)Large (significant fraction of capacity)
Capital requiredVery lowModerate (but leverage multiplies impact)
Channels neededTwo (flanking the target)Two or more
Duration of disruptionUntil timelock expiryUntil timelock expiry
Routing fee cost to attackerZero (payments are cancelled)Zero (payments are cancelled)
Primary defense difficultyPer-HTLC cost neededPer-satoshi-per-second cost needed

The Research Behind Channel Jamming

Several academic papers have formalized the attack and its consequences. The 2020 paper "Flood & Loot" by Jona Harris and Aviv Zohar demonstrated how an attacker could trigger mass channel closures, flooding the blockchain and stealing funds via expired HTLCs. Ayelet Mizrahi and Aviv Zohar's "Congestion Attacks in Payment Channel Networks" showed that an attacker could paralyze channels for days and disrupt the Lightning Network by locking most of its liquidity with less than half a bitcoin.

The most comprehensive treatment is the Channel Jamming Book by Naumenko and Riard (sponsored by NYDIG and ACINQ), which catalogs attack costs, evaluates incremental solutions, and proposes advanced mitigation combining hold-time fees with reputation credentials. Clara Shikhelman and Sergei Tikhomirov at Chaincode Labs published "Unjamming Lightning" in November 2022, proposing a systematic approach combining unconditional fees with local reputation scoring.

Mitigation Proposals

No single solution has emerged as a clear winner. Each proposal makes different tradeoffs between attack resistance, usability, privacy, and implementation complexity. The Lightning development community is converging on a hybrid approach, but several alternatives remain under discussion.

Upfront Fees and Unconditional Fees

The most intuitive fix is to charge a small fee for every payment attempt, regardless of whether it succeeds. This directly addresses the root cause: attackers currently pay nothing for failed payments. The unconditional fee has two components: a flat base fee per HTLC (targeting slot-based jamming) and a proportional fee tied to the locked amount (targeting value-based jamming).

Shikhelman and Tikhomirov's simulations showed that adding just 2 percent of the success-case fee as an unconditional charge fully compensates routing nodes for revenue lost to jamming. Since legitimate payments generally succeed within a few attempts, the cost to honest users remains small.

In March 2025, John Law refined the concept with a two-tier approach: upfront fees for temporary HTLC slot usage, and hold fees that scale with how long a payment remains unresolved. The hold fee component specifically penalizes the "slow resolution" strategy that value-based jammers rely on.

The sender pays problem: Unconditional fees create a tension with Lightning's sender-driven routing model. If senders must prepay every hop, they need accurate fee information for the entire route before sending. This interacts poorly with onion routing, where intermediate hops are hidden from each other, and with trampoline routing where the sender delegates pathfinding.

Local Reputation and HTLC Endorsement

The approach gaining the most traction combines two complementary mechanisms. First, each routing node independently tracks how profitable each peer's forwarded payments have been. Peers whose payments consistently succeed and generate fees earn high local reputation. Peers associated with slow-resolving or failing payments lose reputation. This scoring is entirely local: nodes do not share reputation data with each other, avoiding centralization risks.

Second, when a node considers an incoming HTLC worthy based on its peer's reputation, it flags the payment as "endorsed" before forwarding. Endorsed HTLCs receive preferential access to HTLC slots and channel capacity. Unendorsed HTLCs can only use a limited pool of resources: a reserved quota that prevents them from consuming the channel's full capacity. This creates a two-tier system where established senders route freely while unknown or misbehaving senders face restrictions.

The protocol was formalized as BLIP-4 (Experimental Endorsement Signaling), authored by Carla Kirk-Cohen in January 2024. The endorsement signal is carried via a TLV field (type 106823) in update_add_htlc messages. A value of 7 indicates endorsed; 0 indicates unendorsed.

In 2024, the terminology shifted from "endorsement" to "accountability" signaling, reflecting a subtle but important change: when a node endorses an HTLC, it is signaling that it will hold its peer's reputation accountable for how that payment behaves. This framing gives downstream peers more decision-making power and better aligns incentives.

Circuit Breakers

Circuit breakers are a pragmatic, deploy-today tool rather than a protocol change. The CircuitBreaker project by Lightning Equipment functions as a firewall for LND nodes (v0.15.4-beta or higher). It enforces per-peer limits on in-flight HTLCs, rate-limits forwarding using a token bucket algorithm, and reduces information leakage from balance probing.

Node operators can configure three modes: fail mode (immediately reject excess HTLCs), queue mode (hold them until capacity frees up, penalizing the upstream peer), and a hybrid that queues only for inbound channels initiated by remote peers. Circuit breakers are effective as a local defense but do not solve the systemic problem: they shift the attack surface rather than eliminating it, and aggressive limits can reduce legitimate routing throughput.

Stake Certificates

Proposed by Naumenko and Riard in November 2020, stake certificates require payment senders to prove ownership of a Bitcoin UTXO before routing. This ties access to Lightning's routing infrastructure to on-chain economic stake, making Sybil attacks expensive: an attacker would need to control significant capital to obtain enough certificates for a sustained jamming campaign.

The tradeoff is severe for privacy. Linking on-chain UTXOs to Lightning payment activity undermines the network's privacy properties, potentially enabling chain analysis firms to correlate Lightning payments with on-chain identities. The proposal also carries high implementation complexity and was described by its authors as "not a completed idea." It remains a theoretical option rather than a near-term candidate.

Comparing Mitigation Approaches

Each strategy addresses the jamming problem from a different angle, and none is without cost. The following comparison highlights the key tradeoffs that Lightning developers must navigate.

ApproachAttack ResistancePrivacy ImpactUsability ImpactImplementation Status
Unconditional feesHigh (directly raises attack cost)Low (no identity linkage)Moderate (honest users pay per attempt)Proposed, not deployed
Local reputation + endorsementModerate to high (depends on scoring)Low (reputation is local only)Low for established senders; high for new nodes (cold start problem)BLIP-4; experimental in Eclair and LND
Circuit breakersModerate (local defense only)None (no protocol change)Moderate (may reject legitimate payments)Available for LND (alpha)
Stake certificatesHigh (ties access to capital)Severe (links UTXOs to Lightning activity)High (requires on-chain proof per payment)Theoretical only
Hold fees (time-based)High for value-based jammingLowLow for fast payments; penalizes slow routesProposed (March 2025)

Implementation Progress Across Lightning Clients

As of mid-2026, no Lightning implementation has deployed enforced jamming mitigation in production. However, the groundwork for the reputation and endorsement approach is being laid across major clients.

Eclair (maintained by ACINQ) leads in implementation maturity. It merged endorsement signaling via BLIP-4 (PR #2884) and added a per-peer routing fee reputation system (PR #2716, July 2025). LND implemented support for setting and relaying endorsement signals (PR #8390, December 2024) and has an active PR for hybrid jamming mitigation (#10919). LDK (the Rust Lightning library) is taking a cautious approach with a read-only implementation that logs what the mitigation would have done without actually restricting HTLCs: a data collection phase before enforcement.

In October 2025, Carla Kirk-Cohen, Clara Shikhelman, and collaborators published simulation results using an updated reputation algorithm and concluded the approach had "reached a point where it is sufficient for implementation." The path forward appears to be gradual rollout: observe endorsement signals, collect data, refine scoring algorithms, and eventually enable enforcement.

Why a Complete Fix Remains Elusive

Channel jamming is difficult to solve because Lightning's design creates a structural asymmetry. Routing nodes commit real resources (HTLC slots and locked capital) when forwarding payments, but they receive compensation only if the payment succeeds. Any mitigation must somehow charge for failed attempts without making the network unusable for honest users who occasionally encounter routing failures.

The cold start problem is particularly thorny for reputation-based approaches. New nodes joining the network have no reputation history, so they either face restricted routing access (hurting adoption) or receive a generous default allocation (which attackers can exploit by spinning up fresh nodes). Every solution trades off between openness and security.

Privacy constraints add another layer. Lightning uses onion routing specifically to hide payment paths from intermediate nodes. Solutions that require revealing sender identity or on-chain stake directly undermine this property. The local reputation approach preserves privacy by keeping all scoring decisions private to each node, but this locality also limits how effectively reputation information propagates through the network.

Structural Alternatives: Avoiding HTLCs Entirely

Channel jamming is inherent to any protocol that uses payment channels with routed HTLCs. The vulnerability exists because multi-hop routing requires temporarily locking resources across a chain of intermediaries, and each intermediary can be a target. This is not a bug in Lightning's implementation: it is a consequence of the payment channel architecture itself.

Protocols that avoid payment channels sidestep the problem entirely. Spark, for example, uses a statechain-based design where transfers happen by rotating key ownership rather than routing payments through intermediary channels. There are no HTLC slots to exhaust, no channel capacity to lock, and no multi-hop routes where resources can be held hostage. This is a structural advantage for reliability: the attack surface that jamming exploits simply does not exist. The tradeoff is a different trust model (1-of-n operator honesty rather than fully trustless routing), but for applications where uptime and payment reliability are priorities, eliminating an entire class of denial-of-service vulnerabilities is significant.

What Comes Next

The Lightning community appears to be converging on the local reputation plus HTLC endorsement approach as the most practical near-term mitigation. The October 2025 simulation results were encouraging, and implementation work across Eclair, LND, and LDK is progressing. The likely deployment path involves a multi-phase rollout: first deploying endorsement signaling without enforcement, collecting network-wide data on payment patterns, and then gradually enabling enforcement once the scoring algorithms are validated against real traffic.

Unconditional fees may complement the reputation approach in the longer term, providing a direct economic disincentive even for payments from unknown or new senders. Hold fees that scale with resolution time could specifically target value-based jamming without significantly impacting fast-settling legitimate payments.

For developers building payment applications today, the choice of underlying protocol matters. If your application requires high reliability and cannot tolerate routing disruptions, consider architectures that are structurally immune to channel jamming. The Spark SDK provides a self-custodial Bitcoin Layer 2 without payment channels, and for a user-facing implementation, wallets like General Bread demonstrate what Spark-powered payments look like in practice. For a deeper comparison of Bitcoin scaling approaches and their respective tradeoffs, see our Bitcoin Layer 2 comparison.

This article is for educational purposes only. It does not constitute financial or investment advice. Bitcoin and Layer 2 protocols involve technical and financial risk. Always do your own research and understand the tradeoffs before using any protocol.