Lightning Network channel attacks are methods by which an adversary tries to block, disrupt or steal from payment channels. The Lightning Network lets users make Bitcoin payments off-chain through payment channels, and the design rests on hashed timelock contracts that settle on the blockchain when a dispute arises. Attacks usually target the points where the off-chain world meets on-chain limits: the number of pending payments a channel can hold, the time allowed for settlement, and the scarce space in blocks.
The three attacks covered here differ in aim and maturity. Jamming blocks a node's capacity without stealing funds. Flood-and-loot is a theoretical scenario in which many channels fail at once. Replacement cycling is a theft technique disclosed in 2023 against pending payments. Node operators, wallet providers and developers bear the practical risk, and the defences are a mix of software changes, policy settings and economic fees. Routing capacity is discussed in Lightning liquidity tools, and general safety rules are described in Lightning channel security and closing.
Channel Jamming Attack
A channel jamming attack is an attack that locks up a routing node's channel capacity with payments that are never completed. A channel can hold only a limited number of pending payments in each direction, 483 under the protocol's default limits, and each pending payment also locks some of the channel's liquidity.
In fast jamming, the attacker sends large numbers of payments that fail and are quickly returned, which keeps channels busy. In slow jamming, the attacker sends payments to a node it controls, which holds them until close to their timeout, tying up funds for hours or days. Either way, honest users find the channel full and payments fail.
The attacker pays little, since the payments are returned and no fee is earned. The victim loses routing income and may lose customers. Proposed defences include upfront fees charged even for failed payments, reputation systems that limit slots for unknown senders, and endorsement of well-behaved peers. No single fix has been adopted across the network, and trade-offs with privacy and ease of use remain.
Flood-and-Loot Attack
A flood-and-loot attack is a scenario in which an adversary forces many channels to close at once so that on-chain congestion stops victims claiming funds before their payment deadlines. It was described in a 2020 research paper and is largely theoretical.
The attacker opens channels with many nodes, routes payments through them, and then stops cooperating so that each victim must force-close and publish transactions. If thousands of closures reach the blockchain at the same moment, the demand for block space pushes fees up and some transactions wait. When a victim's claim confirms after the timeout of the payment it relates to, the attacker may collect both the incoming and the outgoing funds.
To succeed, the attacker would have to commit enough capital to attack many channels and accept the cost of its own fees. The scale needed makes the attack impractical today, and mitigations include higher timeout margins, fee bumping and the ability to claim promptly. It remains a useful stress test of how safe the design is when the mempool is full.
Replacement Cycling Attack
A replacement cycling attack is a technique in which an adversary repeatedly replaces a pending transaction in the mempool so that a victim's claim on a payment never confirms before its timeout. It was disclosed in October 2023.
When a routing node forwards a payment, it holds a time-limited claim on the sender and on the receiver. The attacker, who controls the next hop, aims to remove the victim's transaction by replacing it with one that spends the same output but does not help the victim, and then replaces that again, cycling. If this runs past the timeout, the attacker can reclaim the funds from the upstream channel while still holding the payment's secret, so the victim loses the amount.
The attack relies on the rules by which nodes accept replacement transactions, such as replace-by-fee. Routing nodes with several forwarded payments at risk are the most exposed. Mitigations in node software include rebroadcasting more often, monitoring the mempool, and longer timeouts, while changes to Bitcoin transaction relay policy have been discussed. Operators should check current advisories from their software provider.
Ref 1070001414