A leaked API key, the kind of login a trading bot uses, was enough to move about 10.39 million USD in USDC out of one trader's account on Lighter, a decentralized exchange for perpetual futures, on 16 November 2026. So is it safe to keep crypto on an exchange? For the money you're actively trading, it's a trade-off you accept; for coins you aren't trading, the Lighter case is a good argument for keeping them somewhere no trading key can reach. Every key you create for a bot or a tracking app is another way into the account, and Lighter shows that even a key without withdrawal rights can be turned against the balance.
Developing story, last updated 26 November 2026: Lighter hasn't named the affected trader or given its own loss figure. Still unconfirmed are the total lost (onchain checks show 10.39 million USD in USDC leaving, while one analyst estimates about 15.5 million across two accounts) and whether the trader will be repaid in full. This article will be updated as details are confirmed.
What happened at Lighter on 16 November
Lighter paused all withdrawals and new pool creation on 16 November and switched on what it calls Guardian mode as a precaution, according to Unchained, which also confirmed onchain that one wallet withdrew 10.39 million USD in USDC. Lighter then pinned the incident on a leaked API key tied to one trader's account and said its protocol and smart contracts were not affected. An onchain researcher known as 0xTria put the total at about 15.5 million USD across two market-maker accounts; Lighter's own update mentions a single account and no dollar figure, so treat the larger number as an estimate.
Lighter's postmortem, as summarized by Cointelegraph, says the attacker got the keys through the trader's custom signing software, which reused cryptographic nonces, a mistake that can leak secret keys. The exchange's security council later returned about 5 million USD in USDC to the affected trader, and Lighter restored withdrawals. It now requires a wallet signature for transfers into public pools and says IP allowlists and configurable API key permissions are coming.
Some reports have linked the account to a well-known trading firm and to that firm's later moves on another exchange. Neither the firm nor Lighter has confirmed that, so we're leaving it out.
Why a key that couldn't withdraw still moved the money
On Lighter, an API key can't send funds to someone else, according to the breakdown 0xTria shared and Bankless reported. The attacker worked around that. Using the leaked key, they set up a public pool with a 0% fee from the victim's own account, moved the USDC into it in chunks of 1 million USD, and then redeemed the pool's shares; Cointelegraph's summary of the postmortem describes the same route, ending in a withdrawal through an account the attacker controlled.
That's the part worth remembering if you use bots on any platform. "Trade only, no withdrawals" is a useful setting, and you should use it, but a key that can trade, transfer between sub-accounts or join a pool can still move value, and an exchange's permission list may not show every route. What protects a balance from a stolen trading key is that the balance isn't in the account the key controls.
When is it safe to keep crypto on an exchange?
Most people with coins on an exchange are holding two kinds of money without thinking of them separately. Here's the split we'd use.
| Money | Where it can sit | Why |
|---|---|---|
| The amount you trade this week | The exchange account your bot or app uses | It has to be there to trade |
| Cash waiting for a buying chance | The exchange, in an account no API key touches | You can move it in minutes when you need it |
| Coins you plan to hold for months | A wallet whose keys you control | No exchange login, API key or hack of the platform can reach it |
| Anything you can't afford to lose | A wallet whose keys you control, with a tested backup | The exchange can't make you whole if it can't pay |
An exchange balance is also a claim on a company that can fail for reasons unrelated to you, which is what holders learned in our look at BitMart's restructuring. Keeping some money on an exchange is normal; the risk grows with how much sits there idle and how many keys can touch it.
An API key checklist before you connect a bot
If you do trade with bots, portfolio trackers or tax apps, these steps narrow what a leaked key can do. The first three come from what the exchanges themselves publish.
- Grant the fewest permissions. Kraken's guide to creating an API key lists separate permissions such as Query Funds, Modify Orders and Withdraw Funds, and notes that a third-party trading key "would almost certainly not require" withdrawal permission. A tax or tracking app needs read-only access.
- Lock the key to an IP address. Binance's API key FAQ says IP restrictions are mandatory before withdrawal permission can be switched on, and Coinbase's API key documentation recommends allowlisting the IP addresses allowed to use each key.
- Treat the secret like a password. Kraken says the key "should be treated the same way as your username/password," and Coinbase warns that anyone with a secret that has transfer permission "will be able to send all the digital currency out of your account."
- Give each bot its own sub-account with only its trading float. If that key leaks, the damage stops at what's in that sub-account.
- Delete keys you no longer use. An old key for a bot you abandoned last spring is still a working login until you revoke it.
The Lighter key leaked through the trader's own signing software rather than through the exchange, which is a reminder that a key is only as safe as every program it's pasted into. Our post on importing a private key into a trading app covers the same problem from the wallet side.
Moving the idle coins off the exchange
Coins you aren't trading are safer under keys that no app or bot has ever seen. A hardware wallet generates those keys on the device and asks you to approve each transfer there, so there's no API key to leak. The trade-off is that you become responsible for the backup, and it takes a few minutes to send coins back to an exchange when you want to trade.
We make Ryder One, which keeps keys on an EAL6+ certified chip and talks to your phone over NFC only when you tap it. Its supported coins page lists Bitcoin, Ethereum and Solana, plus USDC and USDT on Ethereum and Solana, which covers the stablecoin that left the Lighter account. Any hardware wallet you trust will do the job described here; the step that matters is moving the coins.
If your coins are on Coinbase, our guide to moving crypto from Coinbase to a cold wallet walks through the transfer with a small test send first. Leave the trading float where it works, and give everything else a home that a stolen bot key can't find.




Share: