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.
-
The auction contract does not check whether the L2 sequencer was down during the auction period.
Seen in 1 report
-
The auction creation function initialises the first bid time to the current block timestamp instead of zero.
Seen in 1 report
-
The auction creation method lacked access control and did not validate that the bid was backed by real funds.
Seen in 1 report
-
The auction does not account for the fee on transfer when buying the receipt NFT.
Seen in 1 report
-
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
-
The auction lot amount is fixed at creation and cannot be reduced, while withdrawals can lower the pool balance below it.
-
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
-
The auction price used a 1:1 exchange rate that ignored accrued interest after maturity.
Seen in 1 report
-
The auction stack parameter was declared as memory instead of storage, so the delete only affected a temporary copy.
Seen in 1 report
-
The auction uses a push transfer to refund the lowest bidder, which reverts if the recipient is blacklisted.
Seen in 1 report
-
The auction validity timestamp is only refreshed manually, so stale open auctions are never invalidated.
-
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
-
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.
-
The author check relied on the document owner, which can be changed, rather than the original creator.
Seen in 1 report
-
The authorisation read normalises the route parameter while the transaction builder hashes the raw parameter, so one URL resolves to two different nodes.
-
The auto-reload logic treated too-many-redirects as retryable and did not re-check the user-gesture requirement.
Seen in 1 report
-
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
-
The automated deletion system trusts the sender address of incoming emails without verifying the requester's identity.
Seen in 1 report
-
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
-
The auxiliary swap is forced to be exact-input with a user-supplied amount, so it cannot consume the unpredictable residual collateral balance.
-
The AuxPoW branch set a skip flag that bypassed the child difficulty check, making the parent check circular.
Seen in 1 report
-
The availability calculation subtracted only the sold amount and never the withdrawn amount.
Seen in 1 report
-
The available lots check ran before the redemption fee was deducted.
Seen in 1 report
-
The available-amount calculation subtracts a fee even when the redeem is merged and no fee is charged.
-
The avatar name is validated before whitespace is trimmed, so the validated value differs from the used value.
Seen in 1 report
-
Medium
-
-
The average deposit price across multiple unclaimed deposits introduces a rounding error that slightly exceeds the user's maximum mint.
-
The average uses a fixed array of four observations updated every block, so the window is very short.
Seen in 1 report
-
The AWS SDK presigner silently drops the content-length header, so the size constraint never reaches the signed URL.
Seen in 1 report
-
The backend allowed archive and trash flags to both be true at once, and no folder displayed such a message.
Seen in 1 report
-
The backend blindly merged user-supplied metadata into cart item properties, including price fields.
-
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
-
The backend checked only a wide range rather than enforcing the intended narrow rating range.
Seen in 1 report
-
The backend checked that the public and commit emails matched the current email but not that the address was verified.
Seen in 1 report
-
The backend did not bind the transaction hash to the number of tickets and the refund logic trusted the ticket count.
-
The backend did not check for a local file with the same name before using the keychain nickname.
Seen in 1 report
-
The backend did not check the current invitation status when processing the acceptance request.
Seen in 1 report
-
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
-
The backend did not independently verify the account's API key quota and relied on the frontend to enforce the limit.
-
The backend did not lock or validate the pairing of payment reference and invoice number across concurrent transactions.
-
The backend did not normalise Unicode in email addresses before storing or displaying them.
Seen in 1 report
-
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.
-
The backend did not record that a coupon had already been redeemed by the same account.
Seen in 1 report
-
The backend did not restrict which fields could be updated, so it accepted an email change the interface hid.
-
The backend did not validate report age and relied on the frontend to enforce the restriction.
-
The backend did not validate that requested scopes were allowed for the user's role.
-
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.
-
The backend did not verify the phone number belonged to an existing active user before sending a verification message.
Seen in 1 report
-
The backend does not trim or normalise whitespace in usernames even though the frontend blocks it.
-
The backend does not validate the presence of the role parameter and processes the request, corrupting the role assignment.
-
The backend endpoint is unauthenticated and does not perform server-side CAPTCHA verification or input validation.