Skip to main content

Precision Rounding Attack

Definition

A precision rounding attack is a specific type of exploit in smart contracts where an attacker leverages minor discrepancies in numerical calculations, often involving floating-point arithmetic or integer division, to siphon small amounts of funds over many transactions. These minute rounding errors accumulate, allowing the attacker to gradually drain a contract’s balance without triggering larger anomaly detection systems. This subtle method of value extraction targets the exactness of on-chain computations.