Skip to content

Utility for detecting phishing domains targeting Ethereum users

License

Notifications You must be signed in to change notification settings

pxrl/eth-phishing-detect

This branch is 107265 commits behind MetaMask/eth-phishing-detect:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8a0e731 · Jan 5, 2023
Nov 17, 2022
Mar 23, 2022
Mar 14, 2022
Jan 5, 2023
Nov 29, 2022
May 27, 2021
May 27, 2021
Nov 9, 2020
Nov 2, 2022
Apr 4, 2018
Dec 7, 2022
Nov 10, 2018
Dec 7, 2022
Dec 8, 2022

Repository files navigation

eth-phishing-detect

Greenkeeper badge

Utility for detecting phishing domains targeting Ethereum users.

For checking why a given domain was blocked, try our interactive page here

Blocking Policy

We are constantly evolving the ideal policy that guides this list, but a few clearly defined rules have emerged. We will be quick and decisive to block websites that:

  • Impersonate other known and established sites.
  • Use their interfaces to collect user signing keys (especially cryptocurrency keys) and send them back to home servers.

There are other grounds for blocking, and we will ultimately do our best to keep our users safe.

basic usage

const checkForPhishing = require('eth-phishing-detect')

const value = checkForPhishing('etherclassicwallet.com')
console.log(value) // true

advanced usage

const PhishingDetector = require('eth-phishing-detect/src/detector')

const detector = new PhishingDetector({ whitelist, blacklist, fuzzylist, tolerance })
const value = detector.check('etherclassicwallet.com')
console.log(value)
/*
{
  type: "blacklist",
  result: true,
}
*/

Contributions

To keep a tidy file, use the following CLI to make changes to the list:

Adding hosts to blocklist

yarn add:blocklist crypto-phishing-site.tld

Adding hosts to allowlist

yarn add:allowlist crypto-phishing-site.tld

About

Utility for detecting phishing domains targeting Ethereum users

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.9%
  • HTML 0.1%