D

dsh-vision-toolkit

github.com/Anionex/dsh-vision-toolkit

v0.1.46 界面与主题 可执行外部程序写入文件可终止进程

🚀 粘贴图片,直接提问 | 一行命令安装即用 | 场景丰富

作者原文(英文)

DeepSeek Harness-native integration for agent-vision-toolkit: image Q&A, OCR, grounding, UI restoration, pixel diff, Artifacts, and Web UI.

中文简介由 DeepSeek 模型翻译,仅供参考。

deepseekdeepseek-harnessagent-vision-toolkitagent-skillstext-only-llmvision-language-modelvision-toolsvision-skills
分类
ui
发布
2026-10-01
版本
v0.1.46

检测报告

关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
1高关注4需留意4一般15未命中
高关注需留意一般

能力清单

  • 可执行外部程序spawns-processes高关注4 处命中
    • lib/plugin-update.js:9import { spawn } from 'node:child_process';
    • lib/plugin-update.js:39const { spawn } = require('node:child_process')
    • src/plugin-update.ts:10import { spawn } from 'node:child_process'
    • src/plugin-update.ts:159const { spawn } = require('node:child_process')
    • 看它调用哪些程序。调用本机已有的工具是常见做法。
  • 写入文件writes-files需留意122 处命中
    • lib/artifact-access.js:112await mkdir(root, { recursive: true, mode: 0o700 });
    • lib/artifact-access.js:123await writeFile(path, candidate, { flag: 'wx', mode: 0o600 });
    • lib/image-input-variants.js:106await writeFile(writePath, Buffer.from(data), { mode: 0o600, flag: 'wx' });
    • lib/image-input-variants.js:116await writeFile(file, Buffer.from(data), { mode: 0o600 });
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 可终止进程kills-processes需留意11 处命中
    • lib/plugin-update.js:46try { process.kill(pid, 0); return true }
    • lib/plugin-update.js:106else process.kill(-child.pid, signal)
    • lib/plugin-update.js:378process.kill(-helper.pid, 'SIGTERM');
    • lib/plugin-update.js:390process.kill(-helper.pid, 'SIGKILL');
    • 看它终止的是自己启动的进程,还是按名字匹配到的任意进程。
  • 发起网络请求network需留意9 处命中
    • lib/client.js:34const response = await fetch(exports.DISPLAY_CONFIG_ROUTE, { cache: 'no-store' });
    • lib/client.js:698const response = await fetch(SETTINGS_ROUTE, { credentials: 'same-origin', ...init });
    • lib/client.js:1771request = fetch(`${exports.PASTE_POLICY_ROUTE}?${query.toString()}`);
    • lib/client.js:2030const body = await responseJson(await fetch(`${exports.PASTE_IMAGES_ROUTE}?${query.toString()}`, {
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • 运行时改写自身配置modifies-own-manifest需留意2 处命中
    • lib/plugin-update.js:455await writeFile(join(dir, 'package.json'), manifest, { mode: 0o600 });
    • src/plugin-update.ts:558await writeFile(join(dir, 'package.json'), manifest, { mode: 0o600 })
    • 运行时改写自身配置会让下次启动的行为和你看过的源码不一致。
  • 接触凭据或密钥credentials一般575 处命中
    • lib/client.js:88const BUILT_IN_FREE_VISION_CREDENTIAL = 'ANIONEX_FREE_VISION';
    • lib/client.js:103apiKey: 'API key',
    • lib/client.js:104apiKeyPlaceholderMissing: 'Paste the API key',
    • lib/client.js:105apiKeyPlaceholderConfigured: 'Saved; leave blank to keep it',
    • 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
  • 读取文件reads-files一般90 处命中
    • lib/artifact-access.js:100const key = await readFile(path);
    • lib/artifact-access.js:378const stream = opened.handle.createReadStream({ autoClose: true });
    • lib/paths.js:407for (const entry of await readdir(current, { withFileTypes: true })) {
    • lib/plugin-update.js:50try { return JSON.parse(readFileSync(payload.lockPath, 'utf8')) }
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 读取环境变量reads-env一般20 处命中
    • lib/paths.js:28export function platformTempDirectory(platform = process.platform, environment = process.env) {
    • lib/plugin-update.js:123env: process.env,
    • lib/plugin-update.js:144env: process.env,
    • lib/plugin-update.js:344return process.env.DSH_HOME?.trim() || join(homedir(), '.dsh');
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
  • 动态加载模块dynamic-import一般3 处命中
    • lib/client.js:2157if (__modules[id] === undefined) return require(id);
    • lib/client.js:2160__modules[id](module, module.exports, require, function(request) { var resolved = __resolve(id, request); return __modul…
    • lib/types/evidence-cache.d.ts:15evidence: import("@deepseek-ai/dsh-storage-domain").DomainTableSpec<EvidenceRecordKey, string>;
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
能力标识关注度命中次数
可执行外部程序spawns-processes高关注4
写入文件writes-files需留意122
可终止进程kills-processes需留意11
发起网络请求network需留意9
运行时改写自身配置modifies-own-manifest需留意2
接触凭据或密钥credentials一般575
读取文件reads-files一般90
读取环境变量reads-env一般20
动态加载模块dynamic-import一般3

这份报告的口径

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

依赖安全公告

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

等级依赖包编号摘要
严重undiciCVE-2026-13697undici vulnerable to cross-user information disclosure and parse-time crash via degenerate private cache directives
修复版本:7.29.0, 8.9.0 详情 →
严重undiciCVE-2025-22150Use of Insufficiently Random Values in undici
修复版本:5.28.5, 6.21.1, 7.2.3 详情 →
严重undiciCVE-2026-85152undici vulnerable to cross-origin cache poisoning via missing origin isolation in interceptors
修复版本:8.10.2 详情 →
严重undiciCVE-2026-84961undici vulnerable to TLS certificate validation bypass via dropped connect options in BalancedPool
修复版本:7.29.1, 8.10.2 详情 →
高tarCVE-2026-26960Arbitrary File Read/Write via Hardlink Target Escape Through Symlink Chain in node-tar Extraction
修复版本:7.5.8 详情 →
中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 详情 →
中undiciCVE-2026-84933undici vulnerable to cross-user cookie disclosure via Set-Cookie caching in shared caches
修复版本:7.29.1, 8.10.2 详情 →
中undiciCVE-2026-1525Undici has an HTTP Request/Response Smuggling issue
修复版本:6.24.0, 7.24.0 详情 →

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

← 返回全部插件