工具与效率 · v0.3.3
dsh-computer-use
DeepSeek Harness 的原生 macOS 控制默认不干扰你的真实光标和前台应用;Bundle 可能会在键盘输入前将目标应用带到前台,以确保输入可靠。
作者原文(英文)
Native macOS control for DeepSeek Harness that keeps your real cursor and foreground application alone by default; the Bundle may bring the target app forward before keyboard input for reliable typing.
简介取自插件 README 开头,由 DeepSeek 模型翻译,仅供参考。
安装命令
dsh plugin --profile web add @anionex/dsh-computer-use@0.3.3
已试装 · 层已挂载
已在一个隔离的 profile 里真装过:包能装上,并且插件层挂载成功。这一条是实测结果,不是作者的声明。
检测报告
能力清单
- 可执行外部程序
spawns-processes高关注4 处命中scripts/build-native.mjs:4import { spawn } from 'node:child_process'scripts/check-native.mjs:4import { execFile } from 'node:child_process'scripts/model-e2e.mjs:3import { spawn } from 'node:child_process'scripts/validate.mjs:4import { spawn } from 'node:child_process'- 看它调用哪些程序。调用本机已有的工具是常见做法。
- 写入文件
writes-files需留意19 处命中lib/artifacts.js:44await mkdir(directory, { recursive: true, mode: 0o700 });scripts/build-client.mjs:18await mkdir(dirname(outputPath), { recursive: true })scripts/build-client.mjs:19await writeFile(outputPath, wrapped)scripts/build-client.mjs:23await writeFile(`${outputPath}.map`, `${JSON.stringify(rawMap)}\n`)- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 发起网络请求
network需留意2 处命中lib/client.js:173const response = await fetch(ROUTE, { credentials: 'same-origin', cache: 'no-store' });lib/client.js:190const response = await fetch(ROUTE, {- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 可终止进程
kills-processes需留意1 处命中scripts/model-e2e.mjs:129try { process.kill(app.pid, 'SIGTERM') } catch {}- 看它终止的是自己启动的进程,还是按名字匹配到的任意进程。
- 读取文件
reads-files一般29 处命中lib/providers/native-helper.js:38return createHash('sha256').update(await readFile(path)).digest('hex');lib/providers/native-helper.js:144const manifest = JSON.parse(await readFile(manifestPath, 'utf8'));scripts/build-client.mjs:8const source = await readFile(compiledPath, 'utf8')scripts/build-client.mjs:20const rawMap = JSON.parse(await readFile(`${compiledPath}.map`, 'utf8'))- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 读取环境变量
reads-env一般19 处命中lib/providers/native-helper.js:189LANG: process.env.LANG ?? 'en_US.UTF-8',lib/providers/native-helper.js:190LC_ALL: process.env.LC_ALL ?? 'en_US.UTF-8',lib/providers/native-helper.js:238LANG: process.env.LANG ?? 'en_US.UTF-8',lib/providers/native-helper.js:239LC_ALL: process.env.LC_ALL ?? 'en_US.UTF-8',- 环境变量里常混有密钥。看它是否把整个 env 都读走。
- 动态加载模块
dynamic-import一般8 处命中CHANGELOG.md:35- Inlined client settings range validation into `src/client/index.tsx` so the single-file browser bundle loads directly …scripts/validate.mjs:131`const { checkRepo } = await import(${JSON.stringify(pathToFileURL(join(checkout, 'src', 'index.ts')).href)});`,lib/types/confirmations.d.ts:13confirm(agent: Agent, app: ComputerAppIdentity, request: ComputerConfirmRequest, callId: import('@deepseek-ai/dsh-tools'…src/confirmations.ts:51callId: import('@deepseek-ai/dsh-tools').ToolRunContext['callId'] | undefined,- 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 可执行外部程序 | spawns-processes | 高关注 | 4 |
| 写入文件 | writes-files | 需留意 | 19 |
| 发起网络请求 | network | 需留意 | 2 |
| 可终止进程 | kills-processes | 需留意 | 1 |
| 读取文件 | reads-files | 一般 | 29 |
| 读取环境变量 | reads-env | 一般 | 19 |
| 动态加载模块 | dynamic-import | 一般 | 8 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 75 个文件,扫描于 2026-10-15。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
可信度
- -5cordis entry id「computer-use」被 3 个包共用,同时安装会互相替换warn:dsh-codex-style-computer-use、dsh-computer-use-vision
认证等级 L0
- L0静态结构与契约✓sha512-TneubCLMpPpMtTq7… 与本地 tarball 复算一致,补丁与入口齐备
- L1配置组合与依赖图—entry id computer-use 被 3 个包共用
- L2隔离沙箱冒烟✓隔离 profile 安装成功,4.4s,层已挂载;宿主带它启动(booted)(前一级未通过,本项不计入等级)前一级未通过,不计入等级
- L3运行时健康监控✓抽样会话内未观测到外部进程 / 越界写 / 外连(2 个事件)(前一级未通过,本项不计入等级)前一级未通过,不计入等级
评分口径与作者信息
从 100 分开始按规则扣减:fail −20 / major −10 / warn −5 / minor −2;star 数、下载量、LLM 输出都不参与评分
- 维护者
- anionex
- 仓库
- https://github.com/Anionex/dsh-computer-use
- 许可
- MIT
- 最后发布
- 2026-10-01
- 周下载
- 1.1k
- star
- 56
扫描状态:已扫描。能力是事实,不是缺陷; 周下载与 star 只作参考,不参与评分。
认证等级只回答四件事:包本身是否完整可解析(L0)、能不能与别的插件组合(L1)、隔离环境里装不装得上并起得来(L2)、抽样运行时有没有异常(L3)。依赖漏洞、仓库存活、下载量都不参与评级,只作为独立信号标注。可信 ≠ 无漏洞,上架 ≠ 推荐。
| DSH peer 依赖 | 19 个cordisdsh-agentdsh-api-remotesdsh-branddsh-client-localedsh-client-ui-primitivesdsh-client-ui-settingsdsh-client-ui-slotsdsh-host-webserverdsh-llmdsh-sessiondsh-settings等 19 个均为 @deepseek-ai/ 下的包 |
|---|---|
| Node 要求 | ^22.19.0 || >=24.0.0 |
| 第三方依赖 | 1 个 |
| bundle patch | ./cordis.patch.yml |
| 依赖安全公告 | 1 条,见下方 |
元数据
| 主页 | https://github.com/Anionex/dsh-computer-use#readme |
|---|---|
| 仓库最近提交 | 2026-10-08 |
| 仓库创建 | 2026-08-13 |
DSH