Skip to content
Business logic Audit finding Intermediate

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.

danvinci_20 Follow

Originally disclosed on Immunefi

Informational View original
  • 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

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.

Solidity
// 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:

  1. Malicious Agent make request for requestReturnFromCoreVault()
  2. Agent's request was granted by the CoreVault.
  3. Agent does not call confirmReturnFromCoreVault().
  4. Redemption ticket is not issued; user cannot redeem.
  5. Funds remain in Underlying Address but no redemption tickets are generated.
  6. 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

The original report as published on Immunefi, by danvinci_20. Images and videos are our own copies; raw HTML is shown as text. View it on Immunefi.

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

  1. Malicious agent requests return from Core Vault.
  2. Core Vault grants the agent's request.
  3. Agent does not call confirmReturnFromCoreVault.
  4. Redemption ticket is not issued; user cannot redeem.
  5. Funds remain in underlying address but no redemption tickets are generated.
  6. 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.

More by danvinci_20

View all

22 more disclosed reports, best first.

More from Flare | FAssets

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.