You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Agent exposes API keys in terminal output without warning user #36647
When running Get-ChildItem Env: (or similar commands that enumerate environment variables), the agent displayed API keys (\OPENAI_API_KEY, etc.) in plaintext in the terminal output without redacting them. The agent also failed to immediately warn the user that their keys were compromised — the user had to point it out.
Plugins
None
OpenCode version
deepseek-v4-flash (opencode-go/deepseek-v4-flash)
Steps to reproduce
Ask the agent to check environment variables (e.g., \Get-ChildItem Env:)
Agent runs the command and displays output containing credential values
Agent does not warn the user about exposed credentials
Activity
github-actions commentedon Sep 12, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.