All articles
platform reliability2026-11-17

Your trading bot's API key is the whole account

A leaked API key drained $10.4 million from a trading platform this week. The cause was not a hack of the exchange. It was how the key was generated. If you run automation, this is the part you control.

When automated trading goes wrong, most people picture a bad strategy. This week's largest incident had nothing to do with strategy. It happened because of how a string of characters was created.

What actually happened

On 16 November 2026, the decentralized derivatives exchange Lighter paused withdrawals after roughly $10.4 million in USDC left the platform. Blockchain analytics firm Bubblemaps traced the funds into Ether and then into a token on another exchange. Bitquery separately tracked 10,393,057 USDC leaving Lighter's Ethereum contract at 10:11 UTC, most of it converted within minutes.

Here is the part that matters if you run a bot. Cointelegraph reported Lighter's own postmortem, which found the attacker "obtained private API keys through a trader's custom signing software, which reused cryptographic nonces, allowing the keys to be calculated from publicly available signatures."

Read that again. Nobody stole a password. Nobody phished anyone. The software that signed transactions reused the same nonce, and a reused nonce lets an observer work backwards from a public signature to the private key. Lighter stated that "its protocol, smart contracts and official software development kits were unaffected." The exchange was not broken. The trader's own tooling was.

Lighter's Guardian mechanism paused withdrawals, and its Security Council returned approximately $5 million to the affected trader. Half the money came back. Half did not.

Why this is your problem too

Most automated trading setups, ours included, work by giving a piece of software an API key so it can act on your behalf. That key is not a username. It is closer to a signed blank cheque: whatever permissions the key carries, the holder can exercise, without your password, without your email confirmation, and often without you noticing until you look at the balance.

So the security question is not only "do I trust this platform." It is "what can this specific key do, and who else has ever held it."

Lighter's response is the clearest checklist in the story. The exchange said it has "since required wallet signatures for transfers to public pools and made API-key signatures non-public," and that it "plans to introduce IP allowlists and configurable permissions for API keys."

Translated into questions you can ask any platform, including ours:

  1. Can my API key withdraw funds, or only trade? If it can withdraw, that is the single biggest risk you carry and it should be off by default.
  2. Can I restrict the key to specific IP addresses? An allowlist means a stolen key is useless from an attacker's server.
  3. Are there sub-permissions, or is the key all-or-nothing? Trading without withdrawal is a very different risk from full account access.
  4. Was the key generated by official software, or by a third-party tool? This is exactly where Lighter's incident started.
  5. Can I see every action taken with the key, after the fact? If you cannot audit it, you cannot catch it early.

The uncomfortable pattern

The same reporting notes this followed a string of large incidents, including what it describes as the $6.3 billion Binance hack on 29 October. Cointelegraph also records that blockchain analysts tracked a separate $6.5 million Safe wallet loss and a Kava exploit days earlier, all with funds routed through the same bridging service into the same token.

It is worth being precise about what that does and does not prove. The article quotes the analytics firm cautioning that "similar transaction routes alone are weak evidence of a common attacker." Shared plumbing is not proof of one criminal. But shared plumbing across several unrelated platforms in one week is a reasonable signal that the boring infrastructure around keys, signing and permissions is where the losses concentrate.

What we do about it

We build automated trading engines that run in your own broker account, so you keep custody of your money. That architecture removes one class of risk, the platform holding your funds. It does not remove this one. If our engine holds a key to your account, the permissions on that key decide your worst case.

So when we set up an engine, ask us directly which permissions the key carries, whether withdrawals are excluded, and whether we can restrict it to a known IP. If the answer is not immediate and specific, treat that as the answer. And if you already have keys out there from earlier setups, revoke the ones you are not using. It costs nothing and it closes a door.

Trading involves risk and you can lose some or all of your capital. Results are not guaranteed. Arkonia Quant builds software; we do not hold your funds, manage investments, or give financial advice. We are not affiliated with Lighter, Cointelegraph, or any platform named here, and we have no position in any asset mentioned.

Sources

Cointelegraph, "Lighter recovers $5M after $10M exploit linked to compromised API keys," by Zoltan Vardai, published 16 November 2026, updated 20:40 UTC. Figures for the $10.4 million and the $5 million recovery come from that report's citations of Bubblemaps and Bitquery. Read the original in full before relying on any figure here.

Where this comes from: Primary reporting read in full: Cointelegraph, 'Lighter recovers $5M after $10M exploit linked to compromised API keys', by Zoltan Vardai, published 16 November 2026, updated 20:40 UTC. Figures cross-checked against that article's citations of Bubblemaps and Bitquery on-chain tracing. No review quotes used in this article, because none were re-verified today.

Written by the Arkonia Quant team. We build trading software and do not manage money or take a share of gains. Trading carries risk, past performance does not predict future results, and results are never guaranteed. Nothing here is financial advice.

Ready to get started?

Book a 30 minute personal consultation for $20 and talk it through with us.