A Finney attack is a form of double-spend attack on proof-of-work cryptocurrencies, named after the early Bitcoin developer Hal Finney, who described it. An attacker who mines finds a valid block that includes a transaction moving coins between their own addresses, and keeps the block private. The attacker then pays a merchant with the same coins in a separate transaction. If the merchant hands over goods before the payment has any confirmations, the attacker broadcasts the withheld block, which the network accepts, and the payment to the merchant becomes invalid.
The attack needs the attacker to mine a block, so it is costly and depends on luck. It works only against recipients who accept zero-confirmation payments. It differs from a race attack, which relies on broadcasting two conflicting transactions at once, and from a 51% attack, which needs a majority of hash power. Waiting for even one confirmation defeats it.
Ref 1070001175