D

dsh-computer-use

github.com/Anionex/dsh-computer-use

v0.3.3 工具与效率 可执行外部程序写入文件发起网络请求
认证 L3已扫描 ✓健康 S/100周下载 1.1k

DSH Computer Use 为 Agent 提供新鲜的 Accessibility observation、准确进程/窗口定向、stale state 拒绝、按应用限制的访问,以及动作后的可验证状态。语义化 Accessibility 始终优先;鼠标、拖拽、滚轮与键盘 fallback 会投递给选定进程,而不是全局桌面。

作者原文(英文)

Accessibility-first macOS Computer Use capability for DeepSeek Harness with stale-observation protection, app leases, confirmations, screenshots, and Web diagnostics

中文简介由 DeepSeek 模型翻译,仅供参考。

deepseekdeepseek-harnesscomputer-usemacosaccessibilitydesktop-automation
分类
tools
发布
2026-10-01
版本
v0.3.3

检测报告

关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
1高关注3需留意3一般17未命中
高关注需留意一般

能力清单

  • 可执行外部程序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 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。

依赖安全公告

这个插件声明的依赖中,有 1 条已公开的安全公告 (最高等级:低):

等级依赖包编号摘要
低zodCVE-2023-4316Zod denial of service vulnerability
修复版本:3.22.3 详情 →

查询的是依赖声明范围的下界(如 ^4.2.0 查 4.2.0), 不是实际安装到的版本。真正装的时候如果解析到了修复版本,就不受影响—— 所以这是「可能受影响」,不是「这个插件有漏洞」。数据来自 OSV.dev。

← 返回全部插件