
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
opencode-account-manager
Advanced tools
TUI Dashboard for OpenCode - View providers, MCP servers, and plugin accounts
Manage providers, MCP servers, and plugin accounts in one place.
English | Tiếng Việt
.ocam, plain JSON, and Antigravity Manager exportsPaste this into any LLM agent (Claude Code, OpenCode, Cursor, etc.):
Install opencode-account-manager globally via npm, then run "ocam" to verify installation.
Repository: https://github.com/d-init-d/opencode-account-manager
npm install -g opencode-account-manager
npm install -g github:d-init-d/opencode-account-manager
ocam --version
npm install -g opencode-account-manager to install globallyocam to start the TUI dashboard~/.config/opencode/opencode.jsonocam --version
# Expected output: 0.4.2
ocam
# or
opencode-account-manager
# List accounts
ocam list
# Export accounts (encrypted by default)
ocam export -o backup.ocam
# Or with env variable (non-interactive)
OCAM_EXPORT_PASSWORD="your-password" ocam export -o backup.ocam
# Export as plain JSON (requires acknowledgment)
ocam export -o backup.json --plain --i-understand
# Import accounts
ocam import backup.ocam
# Import from Antigravity Manager folder
ocam import-am
# Health check
ocam check
# Health check (specific emails)
ocam check --emails user1@example.com,user2@example.com
# Health check (bypass cache)
ocam check --force
# Help
ocam --help
Security Notes:
- CLI export defaults to encrypted format (AES-256-GCM)
- Password can be set via
OCAM_EXPORT_PASSWORDenv var or interactive prompt--passwordflag has been removed for security (avoid exposing passwords in shell history)- Plain export requires both
--plainand--i-understandflags
Health Check OAuth Config Set OAuth client credentials via environment variables:
OCAM_OAUTH_CLIENT_ID=...
OCAM_OAUTH_CLIENT_SECRET=...
OCAM_OAUTH_TOKEN_ENDPOINT=https://oauth2.googleapis.com/token
Security Configuration
https://oauth2.googleapis.com/token is allowed by defaultOCAM_OAUTH_ALLOW_CUSTOM_ENDPOINT=true to use non-standard endpointsclientSecret is stored in config file (use env var instead)| Key | Action |
|---|---|
Tab | Switch section (Providers → Accounts → MCP) |
R | Refresh data |
E | Export accounts |
I | Import accounts |
A | Import from Antigravity Manager |
S | Enter Select Mode |
Q | Quit |
| Key | Action |
|---|---|
↑/↓ | Navigate |
Space | Toggle selection |
A | Select all |
N | Deselect all |
E | Enable selected |
D | Disable selected |
X | Export selected |
DEL | Delete selected |
Esc | Exit Select Mode |
| Format | Extension | Description |
|---|---|---|
| Encrypted | .ocam | AES-256-GCM encrypted, password required |
| Portable | .json | OpenCode Account Manager plain export (⚠️ shows security warning) |
| AM Export | .json | Antigravity Manager app export [{email, refresh_token}] |
| Plugin Native | .json | antigravity-accounts.json format |
Security Warning: Plaintext exports (
.json) will display a warning about credential visibility. Encrypted exports (.ocam) are recommended for production use.
| File | Windows | Linux/Mac |
|---|---|---|
| OpenCode config | ~/.config/opencode/opencode.json | ~/.config/opencode/opencode.json |
| Plugin accounts | %APPDATA%/opencode/antigravity-accounts.json | ~/.config/opencode/antigravity-accounts.json |
| OCAM preferences | %APPDATA%/opencode/ocam-config.json | ~/.config/opencode/ocam-config.json |
Note:
~on Windows resolves to your user home directory (e.g.,C:\Users\YourName)
npm install -g opencode-account-manager
Login at least one account first:
opencode auth login
Reinstall the package:
npm uninstall -g opencode-account-manager
npm install -g opencode-account-manager
OCAM now warns when config files fail to parse:
Warning: Failed to parse opencode.json - Unexpected token ...
Warning: Failed to parse ocam-config.json - ...
These warnings appear on CLI startup and help identify configuration issues.
clientSecret in Config File
Warning: OAuth clientSecret should not be stored in ocam-config.json.
Please use OCAM_OAUTH_CLIENT_SECRET environment variable instead.
Custom OAuth Endpoint Not Allowed
Warning: Custom OAuth token endpoint "..." is not in the allowlist.
Set OCAM_OAUTH_ALLOW_CUSTOM_ENDPOINT=true to allow custom endpoints.
Plain Text Export Warning
⚠️ WARNING: Exporting in PLAIN TEXT format.
Your account credentials will be visible in the output file.
This is insecure and should only be used for testing/development.
git checkout -b feature/your-featuregit commit -m "feat: description"git push origin feature/your-featureMIT License. See LICENSE for details.
FAQs
TUI Dashboard for OpenCode - View providers, MCP servers, and plugin accounts
We found that opencode-account-manager demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.