Redemption Blocked if Agent Refuses to Confirm Core Vault Payment
The redemption process requires the agent to confirm inbound payments to the Core Vault, and if the agent refuses or is offline, users cannot redeem their F-assets even after paying. An attacker (agent) can block redemptions indefinitely without penalty.
Originally disclosed on Immunefi
- Disclosed after under an hour
#46198 [SC-Insight] Redemption Blocked if Agent Refuses to Confirm Core Vault Payment
Submitted on May 26th 2025 at 10:21:32 UTC by @danvinci_20 for Audit Comp | Flare | FAssets
- Report ID: #46198
- Report Type: Smart Contract
- Report severity: Insight
- Target: https://github.com/flare-foundation/fassets/blob/main/contracts/assetManager/facets/CoreVaultFacet.sol
- Impacts:
- Protocol insolvency
Description
Description
The redemption flow relies on the agent to confirm inbound payments to the Core Vault via the confirmReturnFromCoreVault() function. Until this confirmation is made, redemption tickets are not issued, and collateral remains reserved.
This creates a critical dependency on agent cooperation for users to redeem their F-assets. If an agent is offline, unresponsive, or deliberately avoids confirming, users are indefinitely blocked from redeeming—even after fully paying into the Core Vault.
This is an attack vector where an agent can block redemptions without any penalty or loss. If the underlying asset becomes more valuable or scarce, the agent has an incentive to delay or avoid releasing it.
Since the confirmation is gated strictly behind an onlyAgentVaultOwner modifier, no other party can finalize the process.
// In CoreVaultFacet.sol
function confirmReturnFromCoreVault(
IPayment.Proof calldata _payment,
address _agentVault
)
external
nonReentrant
@>> onlyAgentVaultOwner(_agentVault)
{
Agent.State storage agent = Agent.get(_agentVault);
CoreVault.confirmReturnFromCoreVault(_payment, agent);
}
Impact Details
If the agent refuses to confirm a Core Vault payment, user redemptions are blocked indefinitely. This creates a single point of failure.
Recommendations
It's better to Leverage existing payment proof structures to permit anyone to confirm valid payments after a timeout.
Proof of Concept
Proof of Concept
Consider this scenario where by:
- Malicious Agent make request for
requestReturnFromCoreVault() - Agent's request was granted by the CoreVault.
- Agent does not call
confirmReturnFromCoreVault(). - Redemption ticket is not issued; user cannot redeem.
- Funds remain in Underlying Address but no redemption tickets are generated.
- User X wants to redeem,
10,000UBA amounts, but cannot due to insufficient redemption tickets
The agent faces no repercussions and may even benefit from delay
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
The confirmation function is restricted to the agent vault owner, so no one else can finalise the redemption if the agent does not act.
Impact
User redemptions are blocked indefinitely, creating a single point of failure and potential protocol insolvency.
What the attacker needed
Agent is malicious or offline; user has F-assets to redeem
The fix
The fix should allow anyone to confirm valid payments after a timeout, using existing payment proof structures.
How it was found
- Malicious agent requests return from Core Vault.
- Core Vault grants the agent's request.
- Agent does not call confirmReturnFromCoreVault.
- Redemption ticket is not issued; user cannot redeem.
- Funds remain in underlying address but no redemption tickets are generated.
- User cannot redeem due to insufficient redemption tickets.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
In this system, users can redeem their assets only after an agent (a trusted party) confirms that the payment was received. If the agent does not confirm, the user cannot get their assets back, even though they paid. This means a malicious agent can stop users from redeeming without any consequence.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.