Prevent DNS highjacking hacks when swaping tokens on Uniswap, Curve, Yearn, AAVE, mev.io and more!
It is common for dapps to be perfectly secure yet they can still get their DNS hijacked by their provider, making user send funds to an exploiter contract.ApeSafe checks that the contract address is listed on the project github, it also gives useful information such as the contract name and the project name and date of deployment.
This project uses Metamask Snaps with the OnTransactionHandler, Infura and etherscan to get contract informations and display it to the user. The code includes the list of contracts of some of the biggest defi projects (uniswap, curve, yearn and aave) and makes sure the address of the contract being called matches with the list of official contract addresses of the project.