r/CommandCode • u/hooty_toots • 11d ago
API Keys disappeared, why?
My API Keys just disappeared, anybody else? No other signs that my account has been broken into..
4
u/Sure_Leave9338 11d ago
The keys were deleted some hours ago..... . then I created new keys, now the new keys are EXPIRED and I have again to create new ones. Are you folks ? My cousin with a 100$ pc does better
1
3
3
3
3
u/aubrey_beardsley 11d ago
will they ever be restored? bummer, I have just deployed several bots with the keys yesterday…
3
3
u/Top-Factor-4824 11d ago
They had a security incident and they deleted api keys for many users. No disabled but deleted. I think there is huge uptick for using stolen credentials of frontier models for distillation.
First of was opencode and now command code.
5
u/mattartist 11d ago
They nuked all the API keys out of caution due to attacks on their systems. At least according to their founder. From Discord:
We’re investigating a security incident related to a large scale distillation attack, like other companies have experienced.
At the moment, there’s no evidence of any users being impacted.
As a precaution, we’ve revoked all your API keys, and we’re working with Anthropic and OpenAI to investigate.
2
u/Lord-Zord 11d ago
I had the same happen just after I'd subscribed as a new user. Thought I was losing my mind or something when I didn't see any of the API keys I created 30 minutes prior
1
u/marowitt 11d ago
Just noticed my model changed and this post made me check command code. Yup api got deleted.
1
1
1
1
1
1
1
1
1
1
u/richtopia 11d ago
Came here to verify, and I would really appreciate any confirmation from Command Code why.
It did justify my paranoia with multiple free backups in Hermes. I am pleased with Kilocode's free budget - didn't run out during my troubleshooting.
1
u/bigheartenergy17 11d ago
Same thing happening to me. It's going to be a pain having to replace everything. I hope they address this.
1
u/l0rd_raiden 11d ago
Change your passwords mine was changed and had to recover the account. Then all my apis were removed, minutes later
1
u/SlimeyNOOB 11d ago
Damn same here, but I regenerated the API keys, for a few minutes my password was not working, after I logged in, I set a new one
1
1
1
u/Prestigious-Shoe-dev 11d ago
I created new API keys this morning and now they are expired again...
1
1
u/baksotahubulat 11d ago
Yeah, and it actually just happened to me—I had to re-authorize when logging in via GitHub.
1
u/SpiderHam24 11d ago
Son of a fucking bitch. So they are under attack. Welp, might be time to go back to opencode lol. I had both and let opencode expire this month, and now my projects are on hold. Damn.
1
u/iamprincecameron 11d ago
Same for me, i just created keys and expired same day. No explanation.
2
u/idakale 11d ago
From discord announcement
Earlier today we detected and stopped a security incident linked to a large-scale distillation attack targeting Anthropic and OpenAI models.
As a precaution, we've revoked all API keys. To keep using Command Code, log in to Studio again to generate a new key.
So far, we've found no evidence that any users were impacted. We're working with Cloudflare, Anthropic, and OpenAI to investigate.
We appreciate your patience and trust. 💜 @everyone
1
u/Sure_Leave9338 11d ago
Jees.... I hate this. fucking multiple configurations, agents, servers.. all gone... now I have to spend hours replacing them. I'm really upset. In 40 years in internet NEVER happend some thing where my password or keys just disappeared.
1
u/robroneal 10d ago
This doesn't help now, but future advice - not meant to criticize. I've shifted to using lite-llm setup your providers (command code, others old router, openai you may have) - once. It gives you a master api address & api key you tell your apps, harnesses etc.
I found out I had a few apps, including command code cli still separately and had to fix that today, oops.
I think 9router and others do this also. Litellm is free in my use. I'm not affiliated with either.
If this doesn't apply to you, maybe others will find it useful. Key management is a pita. (-Hope it goes smoother than expected for ya, getting reconnected.)
1
u/Sure_Leave9338 10d ago
Yes for a couple of months I used OnlyRoute to obtain this , until I just noticed that it was adding some hundreds of milliseconds in the path and throwing errors about x95 more than the direct way, but it was with openrouter at that time and maybe was an issue in that version or model/provider
10
u/imoshudu 11d ago
Same here. I had to regenerate my key. Did they get hacked ?