开发与运行时 · v0.2.10
qbot-dsh
QQBrowser QBot 运行时包。
作者原文(英文)
QQBrowser QBot runtime package.
简介取自插件 README 开头,由 DeepSeek 模型翻译,仅供参考。
认证 未评级已扫描 ✓健康 C/78周下载 45
11 项能力安装命令
dsh plugin --profile web add @qqbrowser/qbot-dsh@0.2.10
已试装 · 层已挂载
已在一个隔离的 profile 里真装过:包能装上,并且插件层挂载成功。这一条是实测结果,不是作者的声明。
检测报告
关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
2高关注5需留意4一般13未命中
高关注需留意一般
能力清单
- 以 shell 执行命令
shell-exec高关注1 处命中chunks/lazy-open-90ab7e83.js:3`)){if(/^\s*#/.test(r))continue;const t=/^\s*root\s*=\s*(?<mountPoint>"[^"]*"|'[^']*'|[^#]*)/.exec(r);if(t)return t.grou…- 看命令字符串是拼出来的还是写死的。拼接用户输入才是真正的风险。
- R010 向其他插件注入
plugin-tree-injection高关注1 处命中- @tencent/deepseek-harness-telemetry-galileo
- 看 patch 里 insert 的包是不是本项目自己的。插入第三方代码要格外留意。
- 写入文件
writes-files需留意59 处命中…deferred-third-party-de7d2d99.js:15`).reduce(By,Object.create(null)),"gn"),By=n((e,t)=>{let r=parseInt(t,10);if(r!==Buffer.byteLength(t)+1)return e;t=t.sli……azy-anthropic-ai-sdk-b7da4831.js:5`),raw:this.chunks};return this.event=null,this.data=[],this.chunks=[],n}if(this.chunks.push(e),e.startsWith(":"))return……azy-anthropic-ai-sdk-b7da4831.js:50`:"")+"{"+Object.entries(e).map(([_,g])=>`${_}: ${JSON.stringify(g)}`).join(", ")+"}"}return t}a(tt,"_transformJSONSchem……azy-anthropic-ai-sdk-b7da4831.js:51`);return t[t.length-1]===""&&t.pop(),t}a(Bo,"listingLines");function bu(e,t){return/^[\x20-\x7E]+$/.test(t)&&!/[\\^#]/.…- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 发起网络请求
network需留意22 处命中lib/client.js:64Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const p of e.seen.entries()){cons……azy-anthropic-ai-sdk-b7da4831.js:5`),raw:this.chunks};return this.event=null,this.data=[],this.chunks=[],n}if(this.chunks.push(e),e.startsWith(":"))return…chunks/lazy-hono-fb9a959a.js:1var Qo=Object.defineProperty;var o=(e,t)=>Qo(e,"name",{value:t,configurable:!0});import{t as bn}from"./rolldown-runtime-…chunks/lazy-hono-fb9a959a.js:9`.toString().replace(/\n/g,""),"generateRedirectHtml"),ec=o(()=>({afterResponseHook:o(e=>{if(Zi.has(e.status)){const t=e…- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 启动伪终端
spawns-pty需留意4 处命中…azy-anthropic-ai-sdk-b7da4831.js:56`),Is=100*1024,Vu=2e3,Xu=200;var dl=class extends w{static{a(this,"BashTimeoutError")}constructor(e){super(`bash command…package.json:1{"name":"@qqbrowser/qbot-dsh","version":"0.2.10","publishConfig":{"access":"public"},"type":"module","bin":{"qbot-dsh":"…- 伪终端等于给了一个完整 shell。确认这是插件的核心功能。
- 可终止进程
kills-processes需留意1 处命中…azy-anthropic-ai-sdk-b7da4831.js:59${u}`),{output:u,exitCode:h}}close(){if(o(this,st,"f"))return;p(this,st,!0,"f");const e=o(this,ge,"f");p(this,ge,null,"f…- 看它终止的是自己启动的进程,还是按名字匹配到的任意进程。
- 动态执行代码
dynamic-code需留意1 处命中lib/client.js:1(()=>{var Pb=Object.defineProperty;var i=(Ht,cr)=>Pb(Ht,"name",{value:cr,configurable:!0});window.__ModuleLoader__.load(…- 看 eval / new Function 的入参来自哪里。常量字符串和用户输入是两回事。
- 接触凭据或密钥
credentials一般46 处命中lib/client.js:64Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const p of e.seen.entries()){cons…lib/client.js:74}`,pastePreview:"解析出的服务",pasteNothing:"粘贴配置后可在此预览解析结果。",fieldName:"名称",fieldUrl:"服务地址",fieldCommand:"启动命令",fieldDisplayN…lib/client.js:90msg: `).concat(l),level:G.WEBSOCKET_ERROR,type:we.NORMAL},s)},"publishWsErrorLog"),destroy:i(function(){this.publishErro…lib/client.js:104`)??e.message;if(typeof e=="string")return e;if(typeof e=="bigint")return`${String(e)}n`;if(e===null||typeof e!="object"…- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
- 读取环境变量
reads-env一般41 处命中lib/bin.js:2var b=Object.defineProperty;var c=(r,e)=>b(r,"name",{value:e,configurable:!0});import{i as s,n as p,o as v,r as y,t as h……nks/deferred-harness-465aefd1.js:1var P=Object.defineProperty;var n=(e,t)=>P(e,"name",{value:t,configurable:!0});import"./rolldown-runtime-631372ba.js";im……deferred-third-party-de7d2d99.js:13-----END ${t}-----`,"formatPEM"),Ah=n(async(e,t,r)=>{if(Gs(r)){if(r.type!==e)throw new TypeError(`key is not a ${e} key`……deferred-third-party-de7d2d99.js:15`).reduce(By,Object.create(null)),"gn"),By=n((e,t)=>{let r=parseInt(t,10);if(r!==Buffer.byteLength(t)+1)return e;t=t.sli…- 环境变量里常混有密钥。看它是否把整个 env 都读走。
- 读取文件
reads-files一般40 处命中chunks/cli-4f55df5f.js:18- either make a new Command for each call to parse, or stop storing options as properties`);this._name=this._savedState.…chunks/cli-4f55df5f.js:21- ${e?`searched for local subcommand relative to directory '${e}'`:"no directory for search for local subcommand, use .e……deferred-third-party-de7d2d99.js:13-----END ${t}-----`,"formatPEM"),Ah=n(async(e,t,r)=>{if(Gs(r)){if(r.type!==e)throw new TypeError(`key is not a ${e} key`……deferred-third-party-de7d2d99.js:15`).reduce(By,Object.create(null)),"gn"),By=n((e,t)=>{let r=parseInt(t,10);if(r!==Buffer.byteLength(t)+1)return e;t=t.sli…- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 动态加载模块
dynamic-import一般17 处命中lib/bin.js:2var b=Object.defineProperty;var c=(r,e)=>b(r,"name",{value:e,configurable:!0});import{i as s,n as p,o as v,r as y,t as h……deferred-third-party-de7d2d99.js:36--yaml 1.1 Set the YAML version. (default: 1.2)`;var ye=class extends Error{static{n(this,"UserError")}constructor(e,t){……azy-anthropic-ai-sdk-b7da4831.js:5`),raw:this.chunks};return this.event=null,this.data=[],this.chunks=[],n}if(this.chunks.push(e),e.startsWith(":"))return……azy-anthropic-ai-sdk-b7da4831.js:9${_}`)}return l},"path"),"createPathTagFunction"),m=zc(Ba);var Rn=class extends S{static{a(this,"DeploymentRuns")}retrie…- 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 以 shell 执行命令 | shell-exec | 高关注 | 1 |
| R010 向其他插件注入 | plugin-tree-injection | 高关注 | 1 |
| 写入文件 | writes-files | 需留意 | 59 |
| 发起网络请求 | network | 需留意 | 22 |
| 启动伪终端 | spawns-pty | 需留意 | 4 |
| 可终止进程 | kills-processes | 需留意 | 1 |
| 动态执行代码 | dynamic-code | 需留意 | 1 |
| 接触凭据或密钥 | credentials | 一般 | 46 |
| 读取环境变量 | reads-env | 一般 | 41 |
| 读取文件 | reads-files | 一般 | 40 |
| 动态加载模块 | dynamic-import | 一般 | 17 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 112 个文件,扫描于 2026-10-15。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
可信度
78
健康分 C
扣分项下方逐条附证据
- -10声明与实物不符:entry-missingmajor:['./lib/types/qb/auto-model-api/contract.js', './lib/types/qb/biz-tags-api/contract.js', './lib/types/qb/connectors-api/contract.js']
- -5声明与实物不符:types-missingwarn:['./lib/typert.host.d.ts', './lib/typert.remote-client.d.ts', './lib/types/client/index.d.ts', './lib/types/index.d.ts', './lib/types/option
- -5没有仓库或主页地址warn
- -2README 里没有可复制的示例minor
认证等级 未评级
- L0静态结构与契约—契约不符:entry-missing
- L1配置组合与依赖图✓跨包无 entry id 冲突,插入模块可解析,目录内 peer 满足(前一级未通过,本项不计入等级)前一级未通过,不计入等级
- L2隔离沙箱冒烟✓隔离 profile 安装成功,17.2s,层已挂载;宿主带它启动(booted)(前一级未通过,本项不计入等级)前一级未通过,不计入等级
- L3运行时健康监控—运行时观测到异常:spawns+writes
评分口径与作者信息
从 100 分开始按规则扣减:fail −20 / major −10 / warn −5 / minor −2;star 数、下载量、LLM 输出都不参与评分
- 维护者
- qqbrowser.dev
- 仓库
- —
- 许可
- Proprietary
- 最后发布
- 2026-09-20
- 周下载
- 45
- star
- —
扫描状态:已扫描。能力是事实,不是缺陷; 周下载与 star 只作参考,不参与评分。
认证等级只回答四件事:包本身是否完整可解析(L0)、能不能与别的插件组合(L1)、隔离环境里装不装得上并起得来(L2)、抽样运行时有没有异常(L3)。依赖漏洞、仓库存活、下载量都不参与评级,只作为独立信号标注。可信 ≠ 无漏洞,上架 ≠ 推荐。
| Node 要求 | ^22.19.0 || >=24.0.0 |
|---|---|
| 第三方依赖 | 504 个 |
| bundle patch | ./cordis.patch.yml |
| 依赖安全公告 | 61 条,见下方 |
这个插件声明的依赖中,有 61 条已公开的安全公告 (最高等级:严重):
| 等级 | 依赖包 | 编号 | 摘要 |
|---|---|---|---|
| 严重 | pnpm | CVE-2026-82393 | pnpm: A tarball dependency's manifest `name` escapes node_modules → arbitrary file write/overwrite on install 修复版本:10.34.5, 11.11.0 详情 |
| 严重 | undici | CVE-2026-13697 | undici vulnerable to cross-user information disclosure and parse-time crash via degenerate private cache directives 修复版本:7.29.0, 8.9.0 详情 |
| 严重 | undici | CVE-2025-22150 | Use of Insufficiently Random Values in undici 修复版本:5.28.5, 6.21.1, 7.2.3 详情 |
| 严重 | undici | CVE-2026-85152 | undici vulnerable to cross-origin cache poisoning via missing origin isolation in interceptors 修复版本:8.10.2 详情 |
| 严重 | undici | CVE-2026-84961 | undici vulnerable to TLS certificate validation bypass via dropped connect options in BalancedPool 修复版本:7.29.1, 8.10.2 详情 |
| 中 | @modelcontextprotocol/sdk | CVE-2026-25536 | @modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reuse 修复版本:1.26.0 详情 |
| 中 | @modelcontextprotocol/sdk | CVE-2026-104850 | MCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP server 修复版本:1.31.0, 2.2.0 详情 |
| 中 | fflate | CVE-2026-45820 | fflate unzipSync can enter an infinite loop when parsing malformed ZIP64 archives 修复版本:0.4.9, 0.5.4, 0.6.11 详情 |
| 中 | js-yaml | CVE-2026-84375 | js-yaml: maxTotalMergeKeys does not limit CPU use for empty merge sources 修复版本:3.15.2, 4.3.2 详情 |
| 中 | js-yaml | CVE-2026-59869 | js-yaml: YAML merge-key chains can force quadratic CPU consumption 修复版本:3.15.0, 4.3.0 详情 |
| 中 | js-yaml | GHSA-5p4m-2wfm-xmqj | JS-YAML: Quadratic CPU consumption in !!omap resolution (3.x and 4.x) — CVE-2026-59870 fix not backported 修复版本:3.15.1, 4.3.1 详情 |
| 中 | picomatch | CVE-2026-33671 | Picomatch has a ReDoS vulnerability via extglob quantifiers 修复版本:2.3.2, 3.0.2, 4.0.4 详情 |
查询的是依赖声明范围的下界(如 ^4.2.0 查 4.2.0),
不是实际安装到的版本。真正装的时候如果解析到了修复版本,就不受影响——
所以这是「可能受影响」,不是「这个插件有漏洞」。数据来自
OSV.dev。
DSH