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 email-change and account-recovery flow did not tie verification to a token sent to the new address, so submitting the recovery form set the email as verified without proof of ownership.
Seen in 1 report
-
The email-change flow did not re-check verification status before allowing token rotation, enforcing it only at creation.
Seen in 1 report
-
The email-change flow lacked a re-authentication step, so a logged-in session could change the primary email without the password.
Seen in 1 report
-
The email-sending endpoint lacked authentication and allowed arbitrary control over the email content, including the PDF attachment.
-
The email-to-ticket system trusts the From header without verifying the sender.
Seen in 1 report
-
The email-type restriction was enforced only in the browser or on the initial submission, not re-checked server-side.
Seen in 1 report
-
The email-update endpoint lacked a uniqueness check and verification step.
Seen in 1 report
-
The embedded form did not check whether the submitted email belonged to a banned user.
-
The emergency close requires the position status to be exactly opened, but a minimal close request changes it to close-pending.
Seen in 1 report
-
The emergency exit check was not applied to the minting function.
Seen in 1 report
-
The emergency function reads the market's live current epoch instead of accepting an explicit epoch.
Seen in 1 report
-
The emergency path charges a flat percentage penalty and skips the minimum stake period check.
-
The emergencyWithdraw function attempts to pay out WAVAX that is no longer available because it was used to provide liquidity.
Seen in 1 report
-
The emission update unconditionally stores the current rewards per second even when it is zero, overwriting the cached non-zero rate.
Seen in 1 report
-
The emit function returned zero on a second call in the same week instead of the already-computed emission, and the broker treated zero as the amount.
-
The empty-bootstrap branch of the recapitalisation helper is also entered when both principals are zero because of losses and overwrites the preserved senior high-water mark.
-
The enabled condition for the offline create button omits the long-payment-ID check the normal send button includes.
Seen in 1 report
-
The end condition for the rewards program only applied before unlocking, so zero shares after unlock caused reverts.
-
The end time is cached for the update cadence instead of being recalculated whenever rewards or the reward rate change.
-
The end-epoch function lacked a check for zero total assets in either vault.
-
The end-of-block handler reuses a variable name for timeout challenges, overwriting the discrepancy challenges before they are sent.
Seen in 1 report
-
The end-of-vesting check omits the initial release period and cliff and uses only the post-cliff distribution period.
Seen in 1 report
-
The end-time check sits inside the else branch and is skipped when first stake time is zero.
-
The endorsement check did not charge gas for the storage reads performed by the validation call after the fork.
Seen in 1 report
-
The endpoint applied the update regardless of the validation result.
Seen in 1 report
-
The endpoint checks whether the target account exists but omits the account status check that other endpoints perform.
-
The endpoint did not verify that the supplied contact email belonged to the requester or that a session existed.
Seen in 1 report
-
The endpoint had no server-side rate limiting or anti-automation control.
Seen in 1 report
-
The endpoint lacked a check that the user already had a school, and token revocation did not invalidate the captured request.
Seen in 1 report
-
The endpoint lacked rate limiting or any restriction on the number of requests per user or IP address.
Seen in 1 report
-
The endpoint lacks authentication and trusts client-supplied recipient and content fields, and the WAF inspects the raw request before JSON escapes are decoded.
-
The endpoint rate-limits by a client-supplied forwarding header instead of the actual connection address.
-
The endpoint that adds a dictionary word had no rate limiting or quota on how many words a single user could create.
Seen in 1 report
-
The endpoint that updates a room subject had no rate limiting or throttling applied.
Seen in 1 report
-
The endpoint trusted a client-supplied sequential user ID without checking account status or applying rate limits.
-
The enforcement flag is set after the function body runs, so the tolerance check does not apply during the call.
Seen in 1 report
-
The enforcer hardcodes a requirement that recipients support a draft receiver interface.
Seen in 1 report
-
The engine computes a capped debt amount but discards it and calls the router with the original amount.
Seen in 1 report
-
The engine inherits an unrestricted renounceOwnership while the only function that clears the degraded-mode latch is owner-only, removing the sole recovery path.
-
The engine inherits Ownable2Step without overriding renounceOwnership to revert, so the sole caller of the degraded-mode clear and recapitalise functions can be permanently removed.
-
The enter function did not check whether the agent was in the DESTROYING state before allowing a new pool entry.
Seen in 1 report
-
The enter function lacked a check that the agent's status was not DESTROYING, allowing deposits during the destruction process.
Seen in 1 report
-
The entire rounding remainder is assigned to the last holder in an append-ordered array, which any user can control.
Seen in 1 report
-
The entropy getter lacks a check that the slots have been initialised.
Seen in 1 report
-
The EOA-only assumption ignored that delegation lets an EOA run conditional logic.
Seen in 1 report
-
The epoch counter is not incremented when an epoch is queued for settlement.
-
The epoch duration was not validated as greater than zero.
-
The epoch-end helper returns the first timestamp of the next epoch and the historical balance lookup includes checkpoints at exactly that timestamp.
Seen in 1 report
-
The epoch-end path does not account for a sequencer outage spanning the expiry, so an epoch can end without a depeg check.
Seen in 1 report
-
The equity snapshot omits signed lifetime VPI and any reserve ownership adjustment, so realised VPI cash flows go to whoever owns the tranches at settlement rather than the cohort that paid.