One of the key features of the RAAC protocol is the ability to mint your own real estate assets. This process is described in the documentation:
The user owns a property worth 10,000 crvUSD.
They provide the necessary collateral.
An NFT representing the property is minted (spending those 10,000 crvUSD).
The price of the real estate on-chain is determined through Chainlink oracles. When the price is fetched, it is set in the RAACHousePrice contract.
This process can be exploited through frontrunning when minting a property.
Alice owns a property worth 100,000 crvUSD.
The property gets listed as the price is fetched from the oracle.
Alice provides the necessary collateral.
Bob carefully monitors the mempool and notices Alice’s mint transaction.
Bob frontruns Alice by submitting his transaction first with the required collateral.
Bob successfully mints and takes ownership of Alice's estate within the protocol.
This vulnerability disrupts the intended process of tokenizing a user's own real estate, as the user no longer retains ownership after minting. Most users tokenize their property expecting future profitability.
The user incurs financial loss due to swap fees for the collateral. If the real estate is expensive, these fees can be significant.
If the property was expected to appreciate in value, the malicious actor (Bob) now benefits from this increase instead of the rightful owner.
Manual review
Make mapping that maps the estate owner to every tokenId
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.