Skip to content

Security: nesyeklaf/opencode-claude-subscription

Security

SECURITY.md

Security policy

This plugin handles Claude OAuth tokens, so please report vulnerabilities privately through GitHub security advisories, not in public issues.

How tokens are handled

  • 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 to claude.ai when platform.claude.com is rate limited or unavailable. Model requests go to the anthropic provider's base URL, which is api.anthropic.com unless you configured another one. A custom base URL receives your subscription token too.
  • The plugin never logs headers, tokens or credentials. The optional debugLog records request bodies only, which contain your prompts.

Only the latest release receives fixes.

There aren't any published security advisories