58198 sc low broken two step admin transfer pattern
Description
Description
Vulnerable Code
function acceptAdminOwnership() external onlyAdmin { // Wrong modifier
admin = pendingAdmin;
pendingAdmin = address(0);
emit AdminChanged(admin);
}Impact
Recommendation
Proof of Concept
Proof of Concept
Previous57345 sc high missing cumulativeearmarked decrement in forcerepay breaks earmarking invariant leading to unfair redemption burden distributionNext58578 sc low zeroxswapverifier allows attackers to drain strategy tokens via crafted calldata
Was this helpful?