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.
-
Editions should be checked if they are actually deployed from the legitimate Escher721Factory
Access control Medium Escher contest Audit finding
-
Users can bypass the maxWinPercent limit using a partially closing
Business logic High Tigris Trade contest Audit finding
-
StopLoss/TakeProfit should be validated again for the new price in Trading.executeLimitOrder()
Business logic Medium Tigris Trade contest Audit finding
-
Loan is rollable by default
Business logic Medium Cooler Update Audit finding
-
Lender force Loan become default
Business logic High Cooler Update Audit finding
-
`Cooler.roll()` wouldn't work as expected when `newCollateral = 0`
Business logic Medium Cooler Update Audit finding
-
`PerpDepository._rebalanceNegativePnlWithSwap()` shouldn't use a `sqrtPriceLimitX96` twice
Business logic Medium UXD Protocol Audit finding
-
`rebalanceLite` should provide a slippage protection
Business logic Medium UXD Protocol Audit finding
-
Last collateral check is not safe
Business logic Medium Papr contest Audit finding
-
PrePOMarket.setFinalLongPayout() shouldn’t be called twice.Business logic Medium prePO contest Audit finding
-
The sorting logic is not strict enough
Business logic Medium Size Audit finding
-
Bidders might fail to withdraw their unused funds after the auction was finalized because the contract doesn’t have enough balance.
Business logic High Size Audit finding
-
Liquidation should make a borrower healthier
Business logic Medium Inverse Finance contest Audit finding
-
Lyra vault underestimates the collateral value
Business logic Medium Isomorph Audit finding
-
The protocol shouldn't charge interests when paused
Business logic Medium Isomorph Audit finding
-
Existing Circuit Breaker Implementation Allow Faster Taker To Extract Payout Tokens From Market
Business logic Medium Bond Options Audit finding
-
`Staking.unstake()` doesn't decrease the original voting power that was used in `Staking.stake()`
Business logic High FrankenDAO Audit finding
-
castVote can be called by anyone even those without votes
Business logic Medium FrankenDAO Audit finding
-
isValidRefinance will approve invalid refinances and reject valid refinances due to buggy mathBusiness logic High Astaria Audit finding
-
timeToEpochEnd calculates backwards, breaking protocol mathBusiness logic Medium Astaria Audit finding
-
`AssetManager.rebalance()` will revert when the balance of `tokenAddress` in the money market is 0
DoS Medium Union Finance Audit finding
-
Inconsistant parameter requirements between constructor() and Set() functions in RANGE.sol and Operator.sol .
Business logic Medium Olympus DAO contest Audit finding
-
In Governance.sol , it might be impossible to activate a new proposal forever after failed to execute the previous active proposal.
Business logic High Olympus DAO contest Audit finding
-
WETH.allowance() returns wrong resultSmart contracts High Canto Audit finding
-
Swivel.setFee() is implemented wrongly.Business logic Medium Swivel v3 contest Audit finding
-
With most functions in VaultTracker.sol, users can call them only once after maturity has been reached.Smart contracts Medium Swivel v3 contest Audit finding
-
Migration.join() and Migration.leave() can still work after unsucessful migration.
Business logic Medium Fractional v2 contest Audit finding
-
Builders must pay more interest when the system is paused.
Business logic Medium Rigor Protocol contest Audit finding
-
Project.changeOrder() would work unexpectedly for non SCConfirmed tasks.
Business logic Medium Rigor Protocol contest Audit finding
-
In Project.setComplete() , the signature can be reused when the first call is reverted for some reason
Business logic Medium Rigor Protocol 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
- The distribution logic will be broken after calling rageQuit() Party Protocol
- An attacker can contribute to the ETH crowdfund using a flash loan and control the party as he likes Party Protocol
- Possible DOS attack using dust in ReraiseETHCrowdfund._contribute() Party Protocol
- Pool._amountToBin() returns a wrong value when protocolFeeRatio = 100% . Maverick contest
- TWA update is not correct Maverick contest
- The calculation of LP token amount and deposit amount is wrong for edge cases 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
- RewardThrottle.checkRewardUnderflow() might track the cumulative APR s wrongly. Malt Protocol - Versus contest
- StabilizerNode.stabilize() should update lastTracking as well to avoid an unnecessary incentive. Malt Protocol - Versus contest
- Average APR s might be calculated wrongly after calling populateFromPreviousThrottle() . 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
- priceTarget is inconsistent in StabilizerNode.stabilize Malt Protocol - Versus contest
- RewardThrottle._sendToDistributor() reverts if one distributor is inactive. Malt Protocol - Versus contest
- LinearDistributor.declareReward can revert due to dependency of balance 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
- LinearDistributor.declareReward() might revert after changing vestingDistributor . Malt Protocol - Versus contest
- MuteAmplifier.rescueTokens() checks the wrong condition for muteToken Mute Switch - Versus contest
- State Transition: Minipools can be created using other operator’s AVAX deposit via recreateMinipool GoGoPool contest
- AVAX Assigned High Water is updated incorrectly 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
- Wrong init code hash Numoen contest
- Precision loss in the invariant function can lead to loss of funds Numoen contest
- Admin should be able to refund or redeem the sanctioned users Ondo Finance
- OpenEdition.buy() might revert due to uint overflow when it should work. Escher contest
- Editions should be checked if they are actually deployed from the legitimate Escher721Factory Escher contest
- Users can bypass the maxWinPercent limit using a partially closing Tigris Trade contest
- StopLoss/TakeProfit should be validated again for the new price in Trading.executeLimitOrder() Tigris Trade contest
- Loan is rollable by default Cooler Update
- Lender force Loan become default Cooler Update
- `Cooler.roll()` wouldn't work as expected when `newCollateral = 0` Cooler Update
- `PerpDepository._rebalanceNegativePnlWithSwap()` shouldn't use a `sqrtPriceLimitX96` twice UXD Protocol
- `rebalanceLite` should provide a slippage protection UXD Protocol
- Last collateral check is not safe Papr contest
- PrePOMarket.setFinalLongPayout() shouldn’t be called twice. prePO contest
- The sorting logic is not strict enough Size
- Bidders might fail to withdraw their unused funds after the auction was finalized because the contract doesn’t have enough balance. 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
- `Staking.unstake()` doesn't decrease the original voting power that was used in `Staking.stake()` FrankenDAO
- castVote can be called by anyone even those without votes FrankenDAO
- isValidRefinance will approve invalid refinances and reject valid refinances due to buggy math Astaria
- timeToEpochEnd calculates backwards, breaking protocol 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
- Builders must pay more interest when the system is paused. Rigor Protocol contest
- Project.changeOrder() would work unexpectedly for non SCConfirmed tasks. 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
- Strategists can take more rewards than they should using the function strategistBootyClaim(). Rubicon v2
- Twav. getTwav() will return a wrong result when twavObservations[TWAV BLOCK_NUMBERS - 1].timestamp = 0. Nibbl contest
- Users can claim more fees than expected if governance migrates current rewardToken again by fault. Backd Tokenomics contest
- 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