
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-codex-shared-pool
Advanced tools
Community DeepSeek Harness bundle for Codex account-pool integration
在 DeepSeek Harness(DSH) 里自由使用 Codex 订阅额度:把多个 ChatGPT/Codex 订阅账号放进同一个本地账号池,并在请求前根据模型额度自动选择可用账号。
当前版本收口“一期”的本地多账号体验。
auth.json。read_image、TUI 管理等原有能力。以下三段展示一期最核心的产品操作:先看 Codex 模型的中文模式选择,再看真实账号池和各账号额度,最后看优先账号额度不足时如何自动切换并留下请求流水。第三段只模拟“首账号额度不足”的输入信号,账号选择、Provider 请求、响应和最近请求流水都由插件实际完成。
画面来自把当前分支 tarball 安装进隔离的 stock DSH
0.1.0-rc.8后进行的真实操作;没有使用高保真动画模拟。
第三段明确标注为混合演示:只把原使用中账号的额度信号临时投影为
0%,用于稳定触发回退;插件在请求发出前跳过它,并由下一可用账号完成真实 Provider 请求。流水中的“1 次请求”不代表 Token、费用或精确订阅消耗。
一次本地请求按下面的顺序选择账号:
0% 时,跳过该账号,从有可用额度的账号中选择重置时间更早者。这里的切换发生在请求发往 Provider 之前,并不是先让已耗尽账号失败一次再重试。
设置页只展示 metadata-only 的路由流水:
它不会记录 prompt、response、文件、OAuth token 或会话正文。每条流水表示一次请求尝试,不代表 token、费用或精确订阅消耗。流水最多在 Host 进程内保留 100 条,Host 重启后清空。
当前正式版发布在 npm 的 latest tag。安装到 DSH Web profile:
dsh plugin --profile web add dsh-codex-shared-pool@0.1.0
也可以省略版本以安装 latest;如需跟随后续预发布版本,请使用 dsh-codex-shared-pool@next。
然后启动同一个 Web profile,进入:
设置 → OpenAI Codex
点击“添加账号”会发起一条独立 OAuth 授权链。授权等待期间可以手动取消;超时或 Host 重启后不会残留永久等待状态。
安装 patch 只挂载插件,不会把现有默认模型或搜索 Provider 改成
openai-codex。添加账号后,请在 DSH 中按需选择 OpenAI Codex Provider、模型,
并仅在希望搜索也走 Codex 时手动选择对应 Search Provider。
官方 SDK protocol 与 schema 包仍按社区目录规则声明为 peer;Host 构建会内联它们实际使用的轻量运行时代码,避免 stock DSH profile 还要重复安装官方包。
本地命令和设置页共用同一个 Host 账号池:
/codex status
/codex login
/codex profiles
/codex add
/codex cancel
/codex activate <profile-id>
/codex rename <profile-id> <label>
/codex remove <profile-id>
/codex usage
/codex config
auth.json。pnpm test
pnpm run build
pnpm run verify:package
pnpm pack
verify:package 只验证 npm 包结构,不等于真实 DSH 安装验证。兼容性结论还需要把打包后的 tarball 安装进隔离的 stock DSH,再完成启动和路由探测。
本项目当前固定验证基线:
0.1.0-rc.84.0.1^22.19.0 或 >=24.0.0FAQs

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.