OpenCode: reported theft of Anthropic, OpenAI and Google API keys


OpenCode developers said a security incident affected 1.4% of users; API keys for Anthropic, OpenAI, Google and other AI services should be replaced.
What happened
OpenCode developers reported a security incident in which attackers allegedly harvested users' API keys. Services mentioned include Anthropic, OpenAI, Google and other AI platforms.
According to the developers, only 1.4% of users were affected.
What to do
- revoke and rotate any API keys used with OpenCode;
- review activity in Anthropic, OpenAI, Google and other provider dashboards;
- check request logs and billing;
- enable additional account protections where available.
Why it matters
API keys grant direct access to paid and sensitive AI services. Their compromise can lead to unauthorized usage, unexpected bills and data exposure, so key rotation is the minimum necessary response.
Why it matters
AnalysisStolen API keys can turn an AI coding tool into a channel for unauthorized spending and data leakage, making immediate key rotation essential.
Discuss in community
Share your questions and insights with developers
Related in Ecosystem
Practical guides, core terminology, and agent skills
Secret Hygiene & Git Safety
A comprehensive set of engineering practices, cryptographic vaults, and pre-commit scanners (Gitleaks, Doppler, Infisical) for the secure management of API keys, tokens, and passwords without the risk of leakage into the public domain.
Google AI Studio: Free Gemini API Keys
Official Google sandbox: get free Gemini 2.0/1.5 API keys without a credit card, setup system prompts, and test the 2M token context window. Limits & guide 2026.
Apple, Google, OpenAI and five more US tech companies call for immediate move to new encryption
Major technology companies jointly warned that AI may have accelerated the risk of breaking current encryption and urged immediate adoption of new algorithms.
Herdr: One Workspace for All AI Coding Agents
Step-by-step practical guide to installing and configuring Herdr App and herdr-core (hc): connecting 5 CLI agents, live OSC 7501 statuses, multi-agent reviews, UI customization, Gallery mods, security, and token savings.