Skip to content
docs

PhishingList

Defined in: phishing.ts:10

Phishing / impersonation checks on a page’s host, against a SHIPPED list (never fetched at runtime — decision 10). The list format is MetaMask’s eth-phishing-detect config.json: blacklist / whitelist (hosts; a listed domain covers its subdomains), fuzzylist + tolerance (well-known hosts a lookalike is measured against by Levenshtein distance). On top: punycode (xn--) labels are flagged, because mixed-script lookalikes are the common impersonation shape.

blacklist: readonly string[]

Defined in: phishing.ts:13


optional extraFuzzylist?: readonly string[]

Defined in: phishing.ts:17

The wallet’s own additions to the fuzzylist (the big dApps our users visit): same semantics.


optional fuzzylist?: readonly string[]

Defined in: phishing.ts:15


optional tolerance?: number

Defined in: phishing.ts:12


optional version?: number

Defined in: phishing.ts:11


optional whitelist?: readonly string[]

Defined in: phishing.ts:14