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 801 to 850 of 5,700
  1. Borrow interest compounds while supply interest is linear, leaving a surplus with no way to claim it.

    Seen in 1 report
  2. Borrow-cap and debt-ceiling validation computes total debt from live supply plus the new borrow but omits the tracked reserve deficit.

    Seen in 1 report
  3. Bot email addresses are predictable and the system does not verify ownership or handle collisions when the address is already linked.

    Seen in 1 report
  4. Both the expected output and the slippage tolerance are derived from the manipulable spot price.

    Seen in 1 report
  5. Both values were derived from the same clamped input, bounding their divergence below the trigger threshold.

    Seen in 1 report
  6. Boundary comparisons were inconsistent: the cooldown start used a strict less-than against the lock end while other checks used strict greater-than, so the exact end timestamp fell through the fee branch.

    Seen in 1 report
  7. Bounded and plain arithmetic were mixed inconsistently in funding amount per size calculations.

    Seen in 1 report
  8. Branch and tag name conflicts are not validated during import, unlike during manual creation.

    Seen in 1 report
  9. Branch names are not validated, so a crafted ref is treated as the protected branch.

    Seen in 1 report
  10. Branch names that look like commit hashes were not rejected, so they could collide with hash references.

    Seen in 1 report
  11. Branch names were compared inexactly so a similarly named branch could be matched.

    Seen in 1 report
  12. Bribe rewards are stored per epoch and distribution only reads the current epoch, so past epochs are never carried forward.

    Seen in 1 report
  13. Brute force protection is applied only to the POST authentication endpoint, not the GET path.

    Seen in 1 report
  14. Brute-force protection was applied only after the token resolved to a password-protected or file-drop share.

    Seen in 1 report
  15. Bulk pricing is applied before quantity validation and prices are not re-validated after quantity changes.

    Seen in 1 report
  16. Bundle eligibility was a sticky flag set when the threshold was crossed and pricing was never recomputed when the qualifying transaction failed.

    Seen in 1 report
  17. Burn allowed reducing total supply without proportional withdrawal and liquidity calculation rounded down to zero.

    Seen in 1 report
  18. Burn-unlock burns tokens on the source chain before confirming a successful unlock on the destination chain.

    Seen in 1 report
  19. Burnt debt shares are assigned to the next debt shares instead of the remaining debt shares.

    Seen in 1 report
  20. Business rules and state transitions were enforced only on the client side across the payment lifecycle.

    Seen in 1 report
  21. buyoutLien does not call transferWithdrawReserve before executing, unlike commitLien.

    Seen in 1 report
  22. The cache reuse branch checks each feed's stored timestamp against the basket maximum instead of the feed's own component timestamp.

    Seen in 1 report
  23. The voting threshold is calculated from current total supply instead of a snapshot at proposal submission.

    Seen in 1 report
  24. Calendar configuration and freshness limit are validated independently, with no check on the longest continuous frozen span.

    Seen in 1 report
  25. Product open and close are called with zero amounts that the product modifiers reject.

    Seen in 1 report
  26. The base reserve configuration getter is called instead of the eMode-aware one.

    Seen in 1 report
  27. Cancellation computes the initiator fee on the full reserve price instead of only the difference from the current bid.

    Seen in 1 report
  28. Cancellation deducts the initiator fee from the reserve before repaying liens and does not remove the liens as the normal end path does.

    Seen in 1 report
  29. Cancellation deleted the buyer's epoch entry unconditionally instead of checking for other active orders.

    Seen in 1 report
  30. Cancellation deleted the whole promotion record instead of marking it cancelled or adjusting the epoch count.

    Seen in 1 report
  31. Cancellation enforced no cooling-off period and kept no record of the cancelled phone number, so re-registration counted as a new user.

    Seen in 1 report
  32. The cancellation flow does not revoke promotional credit granted at order placement.

    Seen in 1 report
  33. Cancellation minted debt to reach the minimum without checking that collateral was still sufficient after the collateral decrease.

    Seen in 1 report
  34. Cancellation recomputes the deposit from live governance parameters instead of the amount recorded at funding.

    Seen in 1 report
  35. Cancellation refunds the recipient instead of the order creator.

    Seen in 1 report
  36. Cancellation required the full order parameters, which were only reliably available from a centralised service, with no on-chain bulk cancellation.

    Seen in 1 report
  37. Cancellation reset only the vote count and left the start time and finalising flag intact.

    Seen in 1 report
  38. Cancelling a bid refunds the bidder but does not remove the bidder from the token approval list.

    Seen in 1 report
  39. Cancelling a minipool did not reset the node runner's rewards start time when the minipool count reached zero.

    Seen in 1 report
  40. cancelUnstake mints shares at the current exchange rate without first calling payoutRewards.

    Seen in 1 report
  41. canLiquidate allowed liquidation when the caller owned the collateral without checking that the loan was overdue or that the caller was not the borrower.

    Seen in 1 report
  42. The cap on unassigned assets is applied as a one-way minimum during a negative delta and never recomputed upward.

    Seen in 1 report
  43. Cap values denominated in different units (asset wei versus basis points) are compared without normalising.

    Seen in 1 report
  44. Capacity read the live first-loss buffer and the period-start staked snapshot without deducting assessed-but-unpaid exposure from the previous period.

    Seen in 1 report
  45. Capacity used the immutable period-start vault balance and did not subtract previous-period cover exposure that remained payable during the new period.

    Seen in 1 report
  46. Capacity used the vault's opening balance without reserving collateral still liable for unresolved previous-period incidents, and settlement did not block older incidents.

    Seen in 1 report
  47. Capacity values assets at the current period start without subtracting remaining liability from the previous period's settled cover.

    Seen in 1 report
  48. Captcha verification sat inside a conditional block that only ran when a hidden parameter was set, so omitting it skipped verification.

    Seen in 1 report
  49. Captcha verification was tied to the POST handler only, so PUT requests processed without a fresh check.

    Seen in 1 report
  50. Carry delinquency alone is treated as sufficient for liquidation, while the collateral that can pay carry is narrower than the collateral that satisfies price health.

    Seen in 1 report