Crypto Traders, You Are So Close to Losing Your Crypto (and How to Fix It in a Minute)

The cryptocurrency trend is conquering the world with Bitcoin recently hitting the enormous value of $56,000, and the market cap exceeding $1 trillion.

Many people joined the party lately and that resulted in an influx of users joining exchanges such as, Coinbase, Kraken etcetera.

Depositing to an Exchange (and the Risks)

You head over to the Deposit feature on Binance (or any exchange for that matter), choose “BTC” and are ready to make the transaction.

You are now presented with a Bitcoin wallet address — you’ll need to send the funds to this address:

BTC address as shown in the “deposit” tab

You go ahead, copy the address and send your Bitcoin there. It usually takes a few minutes, so you wait. You wait a little longer. Nothing happens. You panic. You panic a bit more. Rightfully so, you just lost your Bitcoin.

Address Spoofing — How It Works

Blame your Chrome Extensions

Chrome Extensions inject JavaScript code into your browser, and does magic with it (for example, hiding annoying ads).

That means, a Chrome Extension running on your browser could inject code into Binance that replaces the wallet address in that particular deposit view. This is incredibly easy, and you didn’t even know it happened.

A harmless Chrome Extension

How would such extension work?

Here is what my script does:

  1. Waits for the Binance Crypto Deposit screen to load (“…/…/…/deposit/crypto/BTC”)
  2. Extracts the “symbol” of the token from the address (note the “BTC” at the end).
  3. Maps the token to a list of pre-defined wallet addresses, to find a matching wallet.
  4. Once the page has loaded, and the real wallet address has been rendered on the screen, the script will replace the text with the hijacker’s wallet address.

Will this work on any exchange?

The Solution

Most of the time, it won’t even be the extension maintainer’s fault — they could have been victims of hacking and therefore such code could be injected into their extension logic unintentionally.

What you can do, however, is set up a distinct profile in Google Chrome. Each profile has a fresh set of configuration, and the extensions are not shared between profiles.

Create a new profile and do not install any extensions on it. This is the profile you are going to use when dealing with your Crypto from now on. It does not matter whether you are dealing with cryptocurrencies, online banking or stock trading. This is a simple step you can take right now, to protect your assets.

How do I create a new profile?

Viola, you just got yourself a fresh profile without any extensions on it. You can use the same “People” menu to switch between profiles.

Chrome “People” menu

About me 👨🏻‍💻

Wanna thank me?

BTC: bc1qjcg77ys0wd4kt87qwg4q7xhszjd3x88jwvqzr7
ETH: 0xDee75be41927E854f13Ac680aCCA01148B260A45
ADA: addr1qypktjzshwqls6lmq4uum6qa3hjkmvmrtfxzyeknnttzr20c4w8zdjyy32yk3c8x2q9xywnm3qz00t26d8r50x7j9zcqmlkvk4


Passionate about education in Software Engineering. Bestselling Udemy instructor. Self-taught Software Engineer and Engineering Manager.