#46311 [SC-Insight] Unbacked Redemptions Due to Donation- Attack on CoreVault Can Freeze Agent Collateral
Description
Brief/Intro
Vulnerability Details
if (!confirmedPayments[_proof.data.requestBody.transactionId]) {
uint128 receivedAmount = uint128(uint256(_proof.data.responseBody.receivedAmount));
confirmedPayments[_proof.data.requestBody.transactionId] = true;
availableFunds += receivedAmount;
emit PaymentConfirmed(...);
}Impact Details
Recommendation
References
Proof of Concept
Proof of Concept
Previous#46282 [SC-High] Wrong implementation of `payout` would lead to loss of fee share of `AgentVault`Next#46320 [SC-Low] Executor fee will be stuck in the contract when rejectInvalidRedemption is called
Was this helpful?