- metamask's eth-phishing-detect is installed as a git submodule
git clone gh-link --recurse-submodules
cargo build
- Optional. If you want to regenerate json files. This scans each url field and removes the protocol if it's detected by metamask eth-phishing-detect.
cd data
bun prepare-data.js > data.json
cargo run
This will print some data. This is specially marked data like urls with http scheme, and empty symbols ("-" or null). We ignore protocols with http urls. We keep symbol field empty if symbol is not present or is a placeholder value like "-".
Open localhost:8000
Enter query and see urls. Try: sushi; uniswap; crv; usdc; usdt.
- Data cleaning:
- 🛑 There are some phishing websites in data. Mark them with
"scam": true
. - Check all "http" urls for scamminess.
- Add a json field to mark if the websites have been compromised or if protocol is hacked.
- 🛑 There are some phishing websites in data. Mark them with
- Integrate phishing website collection from metamask: https://github.com/MetaMask/eth-phishing-detect/blob/main/src/config.json. Example: https://metamask.github.io/phishing-warning/v2.1.0/#hostname=cowswap.cash&href=https%3A%2F%2Fcowswap.cash%2F
- ❓Uniswap token list integration: Arbitrum file just have 2 tokens. https://github.com/Uniswap/default-token-list/tree/main/src/tokens