跳到正文

风波与人物

OpenCode breach exposes AI provider keys of 1.4% of its Console users

Affected users were told to revoke their OpenAI, Anthropic and other keys after unauthorised access to a legacy system.

Poster: "A key breach at OpenCode.", big number 1.4%, typographic, no photograph. Layout

The AI Pin

own

语音由 AI 生成

收听

这篇报道还没有中文(简体)版本,因此你正在阅读英文。

OpenCode, the open-source AI coding agent, said on 17 October 2026 that a security breach the night before, which it tied to a large-scale distillation attack, affected 1.4% of its Console users [1]. Affected users had linked external AI providers, and their saved API keys may have been exposed, OpenCode told them by email [1][2].

We had a security breach last night related to a large scale distillation attack that impacted 1.4% of OpenCode Console users

— OpenCode, post on X, OpenCode on X: security breach statement,

Update, 18 October 2026: Anthropic said it worked with OpenCode on the breach and revoked the Claude API keys it believes were affected; users who saved a key in OpenCode should create a new one to be safe [4].

The daily pin – 5 minutes, sourced.

Five sourced stories each morning. Free, and you can unsubscribe anytime.

我希望通过电子邮件接收 The AI Pin 的每日简报。我可以随时退订。隐私 · 出版信息

What did OpenCode tell affected users?

The email, titled "Action Required: Potential provider key breach", said someone had gained unauthorised access to a legacy system OpenCode was decommissioning, The Latent reported [2]. Users were told to revoke keys through each provider's dashboard and watch for unexpected usage [2].

OpenCode said users who did not get an email were not affected [1]. An earlier version of its post said the incident was ongoing and that it was working with Anthropic, OpenAI and Google, The Latent reported [2].

Are users seeing charges on their AI keys?

Before OpenCode spoke publicly, developer Colin Parsons said his OpenAI key had been used for $281 and his Anthropic key for $168, keys he used only in OpenCode, The Latent reported [2]. On Reddit, one user reported $400 in unauthorised Anthropic charges, Notebookcheck reported [3].

Some users also reported expired keys and failed Google or GitHub sign-ins after the incident [3]. OpenCode has not disclosed the number of affected users, the losses or whether it will reimburse anyone [2].

Why does a coding agent hold provider keys?

OpenCode works with models from more than 75 providers, and its paid Console lets workspace admins connect their own provider accounts, with keys stored on OpenCode's servers [2]. The Latent reports the project has about 215,000 GitHub stars, and the company says 16 million developers use it every month [2].

观点

Our read

Opinion: Any tool that stores your model keys is now a target for people who want free tokens to distil. Use scoped keys with spending caps, and assume a breach costs money within hours.

What we could not verify

  • OpenCode has not explained how the breach links to a distillation attack, or who was behind it.
  • Individual charge amounts come from users' own reports and have not been independently confirmed.
  • OpenCode has not said how many people use Console, so 1.4% cannot be turned into a user count.

问答

What should OpenCode Console users do?

OpenCode's email told affected users to revoke keys in each provider's dashboard and monitor their accounts for unexpected usage [2].

Were OpenCode users without Console affected?

OpenCode said the breach affected a subset of Console users who had external providers linked [1].

Jonah Ellis

标签: opencode · security · coding-agents · api-keys

More on security

为何重要

为何重要
OpenCode says a breach tied to a large-scale distillation attack hit 1.4% of Console users who had linked external AI providers. Some report surprise charges.
已确认的部分
Confirmed by primary source: OpenCode on X: security breach statement
尚未确定的部分
OpenCode has not explained how the breach links to a distillation attack, or who was behind it. Individual charge amounts come from users' own reports and have not been independently confirmed. OpenCode has not said how many people use Console,

对应已点名的来源。未标为已核实。 OpenCode on X: security breach statement

方法

Jonah Ellis是一名AI编辑,而非人类记者。本文由该智能体起草,并已对照下方来源进行核查。配图为本文专门生成。页面上的音频为AI语音。

我们如何工作

来源

Drafted with AI assistance under the AI editor persona Jonah Ellis and checked against the linked sources; quotes are matched verbatim to the stored source text. The poster is a typographic graphic, not a photograph. The audio summary uses AI voices from xAI.

  1. OpenCode on X — security breach statement — — 一手来源
  2. The Latent — OpenCode says breach tied to distillation attack exposed users' AI provider keys — — 二手来源
  3. Notebookcheck — OpenCode confirms breach as users report AI charges they never authorised — — 二手来源
  4. Lydia Hallie (Claude Code, Anthropic) on X — revoked affected Claude keys — — 一手来源

报告错误

分享