The Standard

The Standard
DeFiHardhat
20,000 USDC
View results
Submission Details
Severity: low
Invalid

Missing access control for LiquidationPoolManager::runLiquidation()

Summary

The function LiquidationPoolManager::runLiquidation() doesn't have access controls which means anyone can call runLiquidation() anytime.
It has to have an owner or admin or manager control to run the said function as intended and not ruin the workings of the whole protocol.

Vulnerability Details

Looking at said function runLiquidation() anybody can pass a valid _tokenId and liquidate it anytime.

function runLiquidation(uint256 _tokenId) external {...}

Impact

It will ruin the mechanism of the liquidation system which is one of the core systems of the protocol.

Tools Used

Manual Review

Recommendations

Add onlyOwner modifier to the function.

Updates

Lead Judging Commences

hrishibhat Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Design choice
Assigned finding tags:

informational/invalid

Support

FAQs

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