OpenCode 被入侵:约 1.4% 的 Console 用户凭据泄露,含已存的 OpenAI / Anthropic 密钥
OpenCode was breached: ~1.4% of Console users' credentials leaked, including stored OpenAI and Anthropic keys
Startup Fortune 报道并经 Techmeme 收录:编码 Agent 工具 OpenCode 发生数据泄露,约 1.4% 的 OpenCode Console 用户受影响,泄露内容包含已存储的 OpenAI 与 Anthropic 密钥以及提示词,官方要求用户立即轮换密钥[1];该事件在 HN 上以 898 分成为当日最高分。它要解决的是Agent 工具自身成为供应链单点的问题:开发者把最敏感的模型密钥交给编码 Agent,一旦工具方的存储被攻破,攻击者拿到的不是某个应用权限,而是可以无限调用模型、复制用法与上下文的凭据。技术上正确的做法是把密钥留在本地或做短时令牌交换,服务端只存不可逆的指纹;本次事件说明这类基础防护在真实产品里仍未普及。参考价值是今天就去轮换所有交给第三方 Agent 工具的长期密钥,并改成可撤销的短时凭证;限制是报道只给出受影响比例与泄露类别,攻击路径与是否已发生滥用尚未披露,需关注官方后续说明。
Startup Fortune reports, picked up by Techmeme, that the coding-agent tool OpenCode suffered a data breach affecting roughly 1.4% of OpenCode Console users, exposing stored OpenAI and Anthropic keys along with prompts, with users told to rotate keys immediately[1]; the story hit 898 points on HN, the day's highest. It addresses agent tooling itself becoming a supply-chain single point of failure: developers hand their most sensitive model keys to a coding agent, so when the vendor's storage is compromised the attacker gains not one app's permission but credentials to call models without limit and copy usage and context. The right pattern is to keep keys local or exchange them for short-lived tokens, storing only irreversible fingerprints server-side; this incident shows that baseline has still not spread through real products. The reference is to rotate every long-lived key handed to a third-party agent tool today and switch to revocable short-lived credentials; the limitation is that the report gives only the affected share and data categories, with the attack path and any actual abuse still undisclosed.