Sherlock
Peapods
Every publicly disclosed report for Peapods and what kind of bugs they were.
- disclosed reports
- 41
- most reported class
- Business logic
- bug classes found
- 5
- first disclosure
- 2025
Disclosed reports
Newest first. Only what Peapods chose to make public.
-
Pods with `hasTransferTax` set to `true` have an incorrect `totalSupply` because the burn fee is applied recursively to itself
Business logic Medium Audit finding +4 collaborators
-
The attacker can steal rewards from spTKNs because they can influence the fee processing by making a direct token transfer to the pod when the fees are below the minimum
Business logic Medium Audit finding +2 collaborators
-
Reward tokens could be locked in `VotingPool` contract
Business logic Medium Audit finding
-
`addInterest` will not update the interest acurately which would enable users to claim rewards for time that they weren't staked inside `LendingAssetVault`
Business logic Medium Audit finding +3 collaborators
-
`_protocolFees` can be applied multiple times in `AutoCompoundingPodLp` contract
Business logic Medium Audit finding +3 collaborators
-
hardcoded V3_POS_MGR address won't be the same on every chain
Misconfiguration Medium Audit finding +5 collaborators
-
Incorrect reserve mapping leads to fault swap
Business logic High Audit finding +3 collaborators
-
The attacker can steal rewards from AutoCompoundingPodLP because in _processRewardsToPodLp, the rewards from TokenRewards are not distributed
Business logic Medium Audit finding +2 collaborators
-
Open fee is overcharged in `_addLeveragePostCallback` function
Business logic Medium Audit finding
-
MEV bots will steal from users due to an incorrectly manipulated value
Business logic Medium Audit finding +4 collaborators
-
The amount of shares needed for redemption of borrow tokens is underquoted during the removal of leverage process leading to reverting
DoS Medium Audit finding +4 collaborators
-
AutoCompoundingPodLp `_pairedLpTokenToPodLp()` does not correctly handle leftover pTKNs
DoS High Audit finding +4 collaborators
-
self-lending does not work with paired tokens that have a transfer tax because addLiquidityV2 does not account for fee-on-transfer on the PAIRED_LP_TOKEN
Business logic Medium Audit finding +2 collaborators
-
Transferring of _userProvidedDebtAmtMax does not work in _acquireBorrowTokenForRepayment because _props.sender is never set, which leads to a transferFrom call from address(0), causing the transaction to revert
Business logic Medium Audit finding +3 collaborators
-
LeverageManager remove leverage will lead to stuck tokens if slippage `_podSwapAmtOutMin` is set
Business logic High Audit finding +3 collaborators
-
`PodUnwrapLocker` can be drained due to an arbitrary input
Business logic High Audit finding +2 collaborators
-
Vault inflation attack in `AutoCompoundingPodLp` is possible due to incorrectly minting dead shares
Smart contracts High Audit finding +1 collaborator
-
Malicious Lenders can Increase the Interest owed by Borrowers Due to Wrong `UtilizationRate` Calculation
Business logic Medium Audit finding +5 collaborators
-
Pod DoS if the LEAVE_AS_PAIRED_LP_TOKEN option is enabled
DoS High Audit finding +1 collaborator
-
AutoCompoundingPodLP does not use correct oracle price as slippage for pairedLpTKn -> pTKN swap
Business logic Medium Audit finding +1 collaborator
-
LeverageManager closeFee is only collected for pTKN, which can be easily bypassed
Business logic Medium Audit finding +3 collaborators
-
LeverageManager removeLeverage does not support advanced self-lending pods with podded fTKN as pairedLpTKN
Business logic Medium Audit finding +1 collaborator
-
LendingAssetVault should also call `_updateInterestAndMdInAllVaults()` in multiple functions
Business logic Medium Audit finding +2 collaborators
-
AutoCompoundingPodLp `_swapV2()` may lead to leftover tokens in multihops
Business logic Medium Audit finding +4 collaborators
-
Improper Handling of Paused Tokens in `TokenRewards._resetExcluded()` Function
Business logic Medium Audit finding +8 collaborators
-
spTKNMinimalOracle `_calculateSpTknPerBase()` does not return 0, which breaks the feature of having a fallback oracle
DoS Medium Audit finding +1 collaborator
-
spTKNMinimalOracle does not support advanced self-lending pods, where pairedLpTKN is a podded fraxlend token
Smart contracts Medium Audit finding +1 collaborator
-
Transaction may revert unexpectedly due to missing allowance for the lending pair asset
Business logic Medium Audit finding +2 collaborators
-
VotingPool.sol Uniswap V2 pricing formula for spTKN is incorrect
Smart contracts Medium Audit finding