The depositYBLendSGLLockXchainTOLP function wraps Singularity tokens into TOFT tokens and transfers them to the user, but then tries to withdraw those same tokens from the contract's YieldBox balance, which is empty. As a result, the function always reverts and the cross-chain deposit and lock feature is broken.
The LayerZero fee refund address is set to the intermediate contract instead of the original user, so overpaid fees are sent to the contract and the user loses the refund. An attacker could not directly exploit this, but users lose funds.
The depositYBLendSGLLockXchainTOLP function sends wrapped Singularity tokens cross-chain without unwrapping them, so the destination chain's lock function cannot find the original tokens. This causes the cross-chain lock and participate action to fail.
The _lockOnTOB function deposits singularity tokens into YieldBox without first approving YieldBox to spend them, so the deposit call reverts. This breaks any Magnetar function that calls _lockOnTOB, such as mintBBLendSGLLockTOLP and lockAndParticipate.
The PermitC contract allows nonces to be executed out of order, so when a victim signs multiple permits, an attacker can choose the order that leaves allowances non-zero or causes transactions to revert. This can lead to unintended token claims or bridging, and enables MEV extraction.
A maximum magnitude check in the twTAP and TapiocaOptionBroker contracts can be exploited to reduce the cumulative magnitude below a threshold, causing a denial of service for new staking and allowing an attacker to monopolise governance voting.
When a batched call in Magnetar.burst() is allowed to fail and carries an ETH value, the failed action's ETH is not refunded and stays in the contract. A malicious user could then spend that stranded ETH through another action that forwards value, effectively stealing it.
The Magnetar contract's Permit action validates only that the first calldata argument equals msg.sender, so an attacker can call approve or setApprovalForAll with themselves as the operator and then transfer out any tokens held by Magnetar. Combined with TapToken leaving a user's tOLP position stuck in Magnetar, an attacker could steal that position.
The helper function MagnetarHelper.getFractionForAmount rounds up when converting the borrowed amount to shares, while the actual withdrawal logic in Singularity rounds down. This mismatch means the helper returns an incorrect fraction, so a user withdrawing based on that fraction could receive a different amount than intended.
The contract's _payNative function returns only the requested native fee instead of the full msg.value, so when multiple LayerZero messages are sent in one transaction the excess native tokens become stuck in the contract. This can leave insufficient native tokens for later messages, preventing functions such as MagnetarBaseModule._lzCustomWithdraw() and TapTokenReceiver._claimTwpTapRewardsReceiver() from executing.
A timing flaw in the option broker lets a staker exercise their TAP option one extra time compared with their actual lock duration. An attacker could collect an extra epoch of option rewards, taking rewards away from longer-term stakers.
The Magnetar contract grants standard ERC20 or YieldBox approvals to target contracts, but those contracts now expect permitC approvals. As a result, token transfers initiated by Magnetar fail, breaking most of its functionality.
The TOLP contract records lock durations in seconds while the TOB contract processes them in epochs, so a lock expiring one second into an epoch makes the user eligible for that entire epoch's rewards. A user can also exit their position after the lock expires but still claim rewards for the rest of the epoch.
The vesting contract's _vested() function miscalculates the fully vested threshold by ignoring the initial unlock time offset, allowing the claimable amount to exceed the total vesting amount. An attacker could claim more tokens than they are entitled to.
The unregisterSingularity function deletes a singularity's registration without checking whether users still have locked positions in it. If a singularity is unregistered while positions remain, those users cannot call unlock and their tokens stay locked in the contract.
The AirdropBroker contract does not clear the phase4Users mapping between the five weekly sub-epochs of phase 4, so a user who did not claim their airdrop in epoch 4 can still claim it in epoch 5. This lets them receive more tokens than intended and disrupts the planned distribution.
Magnetar's batch transaction function allowed any user to call option-related functions on another user's approved oTAP or tOLP NFT, because it did not check that the caller owned the NFT. An attacker could exercise another user's option or lock/unlock their NFT without permission.
Magnetar, a router contract, allowed any user to call ERC721.approve on behalf of an owner who had set Magnetar as isApprovedForAll. An attacker could therefore approve themselves for any of the victim's NFTs and then transfer them away.
The Magnetar contract's sender check allows any whitelisted contract to act on behalf of any user, and the cross-chain mint function lets an attacker supply an arbitrary victim address in the composed message. A whitelisted contract such as USDO then executes market operations against the victim's account, moving their tokens and positions.
The MagnetarOptionModule contract fails to whitelist the marketHelper address supplied by the user, allowing an attacker to provide a malicious helper that returns arbitrary calldata. This calldata is executed by the bigBang market, which trusts the Magnetar contract's approvals, enabling theft of collateral or borrowing against any user's position.
The twTAP.claimRewards() function allows any caller to claim rewards for a token ID as long as the recipient is approved. An attacker can front-run a cross-chain claim by calling claimRewards with the TapTokenReceiver contract as recipient, causing the rewards to be sent to that contract and trapped there, so the legitimate cross-chain claim returns zero.
The Magnetar contract's unwrap operation fails because it does not transfer the user's tokens to itself before calling the TOFT contract's unwrap function, which burns tokens from the caller's address. Additionally, the sender check validates the destination address instead of the owner, so the function cannot work as intended.
The depositRepayAndRemoveCollateralFromMarket function in MagnetarAssetModule pulls tokens from msg.sender instead of the intended user when called by a whitelisted address on behalf of a user. This causes tokens to be taken from the wrong address or the call to revert due to insufficient balance or allowance.
The TapToken transferFrom function falls back to Pearlmit allowance checks using the TapToken contract itself as the spender, so any user who has approved TapToken in Pearlmit can have their tokens stolen by anyone. An attacker can call transferFrom to move the victim's approved tokens to themselves.
The mintBBLendSGLLockTOLP function in Magnetar is meant to allow skipping the lock step, but if the user sets lock to false while still requesting participation, the function reverts because it tries to approve an NFT that is still held by the user rather than the contract. An attacker could not exploit this directly; it is a functional bug that prevents legitimate use of the modular option.
The TapToken contract treats any TAP tokens sent to it as boosted TAP and adds them to the weekly emission, but it still deducts those same tokens from the dso_supply accounting. An attacker could send extra TAP to the contract to speed up the emission schedule and break the intended linearly decaying distribution curve, and with enough tokens could cause an underflow that blocks weekly rollover.
Permit signatures for a token can be observed in the mempool and replayed by anyone, so when more than one permit is signed for the same token (for example granting then revoking an allowance), an attacker can front-run and execute them early, burning the approvals and resetting the allowance to zero. This makes the intended transaction revert, effectively blocking multi-permit flows.
The OTAP token has an open burn function, allowing users to burn their tokens after participating in twAML voting. This prevents the exitPosition function from resetting twAML values, so a user's influence on twAML calculations persists indefinitely.
The decoding function for a message used incorrect slice lengths, allowing multiple byte sequences to decode to the same values. An attacker could craft a malformed message that decodes to a valid-looking position, potentially bypassing validation.
The twTAP contract fails to update averageMagnitude when a position exits, so averageMagnitude only increases. An attacker can repeatedly enter and exit positions to inflate averageMagnitude and then reset cumulative to zero, preventing others from participating and monopolising governance.
TI
Tapioca Invitational
Medium
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.