DeFiFoundry
20,000 USDC
View results
Submission Details
Severity: high
Invalid

`auctionEnd::FjordAuction` lacks proper access control mechanisms

Summary

Auction Creator: Only the owner of the AuctionFactory contract can create an auction and offer a valid project token earn by a "Fjord LBP event" as an auctionToken to bid on.

so only the admin should be able to end the Auction.

function auctionEnd() external {

https://github.com/Cyfrin/2024-08-fjord/blob/0312fa9dca29fa7ed9fc432fdcd05545b736575d/src/FjordAuction.sol#L181

Impact

a malicious user can call the AuctionEnd function

Recommendations

use access control for the AuctionEnd function

Updates

Lead Judging Commences

inallhonesty Lead Judge 10 months ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.