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 quantity limit was enforced only in the browser interface with no server-side validation of the cart contents.
Seen in 1 report
-
The query sorts and pages only by a non-unique field with no tie-breaking key, and the cursor advances with a strict greater-than filter, so tied rows can never be returned.
-
The questionnaire endpoint trusts a client-supplied program handle and does not verify the user left that program.
Seen in 1 report
-
The queue comparison uses a strict less-than check, so equal-priced bids are not treated as equal.
Seen in 1 report
-
The queue function increments the wrong counters, likely a copy-paste slip.
Seen in 1 report
-
The queue ordered bids by exact cross-multiplication while the claim check used a rounded price, so equal rounded prices were treated inconsistently.
-
The queue records the initial balance of the unbonding delegation instead of the actual balance after slashing.
Seen in 1 report
-
The queue uses the last entry's availability time as a floor even when that entry was cancelled.
Seen in 1 report
-
The queueing code set the proposal's executed flag to true, so the execute state check saw Executed instead of Queued.
-
The quit function does not validate that the array of ERC20 token addresses contains no duplicates.
-
The quit period is read at execution time rather than fixed when the change is proposed.
Seen in 1 report
-
The quorum check sums against and abstain votes instead of all votes cast.
Seen in 1 report
-
The quorum was computed dynamically from the active validator count with no hard minimum, and releases needed no source-chain proof.
Seen in 1 report
-
The rage quit function did not deduct the distribution fee applied during normal distributions.
Seen in 1 report
-
The rage quit function only handled ETH and ERC20 and lacked ERC1155 transfer logic.
Seen in 1 report
-
The raise target percentage is not reset after rebalancing and the setter does not allow setting it to zero.
Seen in 1 report
-
The ranking algorithm does not filter out points from demo programs.
Seen in 1 report
-
The rate calculation assumes supply minus debt equals available liquidity and never subtracts the separately stored deficit or checks the actual token balance.
Seen in 1 report
-
The rate is calculated from utilisation after adding only the new loan amount, so splitting lowers the average rate.
Seen in 1 report
-
The rate limit applied only to invalid password attempts, so valid attempts bypassed the counter.
Seen in 1 report
-
The rate limit key is the raw phone number string rather than a normalised number, so formatting changes produce new keys.
Seen in 1 report
-
The rate limit keyed on the raw email string rather than the normalised account identity.
Seen in 1 report
-
The rate limit keyed on the raw email string while the login lookup normalised or trimmed it.
Seen in 1 report
-
$3,500 Medium
-
-
The rate limit was applied per endpoint rather than globally across all OTP-sending endpoints.
Seen in 1 report
-
The rate limit was applied per User-Agent value rather than per user or IP address.
Seen in 1 report
-
The rate limit was implemented only in the application's own reset endpoint and not in the parallel identity-provider flow.
Seen in 1 report
-
The rate limit was keyed only on client IP rather than on the targeted account.
-
The rate limit was keyed only on source IP address.
Seen in 1 report
-
The rate limiter counted requests sequentially and did not account for parallel bursts in a short window.
-
The rate limiter counts requests rather than individual credential attempts.
-
The rate limiter is keyed only on the username and password pair, so changing the username avoids the counter.
Seen in 1 report
-
The rate limiter keyed on a client-supplied forwarding header instead of the real connection address.
Seen in 1 report
-
The rate limiter keyed on a client-supplied forwarding header instead of the real connection address.
Seen in 1 report
-
The rate limiter keyed on the full request path including the query string, so any added parameter produced a fresh counter.
Seen in 1 report
-
The rate limiter keyed on the raw URL path rather than the normalised path, so path variants were treated as distinct endpoints.
Seen in 1 report
-
The rate limiter keys on a client-supplied forwarding header instead of a trusted source address or a per-account counter.
Seen in 1 report
-
The rate limiter relied on mutable request attributes or client-supplied data rather than an immutable identifier such as the target email address.
Seen in 1 report
-
The rate limiter relied on the client-supplied X-Forwarded-For header to identify the source IP.
Seen in 1 report
-
The rate limiter reset after a short period and allowed a few attempts before blocking again.
Seen in 1 report
-
The rate limiter tracked attempts per username only, with no limit per IP address or session, so rotating usernames avoided it.
Seen in 1 report
-
The rate limiter used a fixed counter that reset after a short block period, creating a repeating allow and block cycle.
Seen in 1 report
-
The rate limiting tracked clone and download actions but not fork actions.
Seen in 1 report
-
The rate update returns early when the timestamp matches the last update, so a same-block default is not reflected.
Seen in 1 report
-
The rate-limit check runs after the database writes it should gate and is keyed on the recipient address rather than the authenticated caller.
-
The rate-limit key is built from the normalised email address alone with no account identifier.
-
The rate-limit key was built from the raw unnormalised email input, so a trailing space produced a new key for the same account.
Seen in 1 report
-
The rate-limit rule exempted localhost and trusted a client-supplied header to determine the source IP.
Seen in 1 report
-
The rate-limit timer was based on the device's local clock rather than a trusted server clock or monotonic counter.
Seen in 1 report
-
Critical
-
-
The rate-limiting logic does not validate that the cost of a query is positive, so negative costs are subtracted from the used quota, effectively increasing the remaining allowance.
Seen in 1 report
-
The rating link in the email did not expire and remained valid indefinitely.
Seen in 1 report