Skip to content

Sherlock

Mycelium

Every publicly disclosed report for Mycelium and what kind of bugs they were.

disclosed reports
5
most reported class
Business logic
bug classes found
3
first disclosure
2022
Find Mycelium on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Mycelium chose to make public.

Smart contracts

Lack of sanity checks for new plugin address in `addPlugin()`

The addPlugin() function in a vault contract did not validate the address of a new plugin, so an incorrect or duplicate address could be registered. This could break deposit and withdraw functions, or cause the vault to double-count a plugin's balance, giving depositors too few shares and withdrawers too many tokens.

Mycelium

Medium
Smart contracts

Frontrun `deposit()` can cause the depositor to lose all the funds

The vault contract's deposit and token transfer functions calculate new shares based on the existing balance, so if an attacker frontruns the first depositor by sending a small amount of LINK tokens directly to the vault, the depositor's shares round down to zero. The depositor and all future depositors lose their funds.

Mycelium

Medium
DoS

`_withdrawFromPlugin()` will revert when `_withdrawalValues[i] == 0`

The vault's rebalance and plugin removal functions attempt to withdraw zero tokens from a plugin when the withdrawal amount is zero or the plugin balance is zero. This causes a revert in plugins like AaveV2Plugin that reject zero withdrawals, blocking rebalancing and plugin removal.

Mycelium

Medium