Go to file
2018-09-22 15:36:58 +01:00
.circleci ci - attempt to fix CI test output 2017-08-29 09:43:18 -07:00
src update phishfort 2018-09-22 11:01:29 +02:00
test Changed MEW endpoints #2280 2018-08-23 22:38:04 +01:00
.gitignore init commit 2017-08-02 18:56:16 -07:00
LICENSE license - add license file and update license in package.json 2018-04-04 08:41:04 -07:00
package.json license - add license file and update license in package.json 2018-04-04 08:41:04 -07:00
README.md Merge branch 'master' of github.com:MetaMask/eth-phishing-detect 2017-08-03 15:56:42 -07:00

eth-phishing-detect

Greenkeeper badge

Utility for detecting phishing domains targeting Ethereum users.

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,
}
*/