Giter Club home page Giter Club logo

etheraddresslookup's Introduction

EtherAddressLookup

Automatically adds links to strings that look like Ethereum addresses so you can quickly look them up on your favourite block explorer.

Prevents you from interacting with known phishing domains by wiping the DOM and displaying text notifying you.

The blacklists found in this repo serve both the EAL Chrome Extension & MetaMask Chrome Extension. We use a Levenshtein distance algoritm to detect similar URLs, so if you encounter an errounously-blocked website, please add it to the whitelist.

Announcement Post: http://harrydenley.com/ethaddresslookup-chrome-extension-release/

Ether/ERC20 donation address: 0x661b5dc032bedb210f225df4b1aa2bdd669b38bc

Installations

Chrome & Firefox Extension

The master branch is bundled on every release and pushed to the Chrome & Firefox Extension store, you can view/download it here: https://chrome.google.com/webstore/detail/etheraddresslookup/pdknmigbbbhmllnmgdfalmedcmcefdfn for Chrome, and https://addons.mozilla.org/en-US/firefox/addon/etheraddresslookup/ for Firefox.

(Note that this will have automatic updates)

Manual Installation

Chrome

  • Clone/download the repo.
  • Go to chrome://extensions in Chrome
  • Turn on developer mode.
  • Load the manifest.json file by dragging and dropping.

Firefox

  • Clone/download the repo.
  • Go to about:debugging in Firefox
  • Click "Load Temporary Add-on"
  • Browse to the downloaded repo, and double click manifest.json

(Note that this will not have automatic updates)

Found a Phishing URL? Is your website getting erroneously blocked? You have the power to fix it, not just talk about it!

