Skip to content

In-depth lesson · Business logic

Root causes

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 1,851 to 1,900 of 5,700
  1. The auction contract does not check whether the L2 sequencer was down during the auction period.

    Seen in 1 report
  2. The auction creation function initialises the first bid time to the current block timestamp instead of zero.

    Seen in 1 report
  3. The auction creation method lacked access control and did not validate that the bid was backed by real funds.

    Seen in 1 report
  4. The auction does not account for the fee on transfer when buying the receipt NFT.

    Seen in 1 report
  5. The auction logic assigns collateral to the initiator when there are no bids instead of returning it to lenders or re-auctioning.

    Seen in 1 report
  6. The auction lot amount is fixed at creation and cannot be reduced, while withdrawals can lower the pool balance below it.

    Seen in 1 report
  7. The auction price calculation ignores the pool's floor price, so the price can fall below the price at which the debt was issued.

    Seen in 1 report
  8. The auction price used a 1:1 exchange rate that ignored accrued interest after maturity.

    Seen in 1 report
  9. The auction stack parameter was declared as memory instead of storage, so the delete only affected a temporary copy.

    Seen in 1 report
  10. The auction uses a push transfer to refund the lowest bidder, which reverts if the recipient is blacklisted.

    Seen in 1 report
  11. The audio challenge drew from a limited word list with predictable audio patterns, so machine learning and precomputed hashes could solve it.

    Seen in 1 report
  12. The authenticator conversion helper lacks match arms for multi-agent and fee-payer variants, so inner WebAuthn signers are never surfaced to the feature check.

    Seen in 1 report
  13. The author check relied on the document owner, which can be changed, rather than the original creator.

    Seen in 1 report
  14. The authorisation read normalises the route parameter while the transaction builder hashes the raw parameter, so one URL resolves to two different nodes.

    Seen in 1 report
  15. The auto-reload logic treated too-many-redirects as retryable and did not re-check the user-gesture requirement.

    Seen in 1 report
  16. The auto-withdraw path sends the cost difference to the builder without verifying the source of funds or enforcing task spending limits.

    Seen in 1 report
  17. The automated deletion system trusts the sender address of incoming emails without verifying the requester's identity.

    Seen in 1 report
  18. The automated market maker valued tokens from internal pool ratios alone without checking real market prices, so self-trading could inflate a worthless token.

    Seen in 1 report
  19. The auxiliary swap is forced to be exact-input with a user-supplied amount, so it cannot consume the unpredictable residual collateral balance.

    Seen in 1 report
  20. The AuxPoW branch set a skip flag that bypassed the child difficulty check, making the parent check circular.

    Seen in 1 report
  21. The availability calculation subtracted only the sold amount and never the withdrawn amount.

    Seen in 1 report
  22. The available lots check ran before the redemption fee was deducted.

    Seen in 1 report
  23. The available-amount calculation subtracts a fee even when the redeem is merged and no fee is charged.

    Seen in 1 report
  24. The avatar name is validated before whitespace is trimmed, so the validated value differs from the used value.

    Seen in 1 report
  25. The average deposit price across multiple unclaimed deposits introduces a rounding error that slightly exceeds the user's maximum mint.

    Seen in 1 report
  26. The average uses a fixed array of four observations updated every block, so the window is very short.

    Seen in 1 report
  27. The AWS SDK presigner silently drops the content-length header, so the size constraint never reaches the signed URL.

    Seen in 1 report
  28. The backend allowed archive and trash flags to both be true at once, and no folder displayed such a message.

    Seen in 1 report
  29. The backend blindly merged user-supplied metadata into cart item properties, including price fields.

    Seen in 1 report
  30. The backend checked edit permission and name validity but not that the user was entitled to the domain through purchase or ownership.

    Seen in 1 report
  31. The backend checked only a wide range rather than enforcing the intended narrow rating range.

    Seen in 1 report
  32. The backend checked that the public and commit emails matched the current email but not that the address was verified.

    Seen in 1 report
  33. The backend did not bind the transaction hash to the number of tickets and the refund logic trusted the ticket count.

    Seen in 1 report
  34. The backend did not check for a local file with the same name before using the keychain nickname.

    Seen in 1 report
  35. The backend did not check the current invitation status when processing the acceptance request.

    Seen in 1 report
  36. The backend did not check the organisation's ownership state when an invitation was redeemed, so pending invitations stayed valid after the sole owner was deleted.

    Seen in 1 report
  37. The backend did not independently verify the account's API key quota and relied on the frontend to enforce the limit.

    Seen in 1 report
  38. The backend did not lock or validate the pairing of payment reference and invoice number across concurrent transactions.

    Seen in 1 report
  39. The backend did not normalise Unicode in email addresses before storing or displaying them.

    Seen in 1 report
  40. The backend did not re-validate subscription status during the cross-device Connect handoff, so the app inherited the web player's unrestricted session state.

    Seen in 1 report
  41. The backend did not record that a coupon had already been redeemed by the same account.

    Seen in 1 report
  42. The backend did not restrict which fields could be updated, so it accepted an email change the interface hid.

    Seen in 1 report
  43. The backend did not validate report age and relied on the frontend to enforce the restriction.

    Seen in 1 report
  44. The backend did not validate that requested scopes were allowed for the user's role.

    Seen in 1 report
  45. The backend did not verify that each impression identifier belonged to the authenticated user, matched a completed eligible advertisement, and had not already been redeemed.

    Seen in 1 report
  46. The backend did not verify the phone number belonged to an existing active user before sending a verification message.

    Seen in 1 report
  47. The backend does not trim or normalise whitespace in usernames even though the frontend blocks it.

    Seen in 1 report
  48. The backend does not validate the presence of the role parameter and processes the request, corrupting the role assignment.

    Seen in 1 report
  49. The backend endpoint is unauthenticated and does not perform server-side CAPTCHA verification or input validation.

    Seen in 1 report