This plugin handles Claude OAuth tokens, so please report vulnerabilities privately through GitHub security advisories, not in public issues.
- Tokens from the browser and paste-code logins are stored by OpenCode's credential store, like any other OpenCode login.
- The Claude Code method reads
~/.claude/.credentials.json(or the macOS Keychain) and never writes to it. - The plugin sends login codes and refresh tokens to
platform.claude.com, falling back toclaude.aiwhenplatform.claude.comis rate limited or unavailable. Model requests go to theanthropicprovider's base URL, which isapi.anthropic.comunless you configured another one. A custom base URL receives your subscription token too. - The plugin never logs headers, tokens or credentials. The optional
debugLogrecords request bodies only, which contain your prompts.
Only the latest release receives fixes.