49876 sc insight lack of refund on admin canceled spin requests leads to permanent loss of funds
Description
Brief/Intro
Vulnerability Details
function startSpin() external payable {
require(msg.value == spinPrice, "Incorrect spin price sent");
...
isSpinPending[msg.sender] = true;
uint256 nonce = supraRouter.generateRequest(...);
userNonce[nonce] = msg.sender;
pendingNonce[msg.sender] = nonce;
}Impact Details
Mitigation
Proof of Concept
Recommendation summary
Previous50433 sc high validator list griefing unrestricted stakeonbehalf allows user asset freeze permanentlyNext50428 sc medium reverting on callback increases chances of winning
Was this helpful?