#45910 [SC-Medium] Changing collateral ratio makes Agents prone to liquidation
Description
Brief/Intro
Vulnerability Details
function setCollateralRatiosForToken(
CollateralType.Class _collateralClass,
IERC20 _token,
uint256 _minCollateralRatioBIPS,
uint256 _ccbMinCollateralRatioBIPS,
uint256 _safetyMinCollateralRatioBIPS
)
external
onlyAssetManagerController
{
CollateralTypes.setCollateralRatios(_collateralClass, _token,
_minCollateralRatioBIPS, _ccbMinCollateralRatioBIPS, _safetyMinCollateralRatioBIPS);
}Impact Details
References
Proof of Concept
Proof of Concept
Previous#45904 [SC-High] Malicious agent can forge a non-payment proof despite user's valid payment and fraudulently trigger `mintingPaymentDefault`Next#45943 [SC-Low] rejectInvalidRedemption fee is not awarded to agent, resulting in stuck or misallocated funds
Was this helpful?