Closed sherlock-admin4 closed 7 months ago
Invalid, admin action, invalid based on the following sherlock rule
- An admin action can break certain assumptions about the functioning of the code. Example: Pausing a collateral causes some users to be unfairly liquidated or any other action causing loss of funds. This is not considered a valid issue.
The protocol team fixed this issue in the following PRs/commits: https://github.com/Axis-Fi/moonraker/pull/140
The protocol team fixed this issue in the following PRs/commits: Axis-Fi/moonraker#140
Fixed The fees are cached at the time of auction creation
The Lead Senior Watson signed off on the fix.
thisvishalsingh
medium
Protocol Fee Changes Impacting Auction Settlements
Summary
The
AuctionHouse
contract is vulnerable to unexpected financial outcomes due to protocol fee changes during an active auction. Sellers and buyers could receive different amounts than anticipated if fees are altered before the auction's conclusion.Vulnerability Detail
If protocol fees are updated after bids are placed but before the auction is settled, the final distribution of funds can differ from the expectations at the time of bidding.
Impact
Code Snippet
given above. https://github.com/sherlock-audit/2024-03-axis-finance/blob/main/moonraker/src/AuctionHouse.sol#L587
Tool used
Manual Review
Recommendation
Implementation: The
purchase
function already calculates fees at the time of the transaction, which is a one-time operation and not subject to changes in fees during an auction's lifecycle. This immediate fee deduction upon purchase should be mirrored in the auction settlement process to ensure consistency.