The postIncomingMessages function calls an attacker-controlled contract before updating the incoming message counter, allowing re-entrancy. An attacker could replay the same cross-chain messages to receive funds multiple times.
The bridge contract on a SKALE chain allowed a user to send a natively minted token to Ethereum mainnet, but the Ethereum deposit box only understands a different message type and rejects it. The user's tokens are burned or locked on the SKALE side while no tokens arrive on Ethereum, so the funds are lost.
The TokenManagerERC20 contract uses transferFrom() instead of safeTransferFrom(), so tokens that do not return a boolean (non-standard ERC20) will cause transactions to revert. This makes such tokens unusable in the protocol, but no funds are lost.
A malicious account on the Schain side of a bridge can mint tokens on a custom ERC20 contract and then exit them to mainnet, draining the locked tokens held in the deposit box. This traps other users' funds on Schain and steals their mainnet tokens.
The ERC721OnChain contract allows the owner of an NFT to change its token URI, which is normally set by the contract owner. An attacker who owns an NFT could spoof another NFT's data by changing the token URI to point to that other NFT's data.
The removeConnectedChain function deletes a chain's configuration without checking for pending messages, so any unprocessed messages (including token transfers) may become stuck or lost. An attacker with admin privileges could use this to deny operations.
The refund calculation in CommunityPool.refundGasByUser uses tx.gasprice, which the node submitting the transaction controls, allowing a malicious node to set an excessively high gas price and drain the user's or SChain owner's balance. The user may also be locked out of further exits if their balance becomes insufficient.
When a connected chain is removed and later reconnected, the message counters are reset to zero, allowing previously processed messages to be replayed with their old signatures. This could also cause inbound and outbound messages to fail because the counter is out of sync with the remote chain.
The admin role of TokenManagerEth can change the ERC20 token address to an arbitrary contract, then call exitToMain to drain the entire ETH balance from the DepositBox on the main Ethereum chain. This allows a rug pull by the admin.
The deposit box contracts allow a chain owner to call getFunds after a chain is killed, transferring all deposited funds to any receiver. This gives the owner a rug-pull vector, though it requires cooperation from the IMA mainnet admin.
The DepositBoxERC20 contract does not account for tokens whose balances change during transfers or over time, such as rebasing, deflationary, or inflationary tokens. An attacker could exploit this by depositing such a token and causing the contract's accounting to become inconsistent, potentially leading to loss of funds or incorrect bridging.
The EthErc20 contract's forceBurn function lets any address with the BURNER_ROLE burn tokens from any account without that account's consent. An attacker holding that role could destroy arbitrary amounts of other users' tokens.
When a user transfers a token native to the origin schain to another schain, the origin contract locks the tokens and sends a message. If the target schain has automatic deploy disabled and no clone exists, the inbound message fails, leaving the tokens frozen in the origin contract.
SC
SKALE contest
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.