← Back to home

ApeSafe

Prevent DNS highjacking hacks when swaping tokens on Uniswap, Curve, Yearn, AAVE, mev.io and more!

Screenshots

ApeSafe screenshot 1
ApeSafe screenshot 2
ApeSafe screenshot 3

Problem Statement

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.

Solution

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.

Hackathon

ETHGlobal Istanbul

2024

Contributors