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.
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.
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
-7
u/mamelukturbo Oct 17 '26
If you're pasting your api keys into the chat at any point you're doing it wrong.