Skip to main content
AI RADARSecurity
296•10/18/2026, 08:18•2 min read

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

OpenCode: reported theft of Anthropic, OpenAI and Google API keys - 1
OpenCode: reported theft of Anthropic, OpenAI and Google API keys - 2
Executive TL;DR30s read

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

Analysis

Stolen 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

Join Telegram
+5 Points
← Back to news feed

Related in Ecosystem

Practical guides, core terminology, and agent skills