1. OpenCode Hacked: User credentials leaked
OpenCode experienced a security breach involving a large-scale distillation attack that compromised 1.4% of OpenCode Console users. The company notified affected users via email and stated the incident is ongoing, with remediation efforts underway in coordination with Anthropic, OpenAI, and Google. An OpenCode team member later clarified that unauthorized access occurred in a legacy system being decommissioned, potentially exposing third-party provider keys (OpenAI, Anthropic, Google) stored in user workspaces. Users were advised to revoke and replace those keys through the relevant provider dashboards, update applications using them, and review recent usage for unexpected activity.
Commenters clarified that the breach likely affects only OpenCode Zen/Console (a hosted service) users who stored bring-your-own-key (BYOK) API credentials, not local-only OpenCode users. Multiple users expressed confusion about the term "distillation attack" in this context, questioning how credential theft relates to model distillation. A previous warning from 68 days prior was cited, linking to a GitHub issue alleging data leakage concerns that went unaddressed. Several commenters questioned why API keys were stored on OpenCode's backend at all, raising supply chain attack concerns. Practical suggestions included implementing an "invalidate_api_key" endpoint for rapid mass revocation. Some discussion participants noted the post appeared to be flagged/downvoted, while others expressed skepticism about OpenCode's security practices and communication transparency.