dsh-codex-style-computer-use
github.com/ltmroberthk915/dsh-computer-use
v1.2.0
市场与管理
可执行外部程序以 shell 执行命令R010 向其他插件注入
Codex-style Computer Use for DeepSeek Harness: Windows desktop control, screenshots, UI Automation, human input handoff, approval gates and prebuilt native workers. Install and update from dsh-market without PowerShell 7 or build steps.
该插件尚未翻译,显示作者原文。
deepseek-harnessdshdsh-plugincomputer-usewindowsgui-automationset-of-marksuia
检测报告
关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
3高关注1需留意4一般16未命中
高关注需留意一般
能力清单
- 可执行外部程序
spawns-processes高关注3 处命中lib/attention-native.js:5import { spawn } from 'node:child_process'lib/core/index.js:12import { spawn, execFileSync } from 'node:child_process'lib/core/native-runtime.js:7import { execFileSync } from 'node:child_process'- 看它调用哪些程序。调用本机已有的工具是常见做法。
- 以 shell 执行命令
shell-exec高关注2 处命中lib/core/index.js:833const out = execFileSync(exe, ['--op', 'ping'], { encoding: 'utf8', timeout: 4000, windowsHide: true })lib/core/native-runtime.js:25execFileSync(compiler, ['/nologo', '/target:exe', '/platform:x64', '/optimize+', '/warn:1', `/out:${output}`,- 看命令字符串是拼出来的还是写死的。拼接用户输入才是真正的风险。
- R010 向其他插件注入
plugin-tree-injection高关注1 处命中- dsh-codex-style-computer-use
- 看 patch 里 insert 的包是不是本项目自己的。插入第三方代码要格外留意。
- 写入文件
writes-files需留意17 处命中lib/artifacts.js:10writeFileSync(path, bytes, { flag: 'wx' })lib/artifacts.js:12try { appendFileSync(manifest(dir), JSON.stringify({ file: basename(path), sha256: digest(bytes), size: bytes.length, cr…lib/artifacts.js:30if (!dryRun) unlinkSync(path)lib/attention-native.js:18fs.mkdirSync(this.dataDir, { recursive: true })- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 接触凭据或密钥
credentials一般34 处命中lib/core/index.js:681// refuse typing into password fields unless explicitly allowed — the modellib/core/index.js:682// should ask the human, never handle credentials blind (DESIGN §8.3)lib/core/index.js:683if (!opts.allowPassword) {lib/core/index.js:685if (f && f.element && f.element.isPassword) {- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
- 读取环境变量
reads-env一般27 处命中lib/attention-native.js:12this.dataDir = dataDir || path.join(process.env.DSH_HOME || path.join(os.homedir(), '.dsh'), 'data', 'computer-use')lib/attention.js:12electronNodeMode: process.env.ELECTRON_RUN_AS_NODE === '1' })lib/audit.js:11const dshHome = process.env.DSH_HOME || join(homedir(), '.dsh')lib/core/index.js:121const env = { ...process.env, DSH_CU_HOST_PID: String(process.pid), DSH_CU_HOST_EXE: process.execPath || '' }- 环境变量里常混有密钥。看它是否把整个 env 都读走。
- 读取文件
reads-files一般25 处命中lib/artifacts.js:19try { lines = readFileSync(manifest(dir), 'utf8').split('\n') } catch { return { dryRun, files: [], bytes: 0 } }lib/artifacts.js:29if (!stat.isFile() || stat.isSymbolicLink() || stat.size !== record.size || digest(readFileSync(path)) !== record.sha256…lib/audit.js:16if (!existsSync(shots)) mkdirSync(shots, { recursive: true })lib/core/index.js:112if (!this.workerExe || !existsSync(this.workerExe)) {- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 动态加载模块
dynamic-import一般2 处命中lib/index.js:90const { createUserMessage } = await import('@deepseek-ai/dsh-llm')mcp/src/index.js:27try { return await import(c) } catch (e) { lastErr = e }- 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 可执行外部程序 | spawns-processes | 高关注 | 3 |
| 以 shell 执行命令 | shell-exec | 高关注 | 2 |
| R010 向其他插件注入 | plugin-tree-injection | 高关注 | 1 |
| 写入文件 | writes-files | 需留意 | 17 |
| 接触凭据或密钥 | credentials | 一般 | 34 |
| 读取环境变量 | reads-env | 一般 | 27 |
| 读取文件 | reads-files | 一般 | 25 |
| 动态加载模块 | dynamic-import | 一般 | 2 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 35 个文件,扫描于 2026-10-15。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
依赖安全公告
已查询这个插件声明的全部依赖,没有匹配到已公开的安全公告。(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)