
Research
Shai-Hulud Descends to Hades: Miasma Worm Campaign Spreads with New PyPI Wave
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.
opencode-deepseek-auth
Advanced tools
Authenticate the OpenCode CLI with your DeepSeek account credentials. This plugin enables you to use your existing DeepSeek account directly within OpenCode, bypassing the need for separate API keys.
Add the plugin to your OpenCode configuration file
(~/.config/opencode/opencode.json or similar):
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-deepseek-auth@latest"]
}
Login: Run the authentication command in your terminal:
opencode auth login
Select Provider: Choose DeepSeek from the list.
Authenticate: Select Login with DeepSeek Account.
If you have an existing DeepSeek access token, you can set it directly:
opencode auth set --provider deepseek --api-key "your-deepseek-access-token"
You can also put DeepSeek credentials directly in your OpenCode config file:
File: ~/.config/opencode/opencode.json
{
"provider": {
"deepseek": {
"apiKey": "email:password" // Replace with your actual email and password
}
}
}
Below are example model entries you can add under provider.deepseek.models in your
OpenCode config.
File: ~/.config/opencode/opencode.json
{
"provider": {
"deepseek": {
"models": {
"deepseek-chat": {
"displayName": "DeepSeek Chat",
"maxTokens": 8192
},
"deepseek-reasoner": {
"displayName": "DeepSeek Reasoner",
"maxTokens": 8192
}
}
}
}
}
The plugin now supports two authentication modes:
Email/Password Mode:
Direct Token Mode:
The plugin intelligently determines the authentication method:
apiKey contains exactly one colon (:) and the first part contains @ (email) or appears to be a phone number, it treats it as email:passwordprovider: "deepseek" or type: "deepseek-email-password", it always treats the key as email:password formatemail:password or phone:password format. Special characters in passwords may require URL encodingThe plugin handles token refresh automatically, but if you encounter authentication errors, you can re-authenticate with:
opencode auth login
Or clear the stored credentials:
opencode auth clear --provider deepseek
To develop on this plugin locally:
Clone:
git clone https://github.com/yourusername/opencode-deepseek-auth.git
cd opencode-deepseek-auth
npm install
npm run build
Link:
Update your OpenCode config to point to your local directory using a
file:// URL:
{
"plugin": ["file:///absolute/path/to/opencode-deepseek-auth"]
}
MIT
FAQs
Authenticate the Opencode CLI with your DeepSeek account credentials
We found that opencode-deepseek-auth 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.

Research
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.