The distributeYield function assigns the rounding remainder to the last holder, but if that holder is ineligible, the remainder is never transferred and stays locked in the contract. An attacker cannot directly steal funds, but the distributor permanently loses the dust amount on each affected distribution.
The reward logic uses ceiling division for per-user commission deductions but floor division for validator commission accrual, so the amount deducted from users can exceed the amount credited to validators. The difference is not credited to anyone, causing systematic underpayment of users and unclaimed yield leakage.
The _okxHelper function in the DexAggregatorWrapperWithPredicateProxy contract does not generate or forward a permit when the [redacted] route is used. As a result, swaps using this selector will always fail because the router cannot spend the contract's tokens.
When the admin lowers the maximum allowed validator commission, the contract updates each affected validator's commission rate and creates a checkpoint at the same timestamp. Delegators who staked before the change can then have their earlier rewards recalculated using the new lower commission rate, so they receive more than they should.
The staking contract recalculates a user's cooldown end time using the current global cooldown interval each time they unstake, rather than the interval that was active when they first started unstaking. An administrator changing the interval between a user's unstake transactions can therefore extend that user's fund lockup beyond what they expected.
The staking contract skips the maximum validator percentage check on the first stake, so the first staker's deposit makes that validator hold 100% of the total stake. With a configured limit below 100%, every later stake to any validator exceeds the limit and reverts, freezing all staking.
The smart contract calculates user commission with ceiling rounding per time segment, while validator commission accrual uses floor rounding. A validator admin can create many commission checkpoints, increasing the number of segments and causing small user rewards to be rounded down to zero, leading to economic leakage from users to validators.
The reward rate checkpoint accessor functions read from a mapping that is never populated for tokens, so the stored array length is always zero. As a result, the count function always returns zero and the checkpoint getter always reverts, meaning the contract fails to deliver the promised return information.
The withdraw function always sends native PLUME to the caller and reverts if that transfer fails. A contract staker without a payable receive or fallback function therefore cannot withdraw its matured parked funds, leaving them permanently locked.
Anyone can call stakeOnBehalf to add a validator to a victim's userValidators list without consent. By spraying many validators with tiny stakes, an attacker can make the victim's withdraw, claimAll, and restakeRewards calls loop over a huge array and run out of gas, freezing access to funds.
The contract calls safeApprove without first resetting the allowance to zero, which breaks deposits for tokens like USDT that require a zero-first approval and leaves residual allowances after partial fills. A malicious or compromised spender could then use transferFrom to drain the leftover tokens from the wrapper contract.
The jackpot eligibility check in handleRandomness uses the stored streak count before it is updated with the current spin, so a user who has just reached the required streak can have a jackpot downgraded to nothing. An attacker could lose a jackpot they were entitled to, resulting in irreversible loss of unclaimed yield.
When a validator is slashed, rewards and commissions accrued between the last update and the slash may not be recorded because the cumulative reward per token is not incremented. A user who later claims would receive nothing for that interval, and the validator loses commission for that period.
The yield distribution function pays the last holder in its list the entire remainder of the reward pool, including rounding leftovers and shares that ineligible holders did not receive. An attacker could front-run a distribution, become the last holder, and collect an unfairly large bonus.
When a validator is added, no commission checkpoint is created, so later commission changes can retroactively apply to user rewards for earlier intervals. A validator and user could collude to inflate rewards by staking under a high commission and then lowering it before claiming.
The vault's share lock is recorded against the wrapper contract instead of the end user, so freshly minted shares are locked to the wrapper. If the transfer hook is enforced, any immediate transfer of those shares reverts; if it is not, the lock is bypassed and users get transferable shares at once.
The ArcTokenFactory grants the token creator the DEFAULT_ADMIN_ROLE, which in OpenZeppelin AccessControl is the admin of all roles including UPGRADER_ROLE. A creator can therefore grant themselves the upgrader role and replace the token implementation with malicious code, bypassing the factory's whitelist control.
The reward contract charges each user's commission with ceiling rounding but accrues the validator's aggregate commission with floor rounding, so the difference between the two is never credited to anyone. Over many accrual segments this leftover accumulates in the treasury, leaving users and validators slightly underpaid.
After a reward token is removed, any commission already accrued for that token cannot be claimed because the claim function rejects tokens that are no longer active. A validator admin therefore loses access to earned commission, which stays stuck in the contract.
The deposit-and-bridge functions set a share lock on freshly minted shares before attempting the bridge transfer, so the transfer check always reverts. An attacker cannot exploit this to steal funds, but users cannot complete the combined deposit-and-bridge operation in one transaction.
Functions that add or change reward tokens and rates create non-zero reward checkpoints for inactive validators. When such a validator is reactivated, reward calculations can accrue yield for the inactive period, paying out treasury funds that should not have been earned and potentially making the protocol insolvent.
The slashing reward calculation can skip accruing rewards for the period between the last update and the slash, because another flow can push the validator's last update timestamp past the slash time. Affected users then see no reward delta and cannot claim yield they were owed.
ArcTokenPurchase stores ArcTokens that can accrue yield, but the contract has no mechanism to track or recover that yield. As a result, yield accrued to stored tokens becomes permanently frozen and cannot be attributed back to the original sellers.
The contract approves tokens to DEX aggregators but never resets the allowance after a swap, so if an aggregator consumes only part of the approved amount, a non-zero allowance remains. Because safeApprove reverts when changing a non-zero allowance to another non-zero value, all future swaps of that token fail permanently.
When yield is distributed while a token sale is active, the ArcTokenPurchase contract is included in the holders set and receives a share of the yield, which becomes stuck there if the yield token differs from the purchase token. Legitimate holders also receive less yield because the tokens held for sale inflate the effective total supply.
The spin streak is only updated when the oracle callback arrives, so a callback that crosses midnight can reset a user's streak even though they spun in time. An attacker cannot force this, but any user can lose their streak and potential rewards due to oracle delay.
When a new reward token is added while a validator is inactive, a reward-rate checkpoint is created for that validator with a non-zero rate. Later, when the validator is reactivated, the reward calculation splits time into segments and applies the non-zero rate to the inactive interval, so stakers receive rewards they should not be eligible for.
When a reward token is removed from the active set, validators can no longer claim their accrued commission for that token, while stakers can still withdraw their share. This leaves validators unable to access their earned rewards until the token is re-added.
The deposit function in the proxy contract mints shares to itself, which triggers a share lock on the proxy. When it then tries to transfer those shares to the user, the transfer reverts because the lock is still active, causing all deposits through the proxy to fail.
The jackpot eligibility check compares the stored streak count from the previous day instead of the freshly computed streak that includes today's spin. A user who reaches the required streak today is wrongly denied the jackpot and receives nothing.
PN
Plume Network
High
Instant results are busy. Press Enter to search every report.
No direct matches. Search every report above, or try a bug class like IDOR or SSRF.