AIToday
AI Coding AssistantsAI Safety & AlignmentITmedia AI+Published: Oct 21, 2026, 06:01 JST

Aoki malware targets AI coding keys as OpenCode confirms leak

Send on LINE
Aoki malware targets AI coding keys as OpenCode confirms leak

3 Key Points

  1. What happened

    On Oct 15, Symantec (Broadcom) said a new version of info-stealer "Aoki" steals credentials for Claude, OpenAI Codex, Cursor, Gemini and others; on Oct 17, OpenCode said old-system access exposed stored API keys.

  2. Why it matters

    Stolen keys let third parties run AI on the victim's account, so the victim may foot the bill — a risk that applies whether keys sit on a developer's PC or in a cloud workspace, though the two incidents have different causes.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, in your inbox every morning.

Context & Analysis

The two incidents landed in the same week but differ in mechanism. Aoki is an info-stealer that runs on an infected PC and collects stored credentials and session files; Symantec's Threat Hunter Team said the malware, first confirmed in 2026, added AI coding tool targets in recent samples. OpenCode's problem was on the cloud side: the operator said an old system being retired was accessed without authorization between the night of Oct 16 and Oct 17, and it notified affected users by email on the morning of Oct 17 (US time).

What ties them together is what a leaked key enables. An attacker can use the victim's account, run up usage the victim pays for, or resell the credentials. OpenCode described the breach as related to a "large-scale distillation attack" — using one model's outputs to train another — though it said the actual use of the leaked keys and whether individual billing reports connect to that attack need to be checked separately.

Symantec's report does not say how many victims there were or how stolen AI credentials were actually misused, and OpenCode's stated scope is distinct from users' reports of unexpected charges. The practical takeaway is to know where keys and tokens are stored, limit what each key can do, and be able to revoke one when something looks wrong.

FAQ
Which AI tools does the Aoki malware target?
It targets credentials and session files for Claude, OpenAI Codex, GitHub Copilot, Cursor, Google Gemini, JetBrains AI Assistant and Kiro, plus AWS credentials. It also targets browsers, crypto wallets and password managers as before.
How many OpenCode users were affected?
OpenCode said the impact was 1.4% of Console users. The company said it is working with Anthropic, OpenAI and Google to respond.
What can attackers do with a stolen API key?
They can run AI on the victim's account and consume their quota or credits, resell the credentials, or, depending on permissions, reach connected repositories, cloud services or CI/CD systems.
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleSupermicro Q1'27 revenue $18.5 billion to $19.5 billion, above guidance