Researcher
unforgiven
51 disclosed reports, active 2022 to 2023.
- programs
- 8+
- bug classes
- 5
- latest disclosure
- Jun 2023
Disclosed reports
Only reports a program chose to make public, so a slice of their work.
-
In execute() the amount routers pay is what user signed, but in _reconcile() the amount routers get is what nomad sends and these two amounts are not necessary equal because of slippage in original domain
Business logic High Connext Amarok contest Audit finding
-
Attacker can perform griefing for process() in PromiseRouter by reverting calls to callback() in callbackAddress
DoS Medium Connext Amarok contest Audit finding
-
In reimburseLiquidityFees() of SponserVault contract swaps tokens without slippage limit so its possible to perform sandwich attack and it create MEV
Business logic Medium Connext Amarok contest Audit finding
-
division rounding error in _handleExecuteLiquidity() and _reconcile() make routerBalances and contract fund balance to get out of sync and cause fund lose
Business logic Medium Connext Amarok contest Audit finding
-
User fund lose in addLiquidity() of LiquidityReserve by increasing (totalLockedValue / totalSupply()) to very large number by attacker
Business logic Medium Yieldy contest Audit finding
-
It’s possible to perform DOS and fund lose in Stacking by transferring tokens directly to contract
DoS Medium Yieldy contest Audit finding
-
token transfers in LiquidityReserve and Staking contract don’t support deflationary ERC20 tokens, and user funds can be lost if stacking token was deflationary
Business logic Medium Yieldy contest Audit finding
-
Fund loss or griefing in all order matching functions [ matchOneToOneOrders() , matchOneToManyOrders() , matchOrders() , takeMultipleOneOrders() , takeOrders() ] because condition (seller != buyer ) is not checked in any of them
Business logic Medium Infinity NFT Marketplace contest Audit finding
-
Loss of funds in matchOneToManyOrders() and takeOrders() and matchOrders() because code don’t check that different ids in one collection are different, so it’s possible to sell one id multiple time instead of selling multiple id one time in one collection of order (lack of checks in doTokenIdsIntersect() especially for ERC1155 tokens)
Business logic High Infinity NFT Marketplace contest Audit finding
-
Rewards can be locked in Bribe contract because distributing them depends on base token reward amount and Gauge.deliverBribes() is not always called by Voter.distribute()
Business logic Medium Velodrome Finance contest Audit finding
-
Temporary DOS by calling notifyRewardAmount() in Bribe/Gauge with malicious tokens
DoS Medium Velodrome Finance contest Audit finding
-
Wrong reward distribution in Bribe because deliverReward() won’t set tokenRewardsPerEpoch[token][epochStart] to 0
Business logic Medium Velodrome Finance contest Audit finding
-
getRewards() in PermissionlessBasicPoolFactory calculate wrong reward amount for receiptId==0
Business logic Medium FactoryDAO contest Audit finding
-
Attacker can call sweepRewardToken() when bribesProcessor==0 and reward funds will be lost because there is no check in sweepRewardToken() and _handleRewardTransfer() and _sendTokenToBribesProcessor()
Access control High eBTC Zap Router Audit finding
-
Reentrancy bug in Basket’s withdraw multiple tokens function which gives attacker ability to transfer basket ownership and spend it but withdraw all the tokens out of basket
Smart contracts Medium Nibbl contest Audit finding
-
it’s possible to initialize contract BkdLocker for multiple times by sending startBoost=0 and each time different values for other parameters
Smart contracts Medium Backd Tokenomics contest Audit finding
-
Fund loss or theft by attacker with creating a flash loan and setting SuperVault as receiver so executeOperation() will be get called by lendingPool but with attackers specified params
Access control High Mimo DeFi contest Audit finding
-
The logic of _isUnderlying() in NotionalTradeModule is wrong which will cause mintFCashPosition() and redeemFCashPosition() revert on fcash tokens which asset token is underlying token (asset.tokenType == TokenType.NonMintable)
Business logic Medium Notional x Index Coop Audit finding
-
deposit() and mint() and _redeemInternal() in wfCashERC4626() will revert for all fcash that asset token is underlying token because they always call _mintInternal() with useUnderlying==True
Business logic Medium Notional x Index Coop Audit finding
-
User fund loss in supplyTokenTo() because of roundingSmart contracts Medium PoolTogether Audit finding
-
function lockFunds in TopUpActionLibrary can cause serious fund lose. fee and Capped bypass. It’s not calling stakerVault.increaseActionLockedBalance when transfers stakes.
Business logic High Backd Tokenomics contest Audit finding
2023 27
- deploying contracts with forceDeployOnAddress will break contracts when callConstructor is false zkSync Era
- Function processEpoch() in PublicVault would revert when most of the users withdraw their funds because of the underflow for new yIntercept calculation Astaria contest
- Function withdraw() and redeem() in ERC4626RouterBase would revert always because they have unnecessary allowance setting Astaria contest
- User collateral NFT open auctions would be sold as min price immediately next time user health factor gets below the liquidation threshold, protocol should check health factor and set auctionValidityTime value anytime a valid action happens to user account to invalidate old open auctions ParaSpace contest
- Attacker can steal RToken holders’ funds by performing reentrancy attack during redeem() function token transfers Reserve Core
- Attacker can make stakeRate to be 1 in the StRSR contract and users depositing tokens can lose funds because of the big rounding error Reserve Core
- Early user can call issue() and then melt() to increase basketsNeeded to supply ratio to its maximum value and then melt() won’t work and contract features like issue() won’t work Reserve Core
- middle level admins can steal child trees because function unlinkTopHatFromTree() is callable by them Hats
- Functions cancelMinipool() doesn’t reset the value of the RewardsStartTime for user when user’s minipoolcount is zero GoGoPool contest
- Wrong reward distribution between early and late depositors because of the late syncRewards() call in the cycle, syncReward() logic should be executed in each withdraw or deposits (without reverting) GoGoPool contest
- maxWithdraw() and maxRedeem() doesn’t return correct value which can make other contracts fail while working with protocol GoGoPool contest
- when issuer set new winner by calling setTierWinner() code should reset invoice and supporting documents for that tier OpenQ
- [High] Function MigrateWithdrawal() may set gas limit so high for old withdrawals when migrating them by mistake and they can't be relayed in the L1 and users funds would be lost Optimism Update
- Challenger can override the 7 day finalization period Optimism Update
- reentrancy attack during mint() function in Position contract which can lead to removing of the other user’s limit orders or stealing contract funds because initId is set low value Tigris Trade contest
- distribute() won’t update epoch[tigAsset] when totalShares[tigAsset]==0 which can cause later created bond for this tigAsset to have wrong mint epoch Tigris Trade contest
- One can become referral of hash 0x0 and because all users default referral hash is 0x0 so he would become all users referral by default and earn a lot of fees while users didn’t approve it Tigris Trade contest
- User fund loss because function purchaseLiquidationAuctionNFT() takes extra liquidation penalty when user’s last collateral is liquidated, (set wrong value for maxDebtCached when isLastCollateral is true) Papr contest
- fee loss in AutoPxGmx and AutoPxGlp and reward loss in AutoPxGlp by calling PirexRewards.claim(pxGmx/pxGpl, AutoPx*) directly which transfers rewards to AutoPx* pool without compound logic get executed and fee calculation logic and pxGmx wouldn’t be executed for those rewards Redacted Cartel contest
- broken logic in configureGmxState() of PirexGmx contract because it doesn’t properly call safeApprove() for stakedGmx address Redacted Cartel contest
- _calculateRewards() in PirexGmx don’t handle reward calculation properly, and it would revert when totalSupply() is zero which will cause claimRewards() to revert if one of 4 rewardTracker’s totalSupply was zero Redacted Cartel contest
- It’s possible to swap NFT token ids without fee and also attacker can wrap unwrap all the NFT token balance of the Pair contract and steal their air drops for those token ids Caviar Private Pools
- withdrawETH() in GiantPoolBase don’t call _distributeETHRewardsToUserForToken() or _onWithdraw() which would make users to lose their remaining rewards LSD Network - Stakehouse contest
- Possible reentrancy and fund theft in withdrawDETH() of GiantSavETHVaultPool because there is no whitelist check for user provided Vaults and there is no reentrancy defense LSD Network - Stakehouse contest
- Fund lose in function bringUnusedETHBackIntoGiantPool() of GiantSavETHVaultPool ETH gets back to giant pool but the value of idleETH don’t increase LSD Network - Stakehouse contest
- User loses remaining rewards in GiantMevAndFeesPool when new deposits happen because _onDepositETH() set claimed[][] to max without transferring user remaining rewards LSD Network - Stakehouse contest
- User funds lost because they can’t withdraw() their funds before epoch startTime and they are stuck in positions that become unprofitable even when epoch is not started Y2k Finance contest
2022 24
- in notifyRewardAmount() of VE3DRewardPool and BaseRewardPool some tokes will be locked and not distributed becasue of rounding error veToken Finance contest
- Deposited staking tokens can be lost if rewards token info added by mistake in addReward() in VE3DRewardPool and there is no checking to ensure this would not happen (ve3Token for one reward was equal to stacking token) veToken Finance contest
- Unused rewards(because of totalSupply()==0 for some period) will be locked forever in VE3DRewardPool and BaseRewardPool veToken Finance contest
- In execute() the amount routers pay is what user signed, but in _reconcile() the amount routers get is what nomad sends and these two amounts are not necessary equal because of slippage in original domain Connext Amarok contest
- Attacker can perform griefing for process() in PromiseRouter by reverting calls to callback() in callbackAddress Connext Amarok contest
- In reimburseLiquidityFees() of SponserVault contract swaps tokens without slippage limit so its possible to perform sandwich attack and it create MEV Connext Amarok contest
- division rounding error in _handleExecuteLiquidity() and _reconcile() make routerBalances and contract fund balance to get out of sync and cause fund lose Connext Amarok contest
- User fund lose in addLiquidity() of LiquidityReserve by increasing (totalLockedValue / totalSupply()) to very large number by attacker Yieldy contest
- It’s possible to perform DOS and fund lose in Stacking by transferring tokens directly to contract Yieldy contest
- token transfers in LiquidityReserve and Staking contract don’t support deflationary ERC20 tokens, and user funds can be lost if stacking token was deflationary Yieldy contest
- Fund loss or griefing in all order matching functions [ matchOneToOneOrders() , matchOneToManyOrders() , matchOrders() , takeMultipleOneOrders() , takeOrders() ] because condition (seller != buyer ) is not checked in any of them Infinity NFT Marketplace contest
- Loss of funds in matchOneToManyOrders() and takeOrders() and matchOrders() because code don’t check that different ids in one collection are different, so it’s possible to sell one id multiple time instead of selling multiple id one time in one collection of order (lack of checks in doTokenIdsIntersect() especially for ERC1155 tokens) Infinity NFT Marketplace contest
- Rewards can be locked in Bribe contract because distributing them depends on base token reward amount and Gauge.deliverBribes() is not always called by Voter.distribute() Velodrome Finance contest
- Temporary DOS by calling notifyRewardAmount() in Bribe/Gauge with malicious tokens Velodrome Finance contest
- Wrong reward distribution in Bribe because deliverReward() won’t set tokenRewardsPerEpoch[token][epochStart] to 0 Velodrome Finance contest
- getRewards() in PermissionlessBasicPoolFactory calculate wrong reward amount for receiptId==0 FactoryDAO contest
- Attacker can call sweepRewardToken() when bribesProcessor==0 and reward funds will be lost because there is no check in sweepRewardToken() and _handleRewardTransfer() and _sendTokenToBribesProcessor() eBTC Zap Router
- Reentrancy bug in Basket’s withdraw multiple tokens function which gives attacker ability to transfer basket ownership and spend it but withdraw all the tokens out of basket Nibbl contest
- it’s possible to initialize contract BkdLocker for multiple times by sending startBoost=0 and each time different values for other parameters Backd Tokenomics contest
- Fund loss or theft by attacker with creating a flash loan and setting SuperVault as receiver so executeOperation() will be get called by lendingPool but with attackers specified params Mimo DeFi contest
- The logic of _isUnderlying() in NotionalTradeModule is wrong which will cause mintFCashPosition() and redeemFCashPosition() revert on fcash tokens which asset token is underlying token (asset.tokenType == TokenType.NonMintable) Notional x Index Coop
- deposit() and mint() and _redeemInternal() in wfCashERC4626() will revert for all fcash that asset token is underlying token because they always call _mintInternal() with useUnderlying==True Notional x Index Coop
- User fund loss in supplyTokenTo() because of rounding PoolTogether
- function lockFunds in TopUpActionLibrary can cause serious fund lose. fee and Capped bypass. It’s not calling stakerVault.increaseActionLockedBalance when transfers stakes. Backd Tokenomics contest