D

dsh-plugin-mtsa

dsh-plugin-mtsa

v0.1.1 技能包 写入文件动态执行代码

MTS Analytics for DeepSeek Harness: token-managed MCP connection (mcp__mtsa__* tools through the official dsh-mcp-client) plus the "MTS Analytics" agent preset with bundled mtsa-* skills.

该插件尚未翻译,显示作者原文。

dshdsh-plugindeepseek-harnessmcpmtsamts-analyticsanalytics
分类
skill
发布
2026-10-01
版本
v0.1.1

检测报告

有一定能力。命中了若干能力模式,大多是插件正常工作时会用到的。
2需留意3一般19未命中
高关注需留意一般

能力清单

  • 写入文件writes-files需留意6 处命中
    • lib/index.js:235if (!existing) await writeFile(filePath, FRESH_FILE_HEADER, "utf8");
    • lib/index.js:237await copyFile(filePath, backupPath);
    • lib/index.js:264await writeFile(tmpPath, next, "utf8");
    • lib/index.js:265await rename(tmpPath, filePath);
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 动态执行代码dynamic-code需留意2 处命中
    • lib/client.js:402new Function("");
    • lib/typert.host.js:127new Function("");
    • 看 eval / new Function 的入参来自哪里。常量字符串和用户输入是两回事。
  • 接触凭据或密钥credentials一般7 处命中
    • lib/client.js:155type: "password",
    • lib/client.js:238note_plaintext: "The token is stored in plaintext in the profile cordis.patch.yml — treat the file as a secret.",
    • lib/client.js:241note_history: "Disconnect disables the row and blanks the credential; older blocks in the patch file may still hold prev…
    • lib/client.js:5436* Secret VALUES never cross the wire: the token's presence is reported as
    • 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
  • 读取文件reads-files一般6 处命中
    • lib/index.js:230await readFile(filePath, "utf8");
    • lib/index.js:257let content = await readFile(filePath, "utf8");
    • lib/index.js:272if (!(await readFile(filePath, "utf8")).includes(fragment)) throw new Error("dsh-plugin-mtsa: the appended patch fragmen…
    • lib/index.js:281names = (await readdir(dir)).filter((name) => name.startsWith(prefix));
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 读取环境变量reads-env一般2 处命中
    • lib/index.js:6250if (node_process.env.LOG_TOKENS) console.log("|", cst.prettyToken(source));
    • README.md:64`Authorization: !!js '`Bearer ${process.env.MTSA_TOKEN}`'` — see
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
逐条扫描明细
能力标识关注度命中次数
写入文件writes-files需留意6
动态执行代码dynamic-code需留意2
接触凭据或密钥credentials一般7
读取文件reads-files一般6
读取环境变量reads-env一般2

这份报告的口径

扫描读的是包里的源码,全程不执行第三方代码。 本次读了 21 个文件,扫描于 2026-10-15。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。

依赖安全公告

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

等级依赖包编号摘要
中yamlCVE-2023-2251Uncaught Exception in yaml
修复版本:2.2.2 详情 →
低yamlCVE-2026-33532yaml is vulnerable to Stack Overflow via deeply nested YAML collections
修复版本:1.10.3, 2.8.3 详情 →
低zodCVE-2023-4316Zod denial of service vulnerability
修复版本:3.22.3 详情 →

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

← 返回全部插件