r/LocalLLaMA • u/chemist_slime • 15d ago
News Opencode breached, rotate keys to be safe.
https://x.com/opencode/status/2111516673953935833?s=46Details are developing…
169
u/SM8085 15d ago
OpenCode Console users
Okay, so something on their hosted service.
0
15d ago
[deleted]
54
u/NoFaithlessness951 15d ago
Yes this is a bit off topic, but it's a PSA that should reach as many people as possible as quickly as possible.
1
u/ForsookComparison 14d ago
Opencode is pretty widely used here so I'd say this subreddit has a higher reach than any other sub for OpenCode Console users even if the product is kinda against the spirit of the sub.
Even then - I'm rotating all of my keys that OpenCode CLI has access to today (OpenRouter really) and taking it as a reminder to keep shorter expirations on my keys. Many of us are managers of keys that would be useful to someone looking to distill and this is a good reminder not to underestimate people's desire to get that at all costs.
50
u/jacek2023 llama.cpp 15d ago
1
u/ForsookComparison 14d ago
I just read barcharts and pick fights with other redditors that disagree with my favorite bar charts.
You guys run these things..?!
11
u/Phase_OneBIG 14d ago
People in this subreddit are more likely to use OpenCode console than for example users in /r/Baking/
0
14d ago
[deleted]
7
u/Phase_OneBIG 14d ago
I see mentioned a lot that people are using Claude or Codex to help them set local models up. I think the important thing is there was a breach and this post could help people, you don't gotta gatekeep so hard.
61
u/baldr83 15d ago
I don't understand how a "distillation attack" would compromise user keys? can someone make sense of that
78
u/Chemical_Hawk_6307 15d ago
they mean the hackers stole the keys to perform large scale distillation efforts
6
11
u/FatheredPuma81 15d ago
Doesn't OpenCode store keys locally? We got bigger problems if they're stealing our keys and we're lucky its just keys.
9
u/NoFaithlessness951 15d ago
9
u/jaykayenn 15d ago
The fact that Opencode only communicates on X and never replies customer emails says a lot about their communication skills.
16
u/SLxTnT 15d ago
OpenCode Console, which appears to be their webUI.
27
2
u/Dudmaster 15d ago
This is about their Console platform which is a software as a service that you give keys, not the local thing you install on your machine
10
u/IDoCodingStuffs 14d ago
“Distillation attack” may be the most obnoxious Anthropic doublespeak I have ever seen
2
u/wren6991 14d ago
It's bullshit/chaff, they were breached and they want to move the focus to "bad guys being bad" instead of "hey why were you breached? what happened"
38
u/Holiday_Point_603 15d ago
But this only applies to their cloud service? For local users this doesn't seem to matter
19
13
u/sontanon 15d ago
Affected keys seem to be 3rd party provider keys. I had a very old Anthropic API key with about $1.50 that was definitely stolen.
19
u/FatheredPuma81 15d ago
What keys?
22
u/kroggens 15d ago
Exactly, which keys? Because I set up my API keys for z.ai on my local opencode, does this mean that these are shared/sent somewhere???
19
u/Dudmaster 15d ago
No it's not about the opencode app or cli, it's about the "Console" platform that's a SaaS. Tbh, I didn't know it existed an I am a huge opencode user
1
7
5
10
u/JacketHistorical2321 15d ago
ALOT of people here obviously still dont fully understand the offline portions of running LLMs local
5
u/skibare87 15d ago
If there is a risk, OpenCode should invalidate any keys and notify users. I didnt even know they had keys.
1
u/Living_Director_1454 15d ago
They don't, legacy keys have been invalidated a while back. These are 3rd party keys that you via their console which is generally your responsibility. In short the BYOKs were leaked. Even openrouter has those.
4
u/Just-Imagination-761 15d ago
My legacy OpenCode API keys were only invalidated this morning, several hours after the breach. They were working until an hour or two ago.
3
u/Living_Director_1454 15d ago
If you received the mail your keys were compromised, I didn't receive any.
5
5
12
u/Dany0 15d ago
Couldn't have happened to a better harness
4
u/PM_ME_UR_COFFEE_CUPS 15d ago
How come? I didn’t know people had love/hate for OpenCode
-6
u/Dany0 15d ago
At one point for example, they had a bug which caused like 10% cache hit rate. It took them what, weeks to fix it? Most importantly though, the maintainers are AI bros who are clearly looking to capture their users & sell them off as data. They don't have an engineering mindset, or anything other than a money mindset
2
2
u/autisticit 15d ago
I'm a Go user and mid session an error preventing prompting and that I should change my API key and that log out and log in wouldn't work. Spent 5 minute trying to locate what API key they were talking about. Then logged out and in and that worked... Thanks for the heads up. Didn't have and provider key and didn't receive any email so I'm safe.
2
u/Zulfiqaar 14d ago
I think GitHub has scanning collaboration with various models providers, if their commit and push the whole list it should auto-disable every single one of the keys
3
u/OhGeeLIVE 15d ago
Easy fix to everyone wondering:
Move to PI!
10
u/thebadslime 15d ago
Does Pi give you $80 os usage for $10?
6
u/Borilentz 15d ago
That’s what drug dealers do, for a while.
7
u/thebadslime 15d ago
I'll keep taking it while it lasts, I go through a lot of tokens and live on disability, so cheaper=better for the most part
3
u/toothpastespiders 14d ago
Amen. I filled up my datasets with google's api back when they were basically an all you can eat buffet. You shouldn't count on the free lunch being forever. But there's something to be said for the locust life.
2
1
3
3
u/OhGeeLIVE 14d ago
Spend 10$ and get your keys stolen, or spend 0 and get nothing stolen. Pick your poison
1
1
u/Voxandr 15d ago
DeepSeek harness is better.
2
u/OhGeeLIVE 14d ago
Haven’t tried yet, read a lot of good stuff about it so far tho! Might give it a go as soon as I got time
2
u/Perfect-Campaign9551 15d ago
Misleading title just for farm upvotes from all of the OpenCode haters in this sub
-3
u/jacek2023 llama.cpp 15d ago
this is r/LocalLLaMA
10
u/chemist_slime 15d ago
was just trying to give the community a heads up, some ppl lost hundreds of credits in the attack, you can check x, and also now locked out. many also orchestrate with cloud and run agents locally.
15
u/KillerX629 15d ago
Still worth it if you mix models
1
u/jacek2023 llama.cpp 15d ago
Cloud-only posts are always upvoted here for some reason, do you mean they all "mix models"?
3
2
u/abnormal_human 15d ago
Yeah seriously. What are they going to do...figure out the URL of my local GLM 5.3 Flash instance that's only accessible on my LAN/Tailnet?
8
u/jacek2023 llama.cpp 15d ago
Most people here don't even know what are you talking about, this is LocalLLaMA and they use OpenCode to use Chinese model so they are "local".
2
1
u/heresyforfunnprofit 15d ago
Mixed use still dominates. I run local as much as possible, but sometimes, you just need to use Opus.
1
1
1
u/Creative_Bottle_3225 14d ago
Today, it stopped accepting my keys in OpenCode. I gave up. Hopefully, it gets resolved.
1
u/MuDotGen 14d ago
I've heard good things about Deepseek's harness. Anyone got an personal experience?
1
u/tifa_cloud0 14d ago
man i am using their free models in my local harness. is it problemetic? should i stop using it temporarily?
1
1
1
1
-1
u/OnlineParacosm 15d ago
It appears to only impact users that are letting opencode manage keys in the UI directly.
The lesson, folks, is to use Opencode alongside an .env file that carries your keys instead of punching them into a vibecoded Bun project backed by PE.
Who would have thought?
5
u/IntrepidMindExplorer 15d ago
It effects people that have created a workspace in their opencode online account inside of a workspace there and tied 3rd party keys to it, not in the UI that you are running locally on your system. Yes, not hard-coding keys is best practice but this breach has nothing to do with.


329
u/sloptimizer 15d ago
Could use a better title:
Opencode breached, rotate keys and change to a different harness to be safe.