You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
5 days ago | |
---|---|---|
.github | 4 weeks ago | |
doc | 1 year ago | |
example | 4 weeks ago | |
src | 5 days ago | |
test | 4 weeks ago | |
.editorconfig | 2 years ago | |
.gitattributes | 2 years ago | |
.gitignore | 2 years ago | |
.nvmrc | 5 months ago | |
LICENSE | 5 years ago | |
README.md | 4 weeks ago | |
index.html | 4 years ago | |
package.json | 4 weeks ago | |
yarn.lock | 4 weeks ago |
README.md
eth-phishing-detect
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