eth-phishing-detect icon indicating copy to clipboard operation
eth-phishing-detect copied to clipboard

Feature - Add logic to allow-on-list, detect, and block IPFS cIDs

Open 409H opened this issue 9 months ago • 2 comments

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.

409H avatar May 08 '24 18:05 409H