Misleading definition in Core-Vault documentation (“CV operators submit proof”)
The Core-Vault documentation says operators submit the payment proof to the asset manager, but the contract restricts the confirmation function to the agent-vault owner. This is a documentation inconsistency rather than an exploitable vulnerability, so no attacker action is described.
- Disclosed after under an hour
#46241 [SC-Insight] Misleading definition in Core-Vault documentation (“CV operators submit proof”)
Submitted on May 27th 2025 at 07:10:26 UTC by @Paludo0x for Audit Comp | Flare | FAssets
- Report ID: #46241
- Report Type: Smart Contract
- Report severity: Insight
- Target: https://github.com/flare-foundation/fassets/blob/main/contracts/assetManager/facets/CoreVaultFacet.sol
- Impacts:
Description
The code restricts confirmReturnFromCoreVault to onlyAgentVaultOwner, yet the docs say Core-Vault operators “CV operators execute the transfer and submit proof of payment to the asset manager.” This is reported here: https://dev.flare.network/fassets/core-vault#request-for-return-agents-only
Operators only generate the FDC proof; the on-chain submission must be performed by the agent (vault owner). Recommend clarifying the docs accordingly.
Proof of Concept
Proof of Concept
The contract function can only be executed by the agent-vault owner (enforced by onlyAgentVaultOwner).
function confirmReturnFromCoreVault(IPayment.Proof calldata _payment, address _agentVault)
external
onlyAgentVaultOwner(_agentVault)
{ … }
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
Likely the documentation was written without matching the access restriction in the contract, so it describes the wrong party as submitting the proof.
Impact
No security impact is demonstrated; the issue is a misleading description that could confuse integrators about who must submit the proof.
What the attacker needed
None
The fix
The documentation should be updated to state that the agent (vault owner) submits the proof on-chain, while operators only generate it.
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.
A smart contract is code on a blockchain that runs automatically. One function that confirms a payment back from a vault can only be called by the vault's owner, but the public documentation says a different party (the operator) does this step. The report asks for the wording to be corrected; it does not show anyone losing money or breaking in.