The StabilityBranch::fulfillSwap
function accepts arbitrary priceData
from keepers without validating price freshness or source, enabling theft of vault assets.
Affected Code:
Exploit Scenario:
Keeper submits a stale high price for a collateral asset.
getAmountOfAssetOut
calculates inflated asset amounts.
Keeper steals excess assets from the vault.
Direct Fund Loss: 20-100% of vault assets.
Severity: Critical (CVSS 9.1).
Foundry fork testing with manipulated oracles.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.