Hunt prep
Before you test Asymmetry Finance afETH Invitational
What 35 disclosed reports say about Asymmetry Finance afETH Invitational: what was found and paid, what was fixed, and where it may be worth looking next.
- with a public bounty
- 0
- median public bounty
- –
- highest public bounty
- –
Gaps worth testing
Not written yet for this program. The numbers below are up to date.
What was found and what it paid
Public bounties only; many reports disclose without the amount.
| Class | Reports | Paid | Median | Highest | In all |
|---|---|---|---|---|---|
| Business logic lesson | 14 | 0 | – | – | $0 |
| DoS lesson | 10 | 0 | – | – | $0 |
| Smart contracts lesson | 5 | 0 | – | – | $0 |
| Access control lesson | 2 | 0 | – | – | $0 |
| Race condition lesson | 1 | 0 | – | – | $0 |
What was fixed
All reportsThe newest fixes, in our words. A fixed bug is not worth re-reporting, but a sibling feature, an older API version or a regression may be.
-
It might not be possible to applyRewards() , if an amount received is less than 0.05 eth
The minimum stake amount was removed from SafEth by calling setMinAmount(0), as confirmed by the team.
Disclosed
-
Swap functionality to sell rewards is too permissive and could cause accidental or intentional loss of value
The implementation should be changed to only approve the 0x entrypoint and only call the 0x protocol, optionally validating that the output token is ETH.
Disclosed
-
Lack of access control and value validation in the reward flow exposes functions to public access
The team mitigated by checking msg.value instead of passing an amount and making depositRewards private, but the status is unmitigated according to later reports.
Disclosed
-
Zero amount withdrawals of SafEth or Votium will brick the withdraw process
The fix is to skip calling unstake or sellCvx when the respective amount is zero, and to avoid requesting withdrawals with zero amounts.
Disclosed
-
Reward sandwiching in VotiumStrategy
The project mitigated by adding a minimum epoch of 1 to prevent immediate withdrawal, but the status is unmitigated according to later reports.
Disclosed
-
Inflation attack in VotiumStrategy
The issue was mitigated by tracking balances internally instead of using `balanceOf`.
Disclosed
-
Functions in the VotiumStrategy contract are susceptible to sandwich attacks
The project mitigated the issue by locking down the depositRewards function and adding a minimum output parameter to the reward functions.
Disclosed
-
Forced relock in VotiumStrategy withdrawal causes denial of service if Convex locking contract is shutdown
The relock() function was changed to check whether the vlCVX contract is shut down before calling lock(), and the mitigation was confirmed.
Disclosed
-
Missing deadline check for AfEth actions
Add a deadline timestamp to the deposit and withdraw functions and revert if the timestamp has passed; the project mitigated this by adding a deadline check.
Disclosed
-
Missing circuit breaker checks in ethPerCvx() for Chainlink’s price feed
The code should validate that the Chainlink answer is between a minimum and maximum price, so an incorrect price is never used.
Disclosed
-
AfEth deposits could use price data from an invalid Chainlink response
The mitigation was to validate Chainlink price data by changing the argument to true.
Disclosed
-
price() in AfEth.sol doesn’t take afEth held for pending withdrawals into account
The issue was mitigated by burning afEth on requestWithdraw instead of transferring it to the contract.
Disclosed
-
Intrinsic arbitrage from price discrepancy
The protocol should adjust the minting calculation to use conservative price bounds that minimise the shares minted, ensuring that new deposits do not dilute existing holders.
Disclosed
-
AfEth collaterals cannot be balanced after ratio is changed
The contract should have an admin-controlled rebalancing function that withdraws from one collateral and deposits into the other to correct the offset, with slippage control.
Disclosed
-
VotiumStrategy withdrawal queue fails to consider available unlocked tokens causing different issues in the withdraw process
The code should check before the loop whether the available unlocked tokens are enough to cover the withdrawal and, if so, set the withdrawal for the current epoch; the project mitigated this and the mitigation was confirmed.
Disclosed