dsh-cliworker-now
github.com/SuperWheel/cliworker-now
v0.7.8
界面与主题
可执行外部程序写入文件含混淆或编码代码
Multiple agent CLI conversations in the DeepSeek Harness sidebar
该插件尚未翻译,显示作者原文。
检测报告
关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
1高关注4需留意5一般14未命中
高关注需留意一般
能力清单
- 可执行外部程序
spawns-processes高关注2 处命中lib/native-spawn.mjs:1import { spawn } from 'node:child_process'lib/types/host/native-spawn.mjs:1import { spawn } from 'node:child_process'- 看它调用哪些程序。调用本机已有的工具是常见做法。
- 写入文件
writes-files需留意93 处命中lib/types/host/claude-own-route.js:344await mkdir(parent, { recursive: true, mode: 0o700 });lib/types/host/claude-own-route.js:349await writeFile(path, JSON.stringify({…pes/host/cli-executable-paths.js:145mkdirSync(path, { recursive, mode: 0o700 });…pes/host/cli-executable-paths.js:253writeFileSync(fd, data);- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 含混淆或编码代码
obfuscated-code需留意27 处命中…lient/cli-executable-settings.js:117}, children: _jsx(IconChevronDownOutlineRegular, { size: 14 }) })] }), _jsx("div", { id: contentId, className: "cwn-sett……lient/cli-executable-settings.js:120}, children: [_jsx(Input, { id: inputId, className: "cwn-control-input cwn-cli-path-input", "aria-label": `${CLI_LABELS[……/client/conversation-timeline.js:37return (_jsxs("details", { className: "cwn-progress", children: [_jsxs("summary", { children: [label, seconds !== undefi…lib/types/client/panel.js:228: undefined, open: settings, onClose: () => setSettings(false), api: api, sessionId: sessionId, initialCli: settingsCli …- 混淆本身不是恶意,但公开源码里出现大段混淆值得问一句为什么。
- 可终止进程
kills-processes需留意1 处命中lib/types/host/storage.js:178process.kill(owner.pid, 0);- 看它终止的是自己启动的进程,还是按名字匹配到的任意进程。
- 启动伪终端
spawns-pty需留意1 处命中…host/windows-account-terminal.js:75// node-pty provider, killing the Job first bypasses its worker disposal.- 伪终端等于给了一个完整 shell。确认这是插件的核心功能。
- 接触凭据或密钥
credentials一般678 处命中lib/types/host/account-identity.js:8const credentialPresent = (value) => typeof value === 'string' && value.trim().length > 0;lib/types/host/account-identity.js:9/** Only email is allowlisted. Reject controls/markup/credential-shaped strings outright. */lib/types/host/account-identity.js:39* bounded and ephemeral. No credential leaves this function; ID tokens are decodedlib/types/host/account-identity.js:97const refreshable = credentialPresent(value.token.refresh_token);- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
- 读取环境变量
reads-env一般90 处命中lib/types/host/accounts.js:343join(process.env.DSH_HOME ?? join(homedir(), '.dsh'), 'cliworker-now'), control)lib/types/host/accounts.js:595join(process.env.DSH_HOME ?? join(homedir(), '.dsh'), 'cliworker-now'), startup);lib/types/host/accounts.js:603join(process.env.DSH_HOME ?? join(homedir(), '.dsh'), 'cliworker-now'), startup);lib/types/host/accounts.js:620join(process.env.DSH_HOME ?? join(homedir(), '.dsh'), 'cliworker-now'),- 环境变量里常混有密钥。看它是否把整个 env 都读走。
- 读取文件
reads-files一般88 处命中lib/types/host/adapters.js:101return existsSync(nativePath) ? nativePath : (configured ?? cli);lib/types/host/adapters.js:337present = statSync(entry.path).isFile();lib/types/host/adapters.js:374if (isExtendedCli(cli) && /\.[cm]?js$/.test(executable) && existsSync(executable)) {lib/types/host/adapters.js:377if (!statSync(executable).isFile())- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 动态加载模块
dynamic-import一般28 处命中…types/host/mimo-configuration.js:237const { DatabaseSync } = await import('node:sqlite');lib/pi-login.mjs:21} = await import(pathToFileURL(join(dist, 'index.js')).href)lib/pi-native-catalog.mjs:123const { ModelRuntime } = await import(pathToFileURL(join(dist, 'core/model-runtime.js')).href)lib/pi-native-catalog.mjs:124const { AuthStorage } = await import(pathToFileURL(join(dist, 'core/auth-storage.js')).href)- 动态导入本身无害,但会让依赖关系难以静态审阅。
- 文中出现远程脚本地址
remote-url-reference一般2 处命中…s/client/account-terminal-css.js:2export const accountTerminalCSS = '/**\n * Copyright (c) 2014 The xterm.js authors. All rights reserved.\n * Copyright (……client/account-terminal-css.d.ts:1export declare const accountTerminalCSS = "/**\n * Copyright (c) 2014 The xterm.js authors. All rights reserved.\n * Cop…- 只是文本里出现了远程脚本地址,没有看到加载它的调用。多半是文档或注释;若确实可疑,搜一下这个地址在包里的其他出现位置。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 可执行外部程序 | spawns-processes | 高关注 | 2 |
| 写入文件 | writes-files | 需留意 | 93 |
| 含混淆或编码代码 | obfuscated-code | 需留意 | 27 |
| 可终止进程 | kills-processes | 需留意 | 1 |
| 启动伪终端 | spawns-pty | 需留意 | 1 |
| 接触凭据或密钥 | credentials | 一般 | 678 |
| 读取环境变量 | reads-env | 一般 | 90 |
| 读取文件 | reads-files | 一般 | 88 |
| 动态加载模块 | dynamic-import | 一般 | 28 |
| 文中出现远程脚本地址 | remote-url-reference | 一般 | 2 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 240 个文件,扫描于 2026-10-15。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
依赖安全公告
这个插件声明的依赖中,有 3 条已公开的安全公告 (最高等级:中):
| 等级 | 依赖包 | 编号 | 摘要 |
|---|---|---|---|
| 中 | yaml | CVE-2023-2251 | Uncaught Exception in yaml 修复版本:2.2.2 详情 → |
| 低 | yaml | CVE-2026-33532 | yaml is vulnerable to Stack Overflow via deeply nested YAML collections 修复版本:1.10.3, 2.8.3 详情 → |
| 低 | zod | CVE-2023-4316 | Zod denial of service vulnerability 修复版本:3.22.3 详情 → |
查询的是依赖声明范围的下界(如 ^4.2.0 查 4.2.0),
不是实际安装到的版本。真正装的时候如果解析到了修复版本,就不受影响——
所以这是「可能受影响」,不是「这个插件有漏洞」。数据来自
OSV.dev。