{"schema":"sanctity-signal/0.2","record_type":"signal","id":"opencode-provider-keys-e054","domain":"labs","drop_id":"signal-e054","occurred_at":"2026-10-17","how_to_use":"This is a structured record of one real-world action and its competing interpretations, from Sanctity Signal. To build content from it (a reel script, a blog, a thread): open on the hook, ground the viewer with plain and observed, walk the dated trail, present the interpretations as live tension between named readings, and close on the before/after shift and what_to_watch. Hard rules: items under established are fact; items under unknown are never presented as fact; the evidence status (verified or reported) is stated, not dropped; sources are cited.","actor":"OpenCode","action_type":"public disclosure of a security breach of a legacy system holding third-party model provider keys stored in customer workspaces, with notification by email to affected users","observed":"OpenCode, which sells an AI coding agent and a hosted Console, posted on its own account on X on October 17, 2026 that it had a security breach the previous night, related to what it called a large-scale distillation attack, that it affected 1.4% of OpenCode Console users, that it had emailed all of them that morning, and that the incident was ongoing so it could not share more detail. The same statement said the company is working with Anthropic, OpenAI and Google. Accounts quoting the statement add the following, which we did not read at the source: that only Console users who had linked external provider accounts were in scope; that the exposure is of third-party provider API keys saved in affected workspaces, named as OpenAI, Anthropic and Google keys; that the entry point was unauthorised access to a legacy system OpenCode was already preparing to shut down; that users who received no email were not affected; and that affected users are told to revoke and replace their provider keys in each provider's dashboard, update every application using them, and review recent provider usage for unexpected activity. One account reports affected users seeing provider bills in the hundreds of dollars. Not published by OpenCode: when the intrusion began, how long the attacker had access, how many keys were involved, whether any key was used, the vulnerability exploited, the name of the legacy system, who the attacker was, or any loss figure. The phrase distillation attack is the company's own. In context it means using stolen credentials to buy large volumes of output from frontier models, usually to train a cheaper model on that output, at the key holder's expense rather than the attacker's. That reading of the phrase is ours; OpenCode did not define it.","corrections":[],"evidence":{"status":"reported","note":"Reported, not verified. OpenCode's statement was posted on its own account on X on October 17 and emailed to affected users; that post would not open to us this morning, and opencode.ai carried no dated incident page. We rely on 4 independent accounts quoting it, each giving the same 1.4%, the same 3 providers and the same legacy-system wording. Verification event: a dated OpenCode post-mortem, or any provider naming the incident, by November 17.","sources":[{"role":"primary","label":"OpenCode's own statement on X, Oct 17, 2026, on the breach and the email notification","url":"https://x.com/opencode/status/2111516673953935833"},{"role":"corrob","label":"Cyber Security News: OpenCode breach exposes third-party API keys of Console users, Oct 18, 2026","url":"https://cybersecuritynews.com/opencode-security-breach/"},{"role":"corrob","label":"Crypto Briefing: OpenCode discloses distillation attack hitting 1.4% of Console users, Oct 17, 2026","url":"https://cryptobriefing.com/opencode-distillation-attack-api-key-breach/"},{"role":"corrob","label":"TokenPost: OpenCode says breach may have exposed users' AI provider keys","url":"https://www.tokenpost.com/news/technology/34244"},{"role":"corrob","label":"Cyera: what happened and how to rotate exposed AI provider keys","url":"https://www.cyera.com/blog/opencode-breach-what-happened-and-how-to-rotate-exposed-ai-api-keys"}]},"strength":{"cost":"Medium","commitment":"Medium","reversibility":"Hard","persistence":"Year","rationale":"Cost is medium. Disclosing a breach on the morning you find it, before you know the cause, costs trust and invites regulators, and a small company does not do it lightly. Commitment is medium, not high: this is a statement rather than a filing, with no named vulnerability, no key count and no timeline, and every number can still be restated. Reversibility is hard, because the keys are out whether or not they were used, and rotation falls on the customers. Persistence is a year rather than structural. This legacy system will be shut down and these keys rotated, but the design that caused it, user secrets pooled in middleware, is unchanged across the industry."},"shift":{"prior":"A stolen model key is the lab's problem, caught at the lab.","action":"OpenCode, which sells an AI coding agent and a hosted Console, posted on its own account on X on October 17, 2026 that it had a security breach the previous night, related to what it called a large-scale distillation attack, that it affected 1.4% of OpenCode Console users, that it had emailed all of them that morning, and that the incident was ongoing so it could not share more detail. The same statement said the company is working with Anthropic, OpenAI and Google. Accounts quoting the statement add the following, which we did not read at the source: that only Console users who had linked external provider accounts were in scope; that the exposure is of third-party provider API keys saved in affected workspaces, named as OpenAI, Anthropic and Google keys; that the entry point was unauthorised access to a legacy system OpenCode was already preparing to shut down; that users who received no email were not affected; and that affected users are told to revoke and replace their provider keys in each provider's dashboard, update every application using them, and review recent provider usage for unexpected activity. One account reports affected users seeing provider bills in the hundreds of dollars. Not published by OpenCode: when the intrusion began, how long the attacker had access, how many keys were involved, whether any key was used, the vulnerability exploited, the name of the legacy system, who the attacker was, or any loss figure. The phrase distillation attack is the company's own. In context it means using stolen credentials to buy large volumes of output from frontier models, usually to train a cheaper model on that output, at the key holder's expense rather than the attacker's. That reading of the phrase is ours; OpenCode did not define it.","update":"The tools between you and the labs hold the keys to everything."},"inference":{"established":["OpenCode stated a breach, named the share affected, and notified by email.","Keys for OpenAI, Anthropic and Google models were stored in user workspaces.","OpenCode says it is working with all three model providers."],"unknown":["That any key was used. Exposure is stated as possible, not confirmed.","The cause. OpenCode named a legacy system and no vulnerability.","The scale in users or money. No key count or loss total published."]},"narrative":{"hook":"OpenCode says a breach may have exposed users' stored OpenAI and Anthropic keys.","plain":"On October 17 OpenCode said it was breached overnight and emailed the 1.4% of Console users affected. Caveat: the company published no key count, no cause and no end to the incident.","story":["Agent platforms ask you to paste your own provider keys, then store them. One compromised middleware company therefore hands an attacker metered access to three labs at once, billed to the victims. Some users report bills in the hundreds of dollars. The labs carry the fraud risk without holding the key."],"trail":[{"d":"OCT 12","t":"Anthropic published its distillation defences, naming the models and the measured reduction, after months of pressure over cheap copies trained on frontier output. Edition 049's card."},{"d":"OCT 15","t":"India's cyber agency issued advisory CIAD-2026-0049, reporting that AI agents used in testing reached live systems at Indian organisations through exposed credentials, and that none of the organisations noticed."},{"d":"OCT 16","t":"Bitsight disclosed MONST3R-AI, a penetration-testing tool sold on criminal forums and running on stolen OpenAI, Anthropic and Google keys, tracked across 16 forums between February and August 2026."},{"d":"OCT 17","t":"OpenCode discloses the breach on X, says 1.4% of Console users are affected, emails them, names the 3 providers it is working with, and declines further detail while the incident runs."},{"d":"Reacts","r":true,"t":"Anthropic, OpenAI and Google, who must decide whether to revoke keys for customers who have not asked; every other agent platform that stores provider keys, including the gateways and the hosted harnesses; the affected users now holding unexpected bills; insurers writing cyber cover for AI tooling; and India's cyber agency, which warned about exactly this credential path 2 days earlier."}],"glossary":[{"term":"Provider API key","def":"A secret string that authorises calls to a model and bills them to its owner. Whoever holds it can spend the owner's money."},{"term":"Distillation","def":"Training a smaller model on a larger model's output. Doing it with someone else's key makes the training data free to the attacker."},{"term":"Legacy system","def":"Software a company still runs but no longer actively maintains or plans to replace. It keeps its data and loses its attention."},{"term":"Key rotation","def":"Issuing a new secret and cancelling the old one, so a stolen copy stops working. It breaks everything still using the old key."}]},"judgment":{"prompt":"If the cause is confirmed, which explanation do you believe?","interpretations":[{"id":"a","label":"The agent layer is weakest","text":"Credentials pool in middleware that labs do not control or audit.","abstain":false},{"id":"b","label":"One company's legacy system","text":"A single unretired service, not a pattern across agent tools.","abstain":false},{"id":"c","label":"An organised distillation operation","text":"Stolen keys bought training data from frontier models at someone else's cost.","abstain":false},{"id":"d","label":"Ordinary credential leakage","text":"Stored secrets leak everywhere; AI changes only what the key buys.","abstain":false},{"id":"e","label":"Too early to call.","text":"The evidence cannot yet separate these.","abstain":true}],"distribution":{"status":"held back until you have made your call","calls":null}},"story_thread":null,"what_to_watch":[{"linked_interpretation":"c","direction":"strengthens","observable_event":"OpenCode or a provider states that stolen keys were used to generate bulk model output, or names a model trained on it, by January 31, 2027.","window_end":"2027-01-31","state":"unresolved"},{"linked_interpretation":"a","direction":"strengthens","observable_event":"A second agent platform or AI gateway that stores customer provider keys discloses a breach of those keys, by June 30, 2027.","window_end":"2027-06-30","state":"unresolved"},{"linked_interpretation":"a","direction":"weakens","observable_event":"OpenCode's post-mortem shows no provider key left its systems, or the 3 providers report no anomalous usage on the affected keys, by January 31, 2027.","window_end":"2027-01-31","state":"unresolved"}]}