As a community resource, everyone is encouraged to make a PR to add or update these lists. This process is far easier than you might imagine!

  1. If you do not already have a Github account, sign up. (it's free and easy!)
  2. Navigate to the file you would like to make the adjustment to by clicking it's name.
    • If a site is erroneously blacklisted you will likely want to add it to the whitelist. It probably isn't on the blacklist and got caught due to Levenstein distance algoritm.
    • If you see a scam website being passed around that isn't blockced, please add it to the blackliast.
  3. Click the pencil icon in upper right.
  4. Type "yourdomain.com", on line #2 (right below the first [)
  5. Type "www.yourdomain.com", on line #3
  6. Scroll to the bottom. under "Commit changes" enter a reason you are making this change.
    • Example: "Adding myetherscam.com to blacklist. See [link to tweet / reddit post / screenshot]."
    • You can also provide more details in the box below. Please provide as much detail / evidence as reasonable so reviewers can verify quickly.
  7. Click the green "Propose File change" button.
  8. This next page is a review of what you did. Proofread and stuff.
  9. Click the "Create Pull Request" button.....twice.
  10. That's it. You successfully made a new pull request and helped make the world a better place! Tell all your friends.

Blacklisted Domains

The blacklist can only be updated by myself (@409H) and MyEtherWallet (@tayvano). This is a to prevent anyone from modifying the blacklist (ie: removing something). To request a change to the blacklist, please open an issue or open a pull request with the changes. Make sure you give some details on why the changes are needed.

Whitelisted Domains

The whitelist can only be updated by myself (@409H) and MyCrypto (@tayvano). The whitelist will prevent any false-positives from happening with the Levenshtein algo (special thanks to @sogoiii). If you find a domain that is wrongly blacklisted, then please open an issue or open a pull request with the changes.

Special Thanks

  • Thanks to the team at MyCrypto for helping keep the domain blacklist up-to-date!
  • Thanks to the team at Cryptominded for the store graphics!
  • Thanks to MrLuit for providing https://etherscamdb.info and the report domain functionality (v1.5)
  • Thanks to Samyoul for continued support and development!
  • To everyone who reports bad domains to us through the various channels!
  • Thanks to danielkmakcom from ChronoLogicETH for doing the label functionality (v1.17)!
  • Thanks to CryptoInfl for providing a whitelist of Twitter handles (v1.18)!

Changelog

Read the changelog on my blog.

etheraddresslookup's People

Contributors

0xnpe avatar 409h avatar akuka avatar blurpesec avatar canya-io avatar danfinlay avatar deifos avatar e00dan avatar flyswatter avatar gamalielhere avatar hadojae avatar hristochr avatar jacekn avatar jcooter avatar joeyurgz avatar johnstonr04 avatar jyap808 avatar kvhnuke avatar makemoneyoz avatar mrluit avatar s0dium avatar samyoul avatar segasecbot avatar sekisanchi avatar sogoiii avatar tayvano avatar timocapa avatar wabieth avatar wchuan11 avatar wtzb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

etheraddresslookup's Issues

please remove ethermine.org from blacklist

ethermine.org is giving me the metamask blacklist error page - just started happening 20 minutes ago.... what's the deal? I can't check my mining dashboard anymore.

ethermine.org is a legit website, has it been hacked or something?

Magnet link problem

Hey, just found an unpleasant bug — EtherAddressLookup highlights torrent magnet link as Ether address. You could check here.

image

Scam Address

Hey Harry,

As discussed, here is some more info about the scamming address, who is impersonating our ICO.

Here are a list of the fake sites:
iconexus.tk
iconexus.ml
iconexus.ga
iconexus.cf

If you require any information about our ICO (real address, real domain, etc), please do not hesitate to ask me.

Thanks.

Choose your preferred block explorer

We need to add logic to choose from a preset of block explorers in a dropdown as right now it defaults to etherscan.io and people have other favourites.

EtherBTC.io blacklisted as a phishing site is error

For some reason, http://etherbtc.io, a website providing time sensitive information about the EtherBTC (ETHB) initial coin offering, is listed as a "known phishing site." It is not a phishing site at all. The only information we are requesting when someone is registering for our ICO is their name, email address, and their "wallet address," AKA their "account address," starting with 0x, which we need in order to send them free ETHB for registering and setting up their MyEtherWallet.

We'd greatly appreciate it if you would remove http://etherbtc.io from your blacklist and instead, add it to your whitelist so anyone running metamask is not scared away from registering for our ICO which takes place in 9 days. Thank you for promptly making this change.

ENS .eth domain lookup

Following on from issue #136 we need to implement an ENS domain lookup in the same fashion as standard Ethereum address lookup works.

Very much I ask you to help !!!

Hello!
Very much I ask you to help with the resolution of the arisen problem!
I registered on the ICON website and September 20 took part in the pre-sale of coins, transferring 4.98 Ether from the purse 0xC4841948e38d180F77e0292f0137CC866d5F090f (MyEtherWallet) and received 12450 coins. The wallet is available at: https://www.myetherwallet.com
Literally the next day I went to the hospital, where I lay for a whole month - they discovered oncology. While lying in the hospital I remembered that on September 20, by the evening I decided to check the receipt of coins into the account and saw a message in the Slack (the link on which was located on the ICON website and has now been changed to the Telegram), allegedly from the ICON site, that there were some difficulties with transferring coins and all are asked to come urgently and check their wallets. Next, there was a link to the purse site CORRECT !!! I was frightened and hurried to go to the link by entering a file and password. And only then I saw that the site address is not quite correct: http://myethereumwalletntw.com/
I immediately left this site, but in the hospital remembering about this case and reading on the Internet, I realized that I got on a spy site and entered there a file and a password. And so they now have 99.9% of my file and password from the wallet. Then I found on the Internet that the site was found to be fake and blocked from 27.09.2017. ((((((
myethereumwalletntw.com
Archive History Share
URL: http://myethereumwalletntw.com/
Category: Phishing - MyEtherWallet
Status: Offline (September 27th, 2017, 19:09:27 UTC)
IP: 5.230.195.199
EtherAddressLookup: Blocked
Google Safe Browsing: Blocked
Nameservers:
ns200.01isp.com
ns201.01isp.net

I immediately took out the remnants of Ether from my wallet, transferred the remainders from the miner pool and immediately led them to another purse (now on the account of 0,009 Ether), but I can not withdraw the coins yet !!! And now I'm very much afraid that when the coins are unfrozen, I will not have time to dispose of them and they will be stolen!
They have a file and password from the wallet, but only ICON can link the purse address to my login (email) and password. Can there be any way out of this situation, so I do not lose tokens ?? Help and advise please !!!! For me it is very significant money, especially in this health situation.
I will send and photos and documents for ICON (when the process begins - I can send for earlier as an option) - I'll pass the test. What should I do after this? How to secure coins in your wallet and not let them go to scammers?
On the Internet and the answers to the questions I read that everything in the wallet takes place in the client's browser and you can not change the file and password. But if everything happens on my side, then the password entered when creating a purse in some directory is stored on my computer and theoretically I can change it. It is inextricably linked with the file (which can not be changed, as I understand it) and if it is possible to change the password, scammers will not be able to enter. And I can with a secret key. Can there be some kind of robot program that can transfer tokens to another address as soon as they are thawed? Maybe all the same there are at least some options, because I understood everything in time and so far nothing happened ??? !!!
Once again I very much ask for help!
Sincerely, Nikolay Makarov (Russia, Nizhny Novgorod) -- [email protected]

Show address stats

Add logic that can be toggled so the user can see quick stats on the Ethereum address (ie: available balance, number of transactions).

Bookmarks

Modify the view to have trusted bookmarks to various sites (myetherwallet, etherscan, ethplorer, etherchain, r/ethereum, r/ethtrader). These should be icons that you can click on.

I discovered loads of people on reddit and twitter were using links or manually typing (and if there was a link, they'd click it) to go to MyEtherWallet, which caused the phishing campaigns to be really effective. If the extension has an icon straight to MyEtherWallet, hopefully it helps them use that instead of relying on a link from someone.

The circles being the sites favicon

image

Please vote in the below poll by clicking the option (POLL ENDED):
image

I'll aggregate the poll results on July 14, 2017. Depending on the result, it will be implemented or not. If the results favour "impartial", then I'll leave the feature out but keep an open discussion on GitHub.

Hopefully this will help users by using bookmarks instead of links.

Zero Width Character Attack Vector

The Problem

There seems to be a new way of phishing on the Ethereum network. After reading this article there may be a need to address the issue of scammers stealing ether by giving fake .eth addresses.

https://medium.com/@enslisting.com/dealing-with-ens-names-beware-of-this-phishing-attack-6936f6b8b9e4


Proposed Solution

Add a new function for detecting .eth ENS addresses, and another for detecting zero width character in the eth ENS address. Something like :

//Finds ENS addresses
getENSAddresses()
{
	var arrWhitelistedTags = new Array("code", "span", "p", "td", "li", "em", "i", "b", "strong", "small");
	var strRegex = /(^|\s|:|-)(\S+(?:\.eth))(?:\s|$)/gi;
	var output = [];

	//Get the whitelisted nodes
	for(var i=0; i<arrWhitelistedTags.length; i++) {
		var objNodes = document.getElementsByTagName(arrWhitelistedTags[i]);
		//Loop through the whitelisted content
		for(var x=0; x<objNodes.length; x++) {
			var strContent = objNodes[x].innerHTML;
			
			//Look for ENS address patterns
			if( strRegex.exec(strContent) !== null) {
				
				var ENSAddresses = getMatches(strContent, strRegex);
				//Check is any of the ENS matches have ZWCs
				for(var y=0; y<ENSAddresses.length; y++){
					if(hasZeroWidthCharacters(ENSAddresses[y])){
						// Code to warn the user that they may be getting phished
					}
					else{
						// Code to replace ENS address with a link
					}
				}

			}
		}
	}
}

//Detect Zero Width Characters
hasZeroWidthCharacters(input)
{
	var startLength = input.length;
	var zeroWidthChars = "\u200B|\u200C|\u200D|\uFEFF|\u2028|\u2029";
	var re = new RegExp(zeroWidthChars);

	var result = input.replace(re, '');

	return (startLength > result.length);
}

//Get RegEx matches
function getMatches(string, regex, index) {
	index || (index = 0); // default to the 0th capturing group
	var matches = [];
	var match;
	while (match = regex.exec(string)) {
		matches.push(match[index]);
	}
	return matches;
}

This change should probably be made to the https://github.com/409H/EtherAddressLookup/blob/master/js/DomManipulator.js JS.


I think the important thing to do is to warn the user that the address is potentially dodgy, it may not be, but using ZWCs in your .eth address is a good sign you are trying to pretend to be someone you are not. Perhaps ENS will address this with the next version release, but until then the vulnerability will be there.

Do you agree with this approach? If so I'll code the rest of the functionality and open a pull request.

hitBTC issues

Hi - I had to disable this extension! It was clobbering the Accounts page in hitBTC. Any zeros in the Trading and On Ordes columns were converted to '-', and the Fund/Withdraw buttons wouldn't respond at all - all kind of important stuff given the site! - source

https://myzenwallet.io/

myzenwallet is a wallet for different cryptocurrency ZenCash. It's a totally legit online wallet very much alike to myetherwallet (well essentially it IS myetherwallet for ZenCash) and a very real cryptocurrency. It should be whitelisted.

Phishing on https://ethermine.org/ ???

Metamask is preventing me from entering my miner pool stats at:
https://ethermine.org/miners/

MetaMask has detected this domain to have malicious intent and has prevented you from interacting with it.

This is because the site was listed on the EtherAddressLookup malicious site blacklist.

You can turn MetaMask off to interact with this site, but it's advised not to. We blacklisted it for a reason.

Is this site harmfull?

The 'warning' page doesn't load consistently.

I've tried 10 malicious urls listed in the blacklist database and often had the 'warning screen' not trigger and was able to navigate the fake website freely. As I'm not technical, not sure what could cause this, however you may want to look into it.

domain 'm.famalk.net' is not blacklist

I am owner of m.famtalk.net domain.
I'm software developer and have been providing the Famtalk service (another name is MoMo).
The Famtalk service is a SNS service for users to generate meetings, share it via another SNS and check attendants.

Why is this domain added to blacklist ???

Unit Tests

Possibly using Mocha and Chai. This is a big issue I know, but if we maybe take one js file at a time it'll break up the work load into manageable chunks.

Highlight Matches option is highlighting on Etherscan itself

When "Highlight Matches" is enabled and "Preferred Blockchain Explorer" is set to "Etherscan.io" Ethereum addresses on Etherscan itself are highlighted, and clicking opens the link in a new tab/window. It would make more sense that when on Etherscan itself the addresses should not be highlighted but instead use Etherscans own linking (which doesn't open a new tab/window).

I have only tested this for Etherscan.io but suspect it may be similar for the other options in "Preferred Blockchain Explorer" as well.

Levenshtein distance on MEW

Implement a Levenshtein distance algorithm to detect similar hostnames to that of myetherwallet.com.

https://en.wikipedia.org/wiki/Levenshtein_distance

This should help detect against myet.herwallet.com and myeth.erwallet.com type of impersonations.

To discuss

  • An acceptable edit distance
  • If there is >= x edit distance, should we disable interaction with the domain or just show a warning?

cc: @tayvano

Add report link feature

It's unclear to me how I can report a link. Now, I know I could technically do a pull request and all that, but I would have to figure out how to do that first -- let alone other beginners/non-devs.

Is it possible to add a report feature to the tool for malicious URLs? I'd be happy to function as reviewer.

Conflict with MEW Contract manager

With EAL active a user is not able to select from the existing contract list.

myetherwallet com

With EAL deactivated MEW works as expected.

myetherwallet com 1
myetherwallet com 2

@409H Are you able to replicate this?

Add label to address

Add logic that allows the user to add a label to an address - this can either be shown next to the address or on hover of the address.

buenas saludos

no existe ningun dominio malicioso por favor mis disculpas

Ethermine.org

Are we to believe this large pool is malicious? PLEASE tell me this is an error and they will be whitelisted from now on. Ready to switch pools ASAP if sufficient evidence is produced that I should not be mining with them.

Thank you
Robert

Firefox version

Port EAL to support Firefox to be loaded as an extension.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.