After OpenCode API Key Theft, Check Your OpenAI/Anthropic Keys and Enforce Spend Limits

drdanielbender · x · 2026-10-19

Following the OpenCode incident where API keys were stolen and users ran up large bills, the author urges everyone — even non-OpenCode users — to audit their AI provider accounts now:

Key gotcha: on OpenAI, the organization spend limit may only trigger an email alert rather than actually block spending (screenshot shows 'Limit not enforced'). You must click Edit spend limit to make enforcement green — otherwise an abused key can burn through your budget overnight before you see the alert.

Related event: OpenCode hit by "distillation attack", API keys of 1.4% Console users leaked(28 posts)→

Original post →

More from Safety

Safety channel →