decision: the phishing blocklist URL embeds a competitor's org name, and its documented upstream no longer exists #219
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
BLOCKLIST_URLatsrc/shared/phishingDomains.js:17embeds a competitor's org name in the URL string.RULES.md:121bars competitor names in code and documentation, and says the code must change to match the rule. The same name appears in a comment attests/e2e/network.js:274.There is no drop-in replacement:
AugurProject/eth-phishing-detect, whichREADME.mdandLICENSE:685both cite as the source, returns 404 — that repo is gone. The competitor's org fork is the only live upstream, so the vendoredphishingBlocklist.jsoncan only have come from there. Established while correcting the README in #213, which removed the dead link but deliberately left the code and theLICENSEline alone.This is not the same question as the
isMetaMaskshim in #165: that one is a protocol identifier dApps feature-detect, whereas this is a hostname we choose to fetch from, and we could choose otherwise.Options
Recommendation
(a). A wallet's anti-phishing feed is security-relevant infrastructure, and fetching it from a competitor's repository means they can change what your users are warned about. The naming rule is the smaller reason to move it. If the hosting cost is unwanted, (b) is honest and defensible; (c) is not — it hides the fact rather than changing it.
Whichever you pick,
LICENSE:685needs its deadAugurProjectURL corrected in the same unit.Definition of done (once decided)
grep -rifor the competitor name across the repo returns only the deliberateisMetaMaskshim insrc/content/inpage.js, or documented exceptions.LICENSE:685no longer cites a URL that 404s.TODO.mdupdated in the same commit.make checkpasses.