In-depth lesson · Business logic
Year by year: 2022
What the disclosed Business logic reports of each year show, newest first: what first appeared, what kept working and what turned up less.
2022
12 pointsNew this year4
Smart contract contest findings focusing on business logic flaws in Solidity code first appear as a major theme in this year's disclosed reports.
Seen in 6 reports
Testing fee-on-transfer tokens by depositing and checking credited amounts against actual received balances appears in the disclosed reports.
Seen in 6 reports
Testing tokens that return false instead of reverting on failed transfers appears in the disclosed reports.
Seen in 3 reports
Probing DevTools behaviour for inappropriate implementation and policy enforcement issues appears in the disclosed reports.
Seen in 3 reports
Kept working6
Several reports from smart contract contests focus on business logic flaws in Solidity code in the disclosed reports.
Seen in 6 reports
Depositing a fee-on-transfer token and checking whether the contract credited the requested amount rather than the actual received balance, then withdrawing to drain the difference, worked in the disclosed reports.
Seen in 6 reports
Using a token that charges a fee on transfer when locking funds and checking whether the contract credited the full amount or the actual received amount worked in the disclosed reports.
Seen in 6 reports
Depositing a fee-on-transfer token into a vault and checking whether the credited balance equalled the requested amount or the amount actually received worked in the disclosed reports.
Seen in 5 reports
Using a token whose transfer returns false instead of reverting and checking whether the contract treated the failed transfer as successful worked in the disclosed reports.
Seen in 3 reports
Probing DevTools behaviour in a Chromium browser for inappropriate implementation and policy enforcement issues worked in the disclosed reports.
Seen in 3 reports
Turned up less2
Chrome desktop reports labelled with generic weakness names, common in 2021, are less prominent in the 2022 disclosed reports.
Seen in 6 reports
Testing transfer-on-fee tokens to see if contracts credit the input amount, seen in 2021, is rarer in the 2022 disclosed reports.
Seen in 4 reports