其他 · v0.2.3
dsh-plugin
安全说明:本目录不提交可执行脚本文件。下面只提供可审阅的 JavaScript 代码块;仅在用户明确同意时,将其复制到临时本地文件 cloudbase-lint.mjs 后运行。
作者原文(英文)
CloudBase backend for DeepSeek Harness — database, storage, authentication, and frontend/backend deployment
简介取自插件自己的 README 原文。
dsh-plugindeepseek-harnesscloudbasemcpbaas
认证 L2已扫描 ✓健康 S/95周下载 451
11 项能力安装命令
dsh plugin --profile web add @cloudbase/dsh-plugin@0.2.3
已试装 · 层已挂载
已在一个隔离的 profile 里真装过:包能装上,并且插件层挂载成功。这一条是实测结果,不是作者的声明。
检测报告
关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
2高关注4需留意5一般13未命中
高关注需留意一般
能力清单
- 可执行外部程序
spawns-processes高关注3 处命中dist/index.js:166import { spawn } from "node:child_process";scripts/generate-skills.mjs:6import { execFileSync } from "node:child_process";scripts/mcp-launch.mjs:8import { spawn } from "node:child_process";- 看它调用哪些程序。调用本机已有的工具是常见做法。
- 以 shell 执行命令
shell-exec高关注1 处命中scripts/generate-skills.mjs:20execFileSync(- 看命令字符串是拼出来的还是写死的。拼接用户输入才是真正的风险。
- 发起网络请求
network需留意12 处命中dist/index.js:1495const response = await fetch(url, {dist/index.js:1520const response = await fetch(signUrl, {dist/index.js:2944const response = await fetch(`https://${host}/?${query}`, { headers: requestHeaders });…dbase/references/auth-and-rls.md:128const res = await fetch(`https://${envId}.api.tcloudbasegateway.com/v1/rdb/rest/orders?select=*`, {- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 含混淆或编码代码
obfuscated-code需留意11 处命中dist/index.js:130return "CloudBase \u5DF2\u590D\u7528\u672C\u673A\u767B\u5F55\u6001\u3002\u53EF\u76F4\u63A5\u8C03\u7528 mcp__cloudbase__*…dist/index.js:134"\u6253\u5F00\u8FD4\u56DE\u7684 verification URL\uFF0C\u5728\u6D4F\u89C8\u5668\u5B8C\u6210\u6388\u6743\u540E\u767B\u5F55…dist/index.js:1079var CLS_UNAVAILABLE_MESSAGE = "\u5F53\u524D\u73AF\u5883\u672A\u5F00\u901A\u65E5\u5FD7\u670D\u52A1";dist/index.js:1121str3(payload.message) ?? (signedIn ? "\u5DF2\u767B\u5F55" : "\u672A\u767B\u5F55\uFF0C\u8BF7\u9009\u62E9\u767B\u5F55\u65B…- 混淆本身不是恶意,但公开源码里出现大段混淆值得问一句为什么。
- 写入文件
writes-files需留意4 处命中dist/index.js:107mkdirSync(dirname(path), { recursive: true });dist/index.js:114writeFileSync(path, JSON.stringify(payload), "utf8");…se/references/site-onboarding.md:63node -e 'const fs=require("fs"),p=".cloudbase/project.json";fs.mkdirSync(".cloudbase",{recursive:true});let o={};try{o=J…- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 可终止进程
kills-processes需留意1 处命中scripts/mcp-launch.mjs:80process.kill(process.pid, signal);- 看它终止的是自己启动的进程,还是按名字匹配到的任意进程。
- 读取环境变量
reads-env一般49 处命中dist/index.js:101const override = process.env.CLOUDBASE_DSH_ENV_HINT_FILE;dist/index.js:119function buildMcpClientConfig(_env = process.env) {dist/index.js:204function resolveMcpLaunch(env = process.env, options = {}) {dist/index.js:304this.env = options.env ?? process.env;- 环境变量里常混有密钥。看它是否把整个 env 都读走。
- 接触凭据或密钥
credentials一般23 处命中dist/index.js:1233raw.access_token ?? raw.accessToken ?? raw.token ?? raw.TempSecretId ?? raw.apiKeydist/index.js:1545const apiKey = params?.apiKey;dist/index.js:2405const cred = rec3(credPayload.credentials ?? credPayload);…dbase/references/auth-and-rls.md:140headers: { Authorization: `Bearer ${process.env.CLOUDBASE_API_KEY}` },- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
- 读取文件
reads-files一般16 处命中dist/index.js:62if (existsSync(join(dir, "package.json"))) return dir;dist/index.js:177entries = readdirSync(npxRoot);dist/index.js:186mtime = statSync(bin).mtimeMs;…/references/lint-rules/README.md:40if (!existsSync(projectDir)) {- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 动态加载模块
dynamic-import一般14 处命中…ons/references/http-functions.md:133- Choose one Node.js module system and keep it consistent. For simple HTTP Functions, CommonJS is the safest default: us……ons/references/http-functions.md:134- If you intentionally use ES Modules, use `import ...` consistently and do not rely on CommonJS-only globals such as ba……/image-deploy-troubleshooting.md:115### What the docs require (section 1)…t/py/references/observability.md:56from cloudbase_agent.server.metrics import (- 动态导入本身无害,但会让依赖关系难以静态审阅。
- 文中出现远程脚本地址
remote-url-reference一般4 处命中…ns/references/calling-methods.md:79`https://raw.githubusercontent.com/TencentCloud/tencentcloud-sdk-python/master/tencentcloud/monitor/v20180724/models.py`…README.md:22curl -fsSL https://raw.githubusercontent.com/TencentCloudBase/CloudBase-AI-Toolkit/main/dsh-plugin/scripts/install.sh | …README.md:103curl -fsSL https://raw.githubusercontent.com/TencentCloudBase/CloudBase-AI-Toolkit/main/dsh-plugin/scripts/install.sh | ……erences/web-development/SKILL.md:166- Use the CDN only for static HTML pages, quick demos, embedded snippets, or README examples: `https://static.cloudbase.…- 只是文本里出现了远程脚本地址,没有看到加载它的调用。多半是文档或注释;若确实可疑,搜一下这个地址在包里的其他出现位置。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 可执行外部程序 | spawns-processes | 高关注 | 3 |
| 以 shell 执行命令 | shell-exec | 高关注 | 1 |
| 发起网络请求 | network | 需留意 | 12 |
| 含混淆或编码代码 | obfuscated-code | 需留意 | 11 |
| 写入文件 | writes-files | 需留意 | 4 |
| 可终止进程 | kills-processes | 需留意 | 1 |
| 读取环境变量 | reads-env | 一般 | 49 |
| 接触凭据或密钥 | credentials | 一般 | 23 |
| 读取文件 | reads-files | 一般 | 16 |
| 动态加载模块 | dynamic-import | 一般 | 14 |
| 文中出现远程脚本地址 | remote-url-reference | 一般 | 4 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 166 个文件,扫描于 2026-10-15。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
可信度
95
健康分 S
扣分项下方逐条附证据
- -5声明与实物不符:types-missingwarn:['./dist/index.d.ts']
认证等级 L2
- L0静态结构与契约✓sha512-2SX3GfMT8gPFx+3e… 与本地 tarball 复算一致,补丁与入口齐备,另有 1 项声明不一致(计入健康扣分)
- L1配置组合与依赖图✓跨包无 entry id 冲突,插入模块可解析,目录内 peer 满足
- L2隔离沙箱冒烟✓隔离 profile 安装成功,5.8s,层已挂载;宿主带它启动(booted)
- L3运行时健康监控—运行时观测到异常:spawns
评分口径与作者信息
从 100 分开始按规则扣减:fail −20 / major −10 / warn −5 / minor −2;star 数、下载量、LLM 输出都不参与评分
- 维护者
- starkwang、yhyang、binggg、fengkx、liuyanjie、justan、woodenstone、miusuncle、yuzhen、wedabot、joeyren、byronpiao、yandrewding、areo-joe、coylexie、lukejyhuang
- 仓库
- https://github.com/TencentCloudBase/CloudBase-AI-Toolkit
- 许可
- MIT
- 最后发布
- 2026-09-30
- 周下载
- 451
- star
- 1136
扫描状态:已扫描。能力是事实,不是缺陷; 周下载与 star 只作参考,不参与评分。
认证等级只回答四件事:包本身是否完整可解析(L0)、能不能与别的插件组合(L1)、隔离环境里装不装得上并起得来(L2)、抽样运行时有没有异常(L3)。依赖漏洞、仓库存活、下载量都不参与评级,只作为独立信号标注。可信 ≠ 无漏洞,上架 ≠ 推荐。
| DSH peer 依赖 | 1 个cordis均为 @deepseek-ai/ 下的包 |
|---|---|
| Node 要求 | >=18 |
| 第三方依赖 | 0 个(纯自包含) |
| bundle patch | ./cordis.patch.yml |
| 依赖安全公告 | 已查询全部依赖,没有匹配到已公开的安全公告(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。) |
元数据
| 主页 | https://github.com/TencentCloudBase/CloudBase-AI-Toolkit/tree/main/dsh-plugin |
|---|---|
| 仓库最近提交 | 2026-10-14 |
| 仓库创建 | 2025-05-23 |
DSH