Technique · Smart contracts
Rounding and precision errors
289 disclosed reports use this technique.
Reports
Filter and sortPaid and upvoted first.
-
The staking contract is suceptible to the classic first depositor exploitSmart contracts Critical Belong Audit finding
-
AccessToken creators can bypass fees so that platform address will receive 0 fees.Smart contracts High Belong Audit finding
-
Inflation of shares in staking contractSmart contracts Critical Belong Audit finding
-
Staking graph argument bounds are incorrectly definedSmart contracts Low Alchemix V3 Audit finding
-
First depositor attack is possibleSmart contracts Critical Belong Audit finding
-
Erc4626 inflation bug in staking contractSmart contracts Critical Belong Audit finding
-
Peapodsethstrategy unable to withdraw yield from price share increaseSmart contracts High Alchemix V3 Audit finding
-
Stargate eth strategy rounding bugSmart contracts Medium Alchemix V3 Audit finding
-
Stargateethpoolstrategy rounding mismatch freezes vaultv2 allocationsSmart contracts Medium Alchemix V3 Audit finding
-
Front running a donation can inflate the share causing users to lose fundsSmart contracts Critical Belong Audit finding
-
Protocol fails to subtract fee from total locked when burning and repayingSmart contracts High Alchemix V3 Audit finding
-
Erc4626 inflation attack vulnerabilitySmart contracts Critical Belong Audit finding
-
Artificially inflated _mytSharesDeposited in AlchemixV3.sol deflates bad debt ratio in Transmuter.solSmart contracts High Alchemix V3 Audit finding
-
Integer division precision loss in normalizedebttokenstounderlying leads to permanent collateral lockingSmart contracts Critical Alchemix V3 Audit finding
-
Attacker can steal first depositor s asset with inflation attackSmart contracts Critical Belong Audit finding
-
Staking contract is vulnerable to inflation attack making malicious 1st staker grief the following stakersSmart contracts Critical Belong Audit finding
-
First depositor advantageSmart contracts Critical Belong Audit finding
-
Broken withdrawal logic in aavev3arbwethstrategy permanently locks user fundsSmart contracts Informational Alchemix V3 Audit finding
-
Liquidators can be overpaid due to accounting errorSmart contracts Critical Alchemix V3 Audit finding
-
The check for integer overflow in the function staker.go#checkStake() is incorrect
Smart contracts Informational VeChain Hayabusa Upgrade Audit finding
-
Incorrect rounding direction in geometric pool `ask_exact_amount_out` allows theft of funds
Smart contracts High Dango DEX Audit finding +1 collaborator
-
Unchecked Underflow in TreeTickLib Causes Transaction Revert in Route Creation
Smart contracts Medium Ammplify Audit finding +2 collaborators
-
Shift-Overflow in getEquivalentLiq Inflates LP Shares
Smart contracts Medium Ammplify Audit finding +1 collaborator
-
The incorrect initialize of `specific_emissions_per_gauge` in `GaugeController::add_gauge()`
Smart contracts Medium Yield Basis Audit finding +1 collaborator
-
Stakers Could Not Withdraw Their Assets
Smart contracts Medium Yield Basis Audit finding +1 collaborator
-
Wrong direction of rounding in redeem may lead to drain if exchange rate grows large
Smart contracts Medium Malda Audit finding
-
Ceil vs floor rounding mismatch causes systematic underpayment and unclaimed yield leakageSmart contracts High Plume Network Audit finding
-
Validator commission update during max allowed commission change causes incorrect reward calculationsSmart contracts High Plume Network Audit finding
-
Asymmetric rounding in commission (ceil for users, floor for validators) enables per-segment rounding loss; validators can amplify via frequent commission checkpoints.Smart contracts High Plume Network Audit finding
-
There is an asymmetric rounding issue that is can cause a theft of unclaimed yield in reward or commission accountingSmart contracts High Plume Network Audit finding
Guides and techniques
All guidesThe best explainers, cheat sheets and technique posts on Rounding and precision errors, from around the web.
-
Breaking Business Logic: 7 Attack Scenarios in E-Commerce, Payments and Application WorkflowsCovers seven business logic attack scenarios across e-commerce and payment workflows, giving hunters practical testing ideas.
Technique infosecwriteups.com
-
Payment Bypass Guide for Bug Bounty | 69 case studiesWalks through payment logic flaws with many case studies showing how to bypass checkout and pricing controls.
Methodology medium.com