3Commas API key leak (2022): what happened and how to check your keys
API key safety checklist › incident lessons
What happened (verified timeline)
On 28 December 2022, a post on Pastebin (later taken down) claimed that a hacker had obtained API data stored in 3Commas' database. In its official notice, 3Commas said it first learned of the incident from that same public post.
3Commas confirmed that some users' API keys, secrets and passphrases had been disclosed by a third party, and that — to its knowledge at the time — only API data were disclosed. It warned that attackers might connect exchange accounts or initiate unauthorized trades.
In a follow-up FAQ (1 January 2023), 3Commas wrote that bad actors had posted sample files containing about 100k customers' API keys, and that at least 100k Binance and KuCoin API keys and secrets were exposed. Based on the sample data, it believed the intrusion occurred in an October/November 2022 timeframe.
The company said it asked Binance, KuCoin and other supported exchanges to revoke keys connected to 3Commas, and urged every user to reissue API keys. It also acknowledged that earlier public messaging had pointed to phishing or malware, and that those earlier assumptions were wrong once database exposure became evident.
The public post alleged insider involvement. 3Commas stated it found no evidence in its internal investigation that an employee was involved; that allegation remains unverified either way on this page. CoinDesk separately reported on the leak and on law-enforcement interest; see sources below.
What to learn (for any bot, including AI agents)
- A third-party bot that holds your exchange secret can become a single point of failure — even if you never share your exchange password.
- Withdrawals off limits how bad a trade-permission leak can get. Still rotate immediately if keys may have been exposed.
- IP allowlisting makes stolen keys harder to use from random networks.
- One key per service so you can revoke without rebuilding every integration.
- Monitor exchange history. Unauthorized trades are often visible before you hear from anyone else.
- Never send secrets or 2FA codes in DMs — see scam red flags.
How to check your keys now
Use the interactive API key safety checker and the permission guide trading bot API key permissions. If you are connecting an AI trading agent for the first time, also read is it safe to give my API key to Claude / an AI bot?.
Ongoing tracker: crypto API key leak tracker.
Sources
- 3Commas: Notice on API data disclosure incident (29 Dec 2022)
- 3Commas: API security incident FAQ (1 Jan 2023)
- CoinDesk: Anonymous Twitter user leaks alleged 3Commas API database (28 Dec 2022)
- CoinDesk: FBI investigating 3Commas data breach (29 Dec 2022)
- BleepingComputer: 3Commas admits hackers stole API keys
Joining Quantaira later? How to join Quantaira — education first, then a controlled key for CoinZoom when you are ready.
Education only. This page never asks for your API keys, passwords or codes. Not financial advice. Not affiliated with 3Commas, Quantaira, Endotech or CoinZoom. Dollar-loss totals vary across reports and were omitted here; read the linked sources. Facts last checked 2026-11-20.