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 Junior deposit share price is computed only from current pool cash and supply, omitting a protected reserve that has already been funded and is owed back to the pool.
Seen in 3 reports
-
The liquidation path does not check that the keeper differs from the liquidated account and does not assess the execution fee, frozen-close spread and close VPI that a voluntary close pays.
Seen in 3 reports
-
The login and password reset flows do not check whether the email address has been verified.
Seen in 3 reports
-
The margin top-up function does not check for pending orders, so a trader can change the live margin a queued order's bound is evaluated against after the fill price is known.
Seen in 3 reports
-
The merge function burns the source token without calling the rewards distributor to claim its accrued rewards, unlike withdraw.
Seen in 3 reports
-
The migration plan's query identity omits the mutable authority fields captured inside it, and submission reuses the stale classified list instead of re-reading current V1 state.
Seen in 3 reports
-
The open planner sources the negative impact reserve from live free settlement rather than value locked at commitment.
Seen in 3 reports
-
The order-execution path applies the adverse confidence shift to an already-capped basket price, so the shift lands below the cap.
Seen in 3 reports
-
The owner-only amend and the permissionless retry share the same latched state, and the retry relatches within one transaction, so a third party always consumes the window first.
Seen in 3 reports
-
The pending recapitalisation bucket is capped against the whole distributable balance on every reconciliation even though that balance was already attributed to senior principal.
Seen in 3 reports
-
The pending recapitalisation bucket is not reduced when the cash backing it is paid out, so later reconciles re-apply a phantom reserve.
Seen in 3 reports
-
The pending recapitalisation remainder is capped against distributable equity already credited to Senior, so the same value is reserved again on each pass.
Seen in 3 reports
-
The period-start lookup is inclusive of a checkpoint written at the boundary timestamp, so a post-withdrawal value is mistaken for the opening figure.
Seen in 3 reports
-
The permissionless retry and the owner-only amendment both depended on the same short-lived latched state, and expiry plus retry could be composed atomically.
Seen in 3 reports
-
The proof executor derives blob base fee from the parent header's blob gas field using Ethereum excess math, while canonical execution hard-codes it to one after Jovian.
Seen in 3 reports
-
The reconcile planner caps the stored unassigned reserve to the current mark-dependent distributable equity and persists the reduction without recording the shortfall.
Seen in 3 reports
-
The reconcile step re-caps the full residual pending recapitalization against the full distributable equity on every pass, even though that equity already backs the Senior principal credited by the first pass.
Seen in 3 reports
-
The reconciliation logic re-caps pending recapitalisation against gross distributable assets on every pass without tracking how much backing has already been consumed.
Seen in 3 reports
-
The reconciliation stores a mark-driven plan before applying the queued recapitalisation, and the settleable-bucket cap uses a distributable figure that already backs principal from a previous pass.
Seen in 3 reports
-
The redeem path validates only the input share amount and never checks that the computed asset payout is non-zero.
Seen in 3 reports
-
The registration and renewal parsers only trim, lowercase and blocklist ASCII punctuation instead of applying ENSIP-15 normalisation, so the raw label reaches the contract.
Seen in 3 reports
-
The rejection path omitted the call that pays or burns the executor fee.
Seen in 3 reports
-
The reply restriction was enforced only in the app interface and not re-checked when the keyboard appeared or stories changed.
Seen in 3 reports
-
The scheduler's failure path drops a preimage reference unconditionally, including one owned by the referenda pallet.
Seen in 3 reports
-
The setter appends to a storage vector instead of overwriting the fixed indices that the lookup reads.
Seen in 3 reports
-
The share price jumps in a single compound transaction with no time-weighting or deposit fee, so a same-block deposit captures accrued rewards.
Seen in 3 reports
-
The shared name-resolution fallback returns the ENS v1 registry controller when a name has no address record, discarding the registrant the same lookup already fetched.
Seen in 3 reports
-
The signed payload omits a nonce, expiry, amount or caller address, so a valid signature can be replayed indefinitely.
Seen in 3 reports
-
The strategy ignored the return value of the lending market's mint and redeem functions, which signal failure with a status code rather than reverting.
Seen in 3 reports
-
The strategy passed a minimum-shares-out of zero to the router deposit, disabling the slippage check.
Seen in 3 reports
-
The strategy tracked allocations in underlying asset amounts rather than vault or pool shares, so accrued yield was not reflected in the cap and withdrawing the principal left yield shares behind with no claim path.
Seen in 3 reports
-
The streak was computed from the oracle callback timestamp instead of the timestamp when the user started the spin.
Seen in 3 reports
-
The vault minted shares based solely on deposited amount without considering token price, assuming all tokens were of equal value.
Seen in 3 reports
-
The wallet software does not track which transaction public keys have already been processed, so duplicate keys cause the same outputs to be counted multiple times.
Seen in 3 reports
-
The write target came from a normalising helper while the ownership gate, price and transaction description used the raw name, with no check both resolve to the same node.
Seen in 3 reports
-
The ZK precompile provider starts from the spec-correct set then extends it with legacy entries, overwriting the Jovian cap and Osaka pricing by address.
Seen in 3 reports
-
The ZK prover service hardcodes a 10-block intermediate root interval and the request format has no field to override it.
Seen in 3 reports
-
Trial expiry is decided from a client-provided timestamp or local system time rather than a server-controlled clock.
Seen in 3 reports
-
Two different normalisers are used: full normalisation for reads and plain lowercasing for the renewal label, so the string displayed and authorised differs from the string signed.
Seen in 3 reports
-
The zero-principal bootstrap branch assigns the senior high-water mark from the incoming amount instead of taking the maximum against the existing mark.
Seen in 3 reports
-
A function that must accept Ether was declared without the payable modifier and the contract had no payable receive or fallback.
Seen in 2 reports
-
A pending decision is overwritten with the default config instead of being deleted.
-
A raw balance-increase primitive is used for fee credits without recording the tree leaf that the normal credit path records.
-
A rebate paid from pool cash at open is not recorded as a receivable against the position, so NAV is understated until the rebate is reversed.
Seen in 2 reports
-
Critical -
Critical
-
-
A single null return stands for both 'no budget' and 'budget not yet obtained', and the accepted amount is dropped when the registration start event is dispatched so the transaction manager re-estimates independently.
-
A strict greater-than comparison in the claimable-period cap skips the clamp when the delegation end equals the next claimable period.
-
A strict greater-than comparison is used where greater-than-or-equal is needed, so the current week is checkpointed before it ends.
Seen in 2 reports
-
Activation does not check whether the token is already active.
Seen in 2 reports
-
Medium
-
Medium
-
-
Activation is only deferred at exactly zero principal and nothing bounds the supply-to-principal ratio.
-
Adding a reward token creates positive-rate checkpoints for all validators without checking whether each is active.