Skip to content

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.

Back to the lesson 251 to 259 of 259
  1. 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
  2. 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
  3. 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
  4. Call a function guarded against contracts from inside a contract constructor to bypass the nonContract check.

    Seen in 1 report
  5. 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.

    Seen in 1 report
  6. A modifier that blocked contracts from calling allocate could be bypassed by calling from a contract's constructor.

    Seen in 1 report
  7. The transfer hook skipped its delegation check when the recipient was the zero address, so burns were not validated.

    Seen in 1 report
  8. 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
  9. A server-controlled redirect to an intent URL bypassed the requirement for user consent before launching an external app.

    Seen in 1 report