Why are my API keys in the workspace exposed? Does OpenCode send my API keys to their backend servers??? Was this a supply chain attack that infected the opencode program itself? What is going on?
It's in their announcement; it's just not written in a way that people immediately understand.
Run a gateway like GoModel instead of uploading your keys to a vendor to prevent this class of attack in the future.
https://gomodel.enterpilot.io/ (my preferred gateway)