Technique · Smart contracts
Rounding and precision errors
289 disclosed reports use this technique.
Reports
Filter and sortPaid and upvoted first.
-
Owed rewards could be lost for some users for periods before slashing time due to incorrect logic.Smart contracts High Plume Network Audit finding
-
No function to recover the remained yield by distributeyieldwithlimitSmart contracts High Plume Network Audit finding
-
Utilization rate multiplier will not shift if oracle is consulted frequently
Smart contracts Medium Cap Audit finding +3 collaborators
-
Commission rounding mismatch under payment bugSmart contracts High Plume Network Audit finding
-
Asymmetric commission rounding creates systematic accounting driftSmart contracts High Plume Network Audit finding
-
Mismatched rounding rules in reward logic library results in two fold loss of earningsSmart contracts High Plume Network Audit finding
-
Yield distribution can be front run to steal rounding remainder as last holderSmart contracts Low Plume Network Audit finding
-
Attacker can steal 100% of users deposits
Smart contracts Medium Allbridge Core Yield Audit finding +21 collaborators
-
Precision loss allows a mallicious user to drain amount received from orders
Smart contracts Medium Oku Trade Order Types Audit finding +3 collaborators
-
Unsafe uint256 to uint8 downcast causes integer overflow leading to unauthorized jackpot payouts after week 255Smart contracts Low Plume Network Audit finding
-
Incorrect mathematical logicSmart contracts Medium Virtuals Protocol Audit finding +2 collaborators
-
Imprecise calculations in launchFor() lead to less liquidity be added to the pair via the routerSmart contracts Medium Virtuals Protocol Audit finding +1 collaborator
-
Unfair yield distribution to last holder due to flawed dust handlingSmart contracts Low Plume Network Audit finding
-
Rounding in commission accounting burns delegator rewardsSmart contracts High Plume Network Audit finding
-
Inconsistent commission rounding traps user validator fundsSmart contracts High Plume Network Audit finding
-
Rounding excess yield tokens become permanently stuck when last holder is yield restrictedSmart contracts High Plume Network Audit finding
-
Validator commission can be blockedSmart contracts High Plume Network Audit finding
-
Modulo bias in winner selection in raffleSmart contracts Informational Plume Network Audit finding
-
Invariant breakage , Edge case Integer UInt64SetLib.py::remove_item leads to int underflow
Smart contracts Low Folks Smart Contract Library Audit finding
-
Onyx, HopeLend, Beluga: Division Bugs and Liquidity GamesSmart contracts Write-up
-
Yearn, Hundred, Ocean Life: The Cost of Misconfigured Logic and MSmart contracts Write-up
-
Integer to Felt conversion completely ruins the Vaults accounting
Smart contracts Medium Paradex Audit finding
-
Zero collateral payout despite burned fAssetsSmart contracts Low Flare | FAssets Audit finding
-
The vault performs an unsafe conversion on the getAccountValue result.
Smart contracts Medium Paradex Audit finding
-
Incorrect Collateral Ratio Check Due to Rounding ErrorSmart contracts Informational Flare | FAssets Audit finding
-
Malicious collateral provider can steal funds from agent collateral pool by donating a large amount of native token to the pool (inflation attack)Smart contracts Low Flare | FAssets Audit finding
-
Agent collateral pool is vulnerable to inflation attackSmart contracts Low Flare | FAssets Audit finding
-
Unstaking from LP pools will cause underflow and lock user funds
Smart contracts Medium Cabal Liquid Staking Token Audit finding +3 collaborators
-
Ultra-low amount of total shares in collateral poolSmart contracts Low Flare | FAssets Audit finding
-
StartUnstake() Reduces Total Supply, but StakingToken Balance in contract Remains Constant, Leading to Inflated accumulatedDeptRewardsYeet()Smart contracts Critical Yeet 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