Hunt prep
Before you test Axis Finance
What 18 disclosed reports say about Axis Finance: 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 | 12 | 0 | – | – | $0 |
| DoS lesson | 4 | 0 | – | – | $0 |
| Smart contracts lesson | 2 | 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.
-
Overflow in curate() function, results in permanently stuck funds
The issue was fixed by changing the funding variable type from uint96 to uint256, avoiding the unsafe casting and overflow.
Disclosed
-
Settlement of batch auction can exceed the gas limit
The protocol team fixed this issue by changing the queue implementation from a heap to a linked list to reduce gas cost and by capping the maximum number of bids for settlement at 2500.
Disclosed
-
Unsafe casting within _purchase function can result in overflow
The issue was fixed by switching to uint256 to avoid the unsafe casting.
Disclosed
-
Downcasting to uint96 can cause assets to be lost for some tokens
The issue was fixed by using uint256 instead of uint96 for the total amount, avoiding the unsafe casting.
Disclosed
-
Module's gas yield can never be claimed and all yield will be lost
The issue was fixed by calling configureClaimableGas inside the constructor.
Disclosed
-
Bidders' funds may become locked due to inconsistent price order checks in MaxPriorityQueue and the _claimBid function
The protocol team fixed this issue by using the same computation for queue and marginal price calculations.
Disclosed
-
Malicious user can overtake a prefunded auction and steal the deposited funds
The lot counter should be incremented and assigned to lotId before the storage pointer to lotRouting[lotId] is taken; the protocol team fixed this in a pull request.
Disclosed
-
Attacker can forbid users to get refunded if sends enough bids on the EMPAM module
The protocol team fixed this issue by passing the index of the bid to be refunded, avoiding iteration over the entire list.
Disclosed
-
If pfBidder gets blacklisted the settlement process would be broken and every other bidders and the seller would lose their funds
The payout and refund for the partially filled bidder should be separated from the settlement process; the protocol team fixed this in a pull request.
Disclosed
-
Unsold tokens from a FPAM auction, will be stuck in the protocol, after the auction concludes
The protocol team fixed this issue by making FPAM auctions not prefunded.
Disclosed
-
User's can be grieved by not submitting the private key
The protocol team fixed this issue by allowing bidders to claim refunds after a dedicated settle period if the private key is not submitted.
Disclosed
-
Inaccurate value is used for partial fill quote amount when calculating fees
The issue was fixed by calculating the partial bid amount for quote fees as the paid amount minus the refund.
Disclosed
-
Bidder's payout claim could fail due to validation checks in LinearVesting
The expiry check was removed in a fix, allowing minting even after the vesting token's expiry.
Disclosed
-
It is possible to DoS batch auctions by submitting invalid AltBn128 points when bidding
The protocol team fixed this issue by adding a check that the x and y coordinates are less than the field modulus in the isValid() function.
Disclosed
-
Bidders can not claim their bids if the auction creator claims the proceeds
The issue was fixed by replacing the claimed status with a boolean so that a settled auction remains settled.
Disclosed