ADVERTISEMENT

Report: how cybercriminals abuse API keys to steal millions

crypto apis abused by criminals
Edvardas Mikalauskas
Edvardas Mikalauskas Senior Researcher
May 21, 2021 Updated: 28 April 2025 7 min read
Apparently, there’s an emerging criminal business model, with 'experienced trader’ teams offering to ‘clear out’ crypto exchange accounts by exploiting stolen API keys.

How cybercriminals abuse stolen API keys

  • Data permissions allow APIs to read your exchange account data, including open orders, balances, and trade history, without making any changes to your account.
  • Trade permissions allow APIs to execute trades, place open orders, and close orders on your behalf.
  • A withdrawal permission allows APIs to withdraw cryptocurrencies from your exchange account and transfer them to another location. With this permission enabled, an app would be able to move your funds to another wallet without your say-so.
An example of an API key exploit service ad on a hacker forum
Were criminals able to withdraw funds without withdrawal rights?

Buying ‘sell walls’

‘sell wall’ technique
ADVERTISEMENT

Price boosting

scheme about price boosting via stolen API keys

How cybercriminals obtain stolen API keys

leaked API keys in public code repositories
The overall net worth of exchange accounts that had their API keys exposed on public code repositories was more than $1,000,000 in cryptocurrency.
publicly committed source code of a cryptocurrency trading bot

How to protect your API keys

  • Whitelist your IP address. Major cryptocurrency exchanges allow whitelisting IP addresses for API key usage. Enabling this feature will stop most criminals from trading away your balance, as long as they don’t have access to your trading bot control panel.
  • Treat your API keys as the private key of your cryptocurrency wallet. Namely, don’t store them on your hard drive and do not disclose them to anyone. If your API keys get into someone else’s hands - your money is as good as stolen.

Build your secure personal and business online presence

ADVERTISEMENT