eth-phishing-detect
Advanced tools
Comparing version 1.1.15 to 1.1.16
{ | ||
"name": "eth-phishing-detect", | ||
"version": "1.1.15", | ||
"version": "1.1.16", | ||
"description": "Utility for detecting phishing domains targeting Ethereum users", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -14,4 +14,8 @@ const levenshtein = require('fast-levenshtein') | ||
check (domain) { | ||
const source = domainToParts(domain) | ||
let fqdn = domain.substring(domain.length - 1) === "." | ||
? domain.slice(0, -1) | ||
: domain; | ||
const source = domainToParts(fqdn) | ||
// if source matches whitelist domain (or subdomain thereof), PASS | ||
@@ -18,0 +22,0 @@ const whitelistMatch = matchPartsAgainstList(source, this.whitelist) |
@@ -457,3 +457,2 @@ 127.0.0.1 localhost | ||
0.0.0.0 privatix.pro | ||
0.0.0.0 privatex.io | ||
0.0.0.0 stormtoken.cc | ||
@@ -1073,1 +1072,3 @@ 0.0.0.0 raiden.online | ||
0.0.0.0 curwe.fi | ||
0.0.0.0 boredapeyachtclub.app | ||
0.0.0.0 convexfinance.org |
@@ -54,2 +54,3 @@ const fs = require("fs") | ||
"etherclassicwallet.com", | ||
"wallet-ethereum.net." //Test for absolute fully-qualified domain name | ||
]) | ||
@@ -56,0 +57,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
800159
21
29892
0