D

dsh-plugin-autoevo

github.com/klarkxy/dsh-plugin-autoevo

v1.4.0 工具与效率 写入文件

Lightweight capability discovery, review, and installation workflow for DSH.

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

dshdsh-plugindsh-pluginscordisdeepseek-harnesscapability-reuse
分类
tools
发布
2026-09-25
版本
v1.4.0

检测报告

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

能力清单

  • 写入文件writes-files需留意5 处命中
    • lib/host-verification-driver.js:476appendFileSync(receiptPath, `${JSON.stringify(event)}\n`, {
    • lib/host-verification-driver.js:728mkdirSync(path.dirname(config.receiptPath), { recursive: true });
    • lib/verification-observer.js:22appendFileSync(receiptPath, `${JSON.stringify(event)}\n`, {
    • lib/verification-observer.js:57mkdirSync(path.dirname(config.receiptPath), { recursive: true });
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 接触凭据或密钥credentials一般28 处命中
    • lib/host-verification-driver.js:63if (surface.credentialsDependency || surface.credentialsRegistered) return true;
    • lib/host-verification-driver.js:211/** OS/runtime keys a verification child may inherit. Credentials are never listed. */
    • lib/host-verification-driver.js:278credentialsDependency: surface.credentialsDependency,
    • lib/host-verification-driver.js:279credentialsRegistered: surface.credentialsRegistered,
    • 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
  • 动态加载模块dynamic-import一般5 处命中
    • lib/index.d.ts:1230agent?: import('@deepseek-ai/dsh-agent').Agent;
    • lib/index.d.ts:1557import(specifier: string, parentURL: string, importAttributes: ImportAttributes): Promise<any>;
    • lib/index.d.ts:1589import(specifier: string, parentURL: string, importAttributes: ImportAttributes, phase?: ModulePhase, isEntryPoint?: boo…
    • lib/index.d.ts:1632import(name: string, getOuterStack?: () => string[]): any;
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
  • 读取环境变量reads-env一般1 处命中
    • lib/host-verification-driver.js:447function verificationChildEnv(dshHome, parent = process.env) {
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
逐条扫描明细
能力标识关注度命中次数
写入文件writes-files需留意5
接触凭据或密钥credentials一般28
动态加载模块dynamic-import一般5
读取环境变量reads-env一般1

这份报告的口径

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

依赖安全公告

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

等级依赖包编号摘要
高tarCVE-2026-26960Arbitrary File Read/Write via Hardlink Target Escape Through Symlink Chain in node-tar Extraction
修复版本:7.5.8 详情 →
中semverCVE-2022-25883semver vulnerable to Regular Expression Denial of Service
修复版本:5.7.2, 6.3.1, 7.5.2 详情 →
中tarCVE-2026-59873node-tar: Decompression/parse DoS via unlimited input
修复版本:7.5.19 详情 →
中tarCVE-2026-24842node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal
修复版本:7.5.7 详情 →
中tarCVE-2026-59874node-tar: Negative tar entry size causes infinite loop in archive replace
修复版本:7.5.18 详情 →
中tarCVE-2026-73566node-tar: Uncontrolled recursion in mapHas/filesFilter allows uncatchable stack-overflow DoS via crafted long-path tar with member selection
修复版本:7.5.21 详情 →
中tarCVE-2026-23950Race Condition in node-tar Path Reservations via Unicode Ligature Collisions on macOS APFS
修复版本:7.5.4 详情 →
中yamlCVE-2023-2251Uncaught Exception in yaml
修复版本:2.2.2 详情 →
低tarCVE-2026-59875node-tar: Uncaught Exception DoS via NUL byte in PAX path/linkpath records
修复版本:7.5.17 详情 →
低tarCVE-2026-59871node-tar: Process crash via PAX numeric path type confusion
修复版本:7.5.18 详情 →
低yamlCVE-2026-33532yaml is vulnerable to Stack Overflow via deeply nested YAML collections
修复版本:1.10.3, 2.8.3 详情 →
未分级tarCVE-2026-23745node-tar is Vulnerable to Arbitrary File Overwrite and Symlink Poisoning via Insufficient Path Sanitization
修复版本:7.5.3 详情 →

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

← 返回全部插件