In-depth lesson · Business logic
Bypasses and variations
Every point the Business logic reports back under this heading, best-backed first, each with the reports it is seen in.
-
The callback endpoint was IP-whitelisted but only the order id was validated, so a genuine gateway callback for a different payment passed the check.
Seen in 1 report
-
After a UI-only fix, keep the keyboard open from a previous story so the reply box appears on the restricted story.
Seen in 1 report
-
Vary the number with leading zeroes and country code, or append random digits, to get further verification calls past the block.
Seen in 1 report
-
Call a function guarded against contracts from inside a contract constructor to bypass the nonContract check.
Seen in 1 report
-
The anti-downgrade ratchet was only checked in the updater routine while the bootloader selected the active slot from the partition table without verifying the ratchet.
-
A modifier that blocked contracts from calling allocate could be bypassed by calling from a contract's constructor.
-
The transfer hook skipped its delegation check when the recipient was the zero address, so burns were not validated.
-
The system-transaction check classified any zero-gas-price call to a genesis contract as a system transaction, so a non-zero gas price bypassed it.
Seen in 1 report
-
A server-controlled redirect to an intent URL bypassed the requirement for user consent before launching an external app.
Seen in 1 report