Go to file
2017-08-04 16:10:14 -07:00
.circleci meta - add circleCI 2017-08-02 19:45:53 -07:00
src test - test against metamask phishing warning traffic data 2017-08-04 16:10:14 -07:00
test test - test against metamask phishing warning traffic data 2017-08-04 16:10:14 -07:00
.gitignore init commit 2017-08-02 18:56:16 -07:00
package.json test - test against metamask phishing warning traffic data 2017-08-04 16:10:14 -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,
}
*/