Researcher
hansfriese
66 disclosed reports, active 2022 to 2023.
- programs
- 8+
- bug classes
- 4
- latest disclosure
- Sep 2023
Disclosed reports
Only reports a program chose to make public, so a slice of their work.
-
Total assets of yearn vault are not correctBusiness logic Medium Popcorn contest Audit finding
-
In MultiRewardStaking.addRewardToken() , rewardsPerSecond is not accurate enough to handle all type of reward tokens.Business logic Medium Popcorn contest Audit finding
-
The distribution logic will be broken after calling rageQuit()Business logic High Party Protocol Audit finding
-
Users wouldn’t refund from the lost ETH crowdfunds due to the lack of ETHHigh Party Protocol Audit finding
-
An attacker can contribute to the ETH crowdfund using a flash loan and control the party as he likesBusiness logic High Party Protocol Audit finding
-
Possible DOS attack using dust in ReraiseETHCrowdfund._contribute()DoS Medium Party Protocol Audit finding
-
TWA update is not correct
Business logic Medium Maverick contest Audit finding
-
The calculation of LP token amount and deposit amount is wrong for edge cases
Business logic Medium Maverick contest Audit finding
-
Pool._amountToBin() returns a wrong value when protocolFeeRatio = 100% .
Business logic Medium Maverick contest Audit finding
-
ReaperBaseStrategyv4.harvest() might revert in an emergency.
Business logic Medium Ethos Reserve contest Audit finding
-
In ReaperVaultV2 , we should update lockedProfit and lastReport before changing lockedProfitDegradation
Business logic Medium Ethos Reserve contest Audit finding
-
The latest malt price can be less than the actual price target and StabilizerNode.stabilize will revert
Smart contracts Medium Malt Protocol - Versus contest Audit finding
-
SwingTraderManager.swingTraders() shoudn’t contain duplicate traderContract s.
Business logic Medium Malt Protocol - Versus contest Audit finding
-
Repository._removeContract() removes the contract wrongly.
Business logic Medium Malt Protocol - Versus contest Audit finding
-
priceTarget is inconsistent in StabilizerNode.stabilize
Business logic Medium Malt Protocol - Versus contest Audit finding
-
StabilizerNode.stabilize() should update lastTracking as well to avoid an unnecessary incentive.
Business logic Medium Malt Protocol - Versus contest Audit finding
-
RewardThrottle.checkRewardUnderflow() might track the cumulative APR s wrongly.
Business logic High Malt Protocol - Versus contest Audit finding
-
LinearDistributor.declareReward can revert due to dependency of balance
DoS Medium Malt Protocol - Versus contest Audit finding
-
RewardThrottle._sendToDistributor() reverts if one distributor is inactive.
DoS Medium Malt Protocol - Versus contest Audit finding
-
LinearDistributor.declareReward() might revert after changing vestingDistributor .
Smart contracts Medium Malt Protocol - Versus contest Audit finding
-
Average APR s might be calculated wrongly after calling populateFromPreviousThrottle() .
Business logic Medium Malt Protocol - Versus contest Audit finding
-
MuteAmplifier.rescueTokens() checks the wrong condition for muteToken
Business logic Medium Mute Switch - Versus contest Audit finding
-
AVAX Assigned High Water is updated incorrectlyBusiness logic High GoGoPool contest Audit finding
-
State Transition: Minipools can be created using other operator’s AVAX deposit via recreateMinipoolBusiness logic Medium GoGoPool contest Audit finding
-
Rebalance logic is wrong and this distorts the pool’s important states
Business logic High Timeswap contest Audit finding
-
Precision loss in the invariant function can lead to loss of funds
Business logic High Numoen contest Audit finding
-
First liquidity provider will suffer from revert or fund loss
Business logic Medium Numoen contest Audit finding
-
Wrong init code hash
Business logic Medium Numoen contest Audit finding
-
Admin should be able to refund or redeem the sanctioned users
Business logic Medium Ondo Finance Audit finding
-
OpenEdition.buy() might revert due to uint overflow when it should work.
Smart contracts Medium Escher contest Audit finding
2023 42
- In MultiRewardStaking.addRewardToken() , rewardsPerSecond is not accurate enough to handle all type of reward tokens. Popcorn contest
- Total assets of yearn vault are not correct Popcorn contest
- Users wouldn’t refund from the lost ETH crowdfunds due to the lack of ETH Party Protocol
- Possible DOS attack using dust in ReraiseETHCrowdfund._contribute() Party Protocol
- An attacker can contribute to the ETH crowdfund using a flash loan and control the party as he likes Party Protocol
- The distribution logic will be broken after calling rageQuit() Party Protocol
- The calculation of LP token amount and deposit amount is wrong for edge cases Maverick contest
- TWA update is not correct Maverick contest
- Pool._amountToBin() returns a wrong value when protocolFeeRatio = 100% . Maverick contest
- In ReaperVaultV2 , we should update lockedProfit and lastReport before changing lockedProfitDegradation Ethos Reserve contest
- ReaperBaseStrategyv4.harvest() might revert in an emergency. Ethos Reserve contest
- LinearDistributor.declareReward can revert due to dependency of balance Malt Protocol - Versus contest
- Repository._removeContract() removes the contract wrongly. Malt Protocol - Versus contest
- SwingTraderManager.swingTraders() shoudn’t contain duplicate traderContract s. Malt Protocol - Versus contest
- The latest malt price can be less than the actual price target and StabilizerNode.stabilize will revert Malt Protocol - Versus contest
- StabilizerNode.stabilize() should update lastTracking as well to avoid an unnecessary incentive. Malt Protocol - Versus contest
- LinearDistributor.declareReward() might revert after changing vestingDistributor . Malt Protocol - Versus contest
- RewardThrottle._sendToDistributor() reverts if one distributor is inactive. Malt Protocol - Versus contest
- priceTarget is inconsistent in StabilizerNode.stabilize Malt Protocol - Versus contest
- Average APR s might be calculated wrongly after calling populateFromPreviousThrottle() . Malt Protocol - Versus contest
- RewardThrottle.checkRewardUnderflow() might track the cumulative APR s wrongly. Malt Protocol - Versus contest
- MuteAmplifier.rescueTokens() checks the wrong condition for muteToken Mute Switch - Versus contest
- AVAX Assigned High Water is updated incorrectly GoGoPool contest
- State Transition: Minipools can be created using other operator’s AVAX deposit via recreateMinipool GoGoPool contest
- Rebalance logic is wrong and this distorts the pool’s important states Timeswap contest
- First liquidity provider will suffer from revert or fund loss Numoen contest
- Precision loss in the invariant function can lead to loss of funds Numoen contest
- Wrong init code hash Numoen contest
- Admin should be able to refund or redeem the sanctioned users Ondo Finance
- Editions should be checked if they are actually deployed from the legitimate Escher721Factory Escher contest
- OpenEdition.buy() might revert due to uint overflow when it should work. Escher contest
- StopLoss/TakeProfit should be validated again for the new price in Trading.executeLimitOrder() Tigris Trade contest
- Users can bypass the maxWinPercent limit using a partially closing Tigris Trade contest
- Lender force Loan become default Cooler Update
- Loan is rollable by default Cooler Update
- `Cooler.roll()` wouldn't work as expected when `newCollateral = 0` Cooler Update
- `rebalanceLite` should provide a slippage protection UXD Protocol
- `PerpDepository._rebalanceNegativePnlWithSwap()` shouldn't use a `sqrtPriceLimitX96` twice UXD Protocol
- Last collateral check is not safe Papr contest
- PrePOMarket.setFinalLongPayout() shouldn’t be called twice. prePO contest
- Bidders might fail to withdraw their unused funds after the auction was finalized because the contract doesn’t have enough balance. Size
- The sorting logic is not strict enough Size
2022 24
- Liquidation should make a borrower healthier Inverse Finance contest
- Lyra vault underestimates the collateral value Isomorph
- The protocol shouldn't charge interests when paused Isomorph
- Existing Circuit Breaker Implementation Allow Faster Taker To Extract Payout Tokens From Market Bond Options
- castVote can be called by anyone even those without votes FrankenDAO
- `Staking.unstake()` doesn't decrease the original voting power that was used in `Staking.stake()` FrankenDAO
- timeToEpochEnd calculates backwards, breaking protocol math Astaria
- isValidRefinance will approve invalid refinances and reject valid refinances due to buggy math Astaria
- `AssetManager.rebalance()` will revert when the balance of `tokenAddress` in the money market is 0 Union Finance
- Inconsistant parameter requirements between constructor() and Set() functions in RANGE.sol and Operator.sol . Olympus DAO contest
- In Governance.sol , it might be impossible to activate a new proposal forever after failed to execute the previous active proposal. Olympus DAO contest
- WETH.allowance() returns wrong result Canto
- Swivel.setFee() is implemented wrongly. Swivel v3 contest
- With most functions in VaultTracker.sol, users can call them only once after maturity has been reached. Swivel v3 contest
- Migration.join() and Migration.leave() can still work after unsucessful migration. Fractional v2 contest
- Project.changeOrder() would work unexpectedly for non SCConfirmed tasks. Rigor Protocol contest
- Builders must pay more interest when the system is paused. Rigor Protocol contest
- In Project.setComplete() , the signature can be reused when the first call is reverted for some reason Rigor Protocol contest
- Project.addTasks() wouldn’t work properly when it’s called from disputes contract. Rigor Protocol contest
- Twav. getTwav() will return a wrong result when twavObservations[TWAV BLOCK_NUMBERS - 1].timestamp = 0. Nibbl contest
- Strategists can take more rewards than they should using the function strategistBootyClaim(). Rubicon v2
- Strategy in StakerVault.sol can steal more rewards even though it’s designed strategies shouldn’t get rewards. Backd Tokenomics contest
- StakerVault.unstake(), StakerVault.unstakeFor() would revert with a uint underflow error of StakerVault.strategiesTotalStaked, StakerVault._poolTotalStaked. Backd Tokenomics contest
- Users can claim more fees than expected if governance migrates current rewardToken again by fault. Backd Tokenomics contest