eth-phishing-detect
eth-phishing-detect copied to clipboard
Feature - Add logic to allow-on-list, detect, and block IPFS cIDs
This allows us to push IPFS cIDs to the blocklist and have them blocked by the eth-phishing-detect service. We only need to note the CIDs and not block the gateways.
Related issue: https://github.com/MetaMask/eth-phishing-detect/issues/19532
Note: This requires a change to either setupProviderConnection
for origin
value to include the URL paths or isOnPhishingList()
to not use origin
value and instead pass the full URL into the check due to some IPFS gateways to have the CID in a subdomain and some gateways have the CID in the path.