Socket
Socket
Sign inDemoInstall

eth-phishing-detect

Package Overview
Dependencies
Maintainers
7
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eth-phishing-detect - npm Package Compare versions

Comparing version 1.1.15 to 1.1.16

src/fuzzylist.md

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc