
Research
/Security News
OpenAPI React Query Codegen Compromised in Mini Shai-Hulud npm Supply Chain Attack
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.
dsh-self-upgrade
Advanced tools
Settings-page DSH self-upgrade: check the running host against the npm registry, run `npm install -g @deepseek-ai/dsh@latest` on confirmation, and restart the host instance.
DSH (DeepSeek Harness) 自升级插件:在 Web GUI 设置页添加「系统更新」区块,一键检查版本并执行升级。
npm install -g @deepseek-ai/dsh@latest# 在 DSH web profile 目录下
dsh plugin --profile web add link:/path/to/dsh-self-upgrade
# 或手动编辑 profile package.json 添加依赖 + bundles 条目后 pnpm install
lib/index.js)Cordis 插件,注册 4 个 loopback-only HTTP 端点:
| 端点 | 方法 | 功能 |
|---|---|---|
/api/self-upgrade/check | GET | 返回 {current, latest, hasUpdate} |
/api/self-upgrade/run | POST | 生成升级脚本并以 detached 进程执行 |
/api/self-upgrade/status | GET | 返回阶段推断 + 日志尾部(轮询用) |
/api/self-upgrade/stream | GET | SSE 实时流式推送日志(安装阶段用) |
升级脚本流程:npm install -g → kill 旧进程 → 等端口释放 → setsid nohup dsh web。
lib/client.js)通过 settings.section slot 注册设置页一级区块「系统更新」。安装阶段用 EventSource 接收 SSE 实时日志;重启阶段(旧进程已死)自动 fallback 到轮询。
dsh-self-upgrade/
├── package.json # 插件清单 + dsh.client 声明
├── cordis.patch.yml # loader entry 注册
├── lib/
│ ├── index.js # 服务端 cordis 插件
│ └── client.js # 客户端 settings.section UI
└── README.md
从 profile package.json 删除 dsh-self-upgrade 依赖和 bundles 条目,pnpm install 即可。
FAQs
Settings-page DSH self-upgrade: check the running host against the npm registry, run `npm install -g @deepseek-ai/dsh@latest` on confirmation, and restart the host instance.
We found that dsh-self-upgrade 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.

Research
/Security News
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.

Security News
Socket joins more than 100 technology, cybersecurity, and financial organizations calling for a global surge in cyber defense.

Product
Enterprise security teams can now detect malware, credential theft, suspicious network activity, and risky updates across Microsoft Edge extensions.