dsh-orb
github.com/mini-yifan/dsh-orb-cordis
v0.1.6
其他
可执行外部程序以 shell 执行命令写入文件
Installable Orb bundle. Inserts the Computer Use preset and the floating-ball host.
该插件尚未翻译,显示作者原文。
dshdeepseek-harnesscordisplugincomputer-usefloating-balldesktop
检测报告
关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
2高关注4需留意4一般14未命中
高关注需留意一般
能力清单
- 可执行外部程序
spawns-processes高关注4 处命中…computer-use/backend-18yEf5Jq.js:1import { execFile } from "node:child_process";…r-use/windows-native-B7Ig34Q0.js:2import { execFileSync } from "node:child_process";…-selection/src/windows-native.js:3import { execFile } from 'node:child_process'dist/host/index.js:2import { spawn } from "node:child_process";- 看它调用哪些程序。调用本机已有的工具是常见做法。
- 以 shell 执行命令
shell-exec高关注2 处命中…r-use/windows-native-B7Ig34Q0.js:410const path = execFileSync("powershell.exe", […r-use/windows-native-B7Ig34Q0.js:876execFileSync("powershell.exe", [- 看命令字符串是拼出来的还是写死的。拼接用户输入才是真正的风险。
- 写入文件
writes-files需留意19 处命中dist/computer-use/index.js:981await fs.mkdir(desktop, { recursive: true });dist/computer-use/index.js:985await fs.writeFile(path, file.data);…computer-use/backend-18yEf5Jq.js:1055await writeFile(file, script, "utf8");dist/host/index.js:521writeFileSync(tmp, bytes);- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 发起网络请求
network需留意11 处命中client.js:168const response = await fetch(path, {dist/helper/assets/shell.js:1237fetch.className = 'web-fetch'dist/helper/assets/shell.js:1238fetch.append(linkOrText('web-fetch-url', model.url, model.url))dist/helper/assets/shell.js:1251fetch.append(url, meta)- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 启动伪终端
spawns-pty需留意3 处命中…r-use/windows-native-B7Ig34Q0.js:410const path = execFileSync("powershell.exe", […r-use/windows-native-B7Ig34Q0.js:876execFileSync("powershell.exe", […-selection/src/windows-native.js:68execFile('powershell.exe', ['-NoProfile', '-STA', '-Command', SELECTION_SCRIPT], {- 伪终端等于给了一个完整 shell。确认这是插件的核心功能。
- 可终止进程
kills-processes需留意2 处命中dist/host/index.js:1156process.kill(pid, 0);dist/host/index.js:3501process.kill(pid, "SIGKILL");- 看它终止的是自己启动的进程,还是按名字匹配到的任意进程。
- 动态加载模块
dynamic-import一般23 处命中dist/helper/assets/highlight.js:10loading ??= import('./vendor/shiki.js').then((module) => {…r/assets/vendor/html-B6NHk4zG.js:1import e from"./css-BsVw1vtW.js";var t=[Object.freeze(JSON.parse(`{"displayName":"JavaScript","name":"javascript","patte……s/vendor/shellscript-pKlMiG8I.js:1var e=[Object.freeze(JSON.parse('{"displayName":"TypeScript","name":"typescript","patterns":[{"include":"#directives"},{……er/assets/vendor/php-DduB4gOs.js:1import{t as e}from"./json-B88Oqtu5.js";import t from"./css-BsVw1vtW.js";import n,{t as r}from"./html-B6NHk4zG.js";import…- 动态导入本身无害,但会让依赖关系难以静态审阅。
- 读取环境变量
reads-env一般18 处命中dist/helper/assets/vendor/shiki.js:2`)}findNextMatchSync(e,t,n){let r=this.scanner.findNextMatchSync(e,t,n);return r?{ruleId:this.rules[r.index],captureIndi…dist/helper/lib/main.js:1124const socketAddress = process.env.DSH_ORB_SOCKET ?? "";dist/helper/lib/main.js:1125const token = process.env.DSH_ORB_TOKEN ?? "";dist/helper/lib/main.js:1126const webPort = process.env.DSH_ORB_WEB_PORT ?? "";- 环境变量里常混有密钥。看它是否把整个 env 都读走。
- 读取文件
reads-files一般16 处命中dist/computer-use/code-agent.js:165if (!existsSync(base)) return base;dist/computer-use/code-agent.js:168if (!existsSync(candidate)) return candidate;…computer-use/backend-18yEf5Jq.js:215if (existsSync(beside)) return beside;…computer-use/backend-18yEf5Jq.js:1122const data = await readFile(file);- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 接触凭据或密钥
credentials一般13 处命中README.md:72- The helper talks to the host over a loopback-only NDJSON socket authenticated with a random 32-byte token generated pe……er/assets/vendor/sql-BsFa4tDR.js:1var e=[Object.freeze(JSON.parse(`{"displayName":"SQL","name":"sql","patterns":[{"match":"((?<!@)@)\\\\b(\\\\w+)\\\\b","n……er/assets/vendor/php-DduB4gOs.js:1import{t as e}from"./json-B88Oqtu5.js";import t from"./css-BsVw1vtW.js";import n,{t as r}from"./html-B6NHk4zG.js";import…dist/computer-use/index.js:457if (parsed.username !== "" || parsed.password !== "") throw new Error("url must not include userinfo");- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 可执行外部程序 | spawns-processes | 高关注 | 4 |
| 以 shell 执行命令 | shell-exec | 高关注 | 2 |
| 写入文件 | writes-files | 需留意 | 19 |
| 发起网络请求 | network | 需留意 | 11 |
| 启动伪终端 | spawns-pty | 需留意 | 3 |
| 可终止进程 | kills-processes | 需留意 | 2 |
| 动态加载模块 | dynamic-import | 一般 | 23 |
| 读取环境变量 | reads-env | 一般 | 18 |
| 读取文件 | reads-files | 一般 | 16 |
| 接触凭据或密钥 | credentials | 一般 | 13 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 57 个文件,扫描于 2026-10-15。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
依赖安全公告
已查询这个插件声明的全部依赖,没有匹配到已公开的安全公告。(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)