Dashboard
Markets
Stake
Governance
Transparency
More
Connect
Connect
Details
HarryGasWallet
Forum Post: https://forum.inverse.finance/t/fix-wbtc-firm-price-feed-and-return-whitehatted-funds/556
Proposal 278 aimed to standardize the price feeds for WETH and WBTC by leveraging the ChainlinkBridgeAssetFeed logic.
Shortly after the proposal was executed, contributors identified an error in the tokenDecimals parameter for WBTC that caused the FiRM oracle to underprice WBTC significantly. Three users with open debt positions in the WBTC market were affected. In response, a proactive whitehat intervention was carried out by TWG in the amount of 5.68 WBTC to secure the at-risk funds.
The tokenDecimals value for WBTC was incorrectly set to 18, the standard for most ERC20 tokens used in FiRM. However, WBTC is a non-standard ERC20 with 8 decimals. This misconfiguration caused the price feed to understate WBTC’s value in DOLA terms by a factor of 10¹⁰.
This incident is a reminder that even with thorough contributor diligence and proof-of-review processes, human error remains a risk and requires stronger automated validation tools and more structured “sanity checks” in the short term, while minimizing direct human intervention in critical parameter settings in the long term.
Further improvements to the pre-proposal internal review processes include:
A new Proof-of-Review (PoR) system is being introduced that will incorporate sanity check hooks, and fork testing (depending on the proposal type). These could include verifying that the Oracle and BorrowController are the latest versions, confirming that the price moves correctly with the underlying oracle feeds, and ensuring that the price, liquidation parameters, and minimum debt parameter are all within reasonable bounds. This new PoR system will require UI-enforced sign-offs from a member of the Risk Working Group, the Product Working Group involved in contract deployment, and a governance delegate. Any proposal that could impact user funds will have to pass these new formalized checkpoints before they can be submitted.
We recognize that UI elements on our governance site intended to make proposal on-chain action setting and reading more human-friendly can give reviewers false confidence. The Risk and Product Working Group will work closely to introduce explicit warnings and parameter previews for on-chain proposals, tying in the PoR system and making discrepancies more obvious at the point of review. One example includes a UI preview for FiRM-related proposals that displays post-simulation positions and market data.
In future iterations of FiRM, governance-controlled price feed updates and other sensitive parameter changes will be restricted or gated by contract-level sanity checks. These restrictions will reject extreme or suspicious values automatically, reducing the probability of human error affecting live markets.
Since 100% of the at-risk funds were successfully secured through whitehat efforts, all three impacted users can be fully restored to their pre-incident state once the feed is corrected.
The following actions will resolve the issue:
These steps will fully restore user balances and ensure the WBTC market is functioning correctly.
UI Sim screenshot of the above actions executed:
Members allowed to make Drafts can sign the fact that they reviewed the Draft Proposal
Loading...
Subscribe to Our Newsletter
Join thousands of subscribers in receiving weekly updates about Inverse products, partnerships, and early-bird news shared only with subscribers!