r/opencode • • Oct 17 '26

⚠️ OpenCode security breach

Post image

.

477 Upvotes

109 comments sorted by

View all comments

-6

u/mamelukturbo Oct 17 '26

Unless you do your erps in opencode I don't see why you would care what anyone does with the code snippets from your chats, neither of us programs national secrets in opencode let's be real here for a minute.

I assume all my chats are used for training regardless what the eula says, the companies would be stupid not to use the best possible training data they're getting for free. It's like believing a spam company you asked to delete your account did it after they sent you an email saying they did.

10

u/bleakj Oct 17 '26

It's not chats, it's API keys..

-7

u/mamelukturbo Oct 17 '26

If you're pasting your api keys into the chat at any point you're doing it wrong.

6

u/mattartist Oct 17 '26

No, OpenCode offers a bring your own key system where you can put a, for example Anthropic, API key into the console and use it directly. _That_ system was breeched.

-7

u/mamelukturbo Oct 17 '26

Most of the comments were insinuating chats which are non-issue, if it is what you're saying though that's a different thing. Still why would anyone use that, just add the provider as another api provider in opencode don't go around internet pasting api keys willy nilly just for sake of convenience.

7

u/ChineseBot-853210 Oct 17 '26 • Heartwarming

Bro. Just shut up. This is clearly way over your head.

0

u/mamelukturbo Oct 17 '26

I love you

1

u/Competitive-Ebb3899 Oct 17 '26

Chats are still an issue. Not everyone is working on top secret material, but people may be working on private projects, share seemingly innocent details that can be used to built a profile of the given person.

Data is money.

1

u/Serious_Current_8802 Oct 18 '26

There is a providers section in the open code console where you can save api key, this data was leaked

Source: my OpenAI key I use for a discord bot was compromised, i received an email from OpenAI about suspicious usage and my $5 of credit was drained from the api key saved with opencode

This is basic stuff and routinely happens with these 3rd party services which is exactly why we use short lived limited api keys

When you get more experience this won’t be as shocking for you

3

u/bleakj Oct 17 '26

This has absolutely nothing to do with chats,

They have made zero announcements regarding chats, only 3rd party api keys that were stored on their website so you can use those api's inside of Opencode.