| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Security updates target the latest published release only. Upgrade before reporting an issue against an older build.
| Version | Supported |
|---|---|
| Latest release on the current major line | ✅ Active support |
| Any earlier release | ❌ Upgrade to the latest release |
| oc-chatgpt-multi-auth (former package name) | ❌ Renamed; migrate to oc-codex-multi-auth |
This plugin handles sensitive OAuth tokens. To protect your security:
✅ What we do:
Two backends are supported. JSON is the default; the keychain backend is opt-in.
| Backend | Enabled by | Where tokens live | Threat model |
|---|---|---|---|
| JSON (default) | always on | ~/.opencode/projects/<project-key>/oc-codex-multi-auth-accounts.json, file mode 0o600, directory mode 0o700 on POSIX. A .gitignore entry is auto-written when the storage path sits inside a git repo. | Plaintext on the local filesystem. Any local user or process that can read the file can read the refresh token. Protect the home directory like you would protect ~/.ssh. |
| OS keychain (opt-in) | CODEX_KEYCHAIN=1 | macOS Keychain / Windows Credential Manager / Linux libsecret, stored under service name oc-codex-multi-auth and account key accounts:<project-storage-key> (or accounts:global). | Token ciphertext is managed by the OS keychain. Unlocked session required to read. Credentials survive loss of the JSON file. Still only as strong as the user's OS login password / keychain unlock. |
Migration and fallback rules:
Log redaction applies uniformly to both backends. Refresh tokens, access tokens, and id tokens are replaced before any log line is written.
⚠️ What you should do:
If you discover a security vulnerability:
We aim to respond to security reports within 48 hours.
We follow responsible disclosure practices:
When using this plugin:
The following are not security vulnerabilities:
This plugin keeps its runtime dependency surface small and reviews it regularly. The full runtime set (dependencies in package.json) is:
| Dependency | Role |
|---|---|
| @openauthjs/openauth | OAuth / PKCE handling |
| @opencode-ai/plugin | OpenCode plugin interface |
| @napi-rs/keyring | Native OS keychain access for the opt-in credential backend |
| hono | Lightweight HTTP routing for the local OAuth callback server |
| zod | Schema validation at every process boundary |
| proper-lockfile | Advisory locking for concurrent config/account writes |
| @opentui/core, @opentui/solid, solid-js | Terminal UI rendering for the account dashboard |
| web-tree-sitter | Syntax-aware handling in tool output |
npm run audit:ci gates production dependencies plus a reviewed dev-advisory allowlist. There are no telemetry or analytics dependencies.
For security questions that are not vulnerabilities, open a GitHub issue without sensitive details.
Note: This plugin is not affiliated with OpenAI. For OpenAI security concerns, contact OpenAI directly.
| Back | FazBrowse Home | New Git URL |