浏览全部

界面与主题 · v1.0.40

dsh-coding-sidebar

github.com/kkutysllb/dsh-coding-sidebar

能力可执行外部程序启动伪终端发起网络请求

dsh-coding-sidebar 是面向 DSH Web 的右侧编码工作台插件,也作为 QiLin Web 的第一方内置工作台使用。

作者原文(英文)

DSH web plugin: a VSCode-like right sidebar (explorer / editor / terminal / git / browser), isolated per conversation session. Exposes the betterSidebar service for other plugins to register sidebar tabs and file viewers. KCoder-maintained fork of DSH-bet

简介取自插件自己的 README 原文。

认证 L0已扫描 ✓健康 B/85周下载 285
9 项能力
许可
MIT
发布
2026-10-07
维护者
kkutysllb
插件 ID
1642

安装命令

dsh plugin --profile web add dsh-coding-sidebar@1.0.40

试装需批准构建脚本

安装过程会执行依赖的构建脚本,pnpm 默认拒绝执行这类脚本,需要人工批准后才能继续。本站不在无人值守的检查里替你批准。

检测报告

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

能力清单

  • 可执行外部程序spawns-processes高关注4 处命中
    • lib/index.js:10import { spawn } from "node:child_process";
    • src/git.ts:14import { spawn } from 'node:child_process'
    • src/github.ts:20import { spawn } from 'node:child_process'
    • src/open-external.ts:13import { spawn } from 'node:child_process'
    • 看它调用哪些程序。调用本机已有的工具是常见做法。
  • 启动伪终端spawns-pty需留意91 处命中
    • lib/index.js:2686* node-pty dependency loading for the host half (issue #140, plugin side).
    • lib/index.js:2689* node-pty, but the package must NEVER be imported statically at module
    • lib/index.js:2691* skipping node-pty's install script, a pruned store entry, a failed
    • lib/index.js:2696* Instead the host half loads node-pty lazily (synchronously, via
    • 伪终端等于给了一个完整 shell。确认这是插件的核心功能。
  • 发起网络请求network需留意28 处命中
    • lib/index.js:5924const res = await fetch("http://127.0.0.1:9223/json/list", { signal: AbortSignal.timeout(3e3) });
    • lib/index.js:5944let response = await fetch(parsed, {
    • lib/index.js:5951response = await fetch(parsed, {
    • lib/index.js:5958if (!(response.headers.get("content-security-policy") !== null || response.headers.get("x-frame-options") !== null) && !…
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • 写入文件writes-files需留意23 处命中
    • lib/index.js:631await mkdir(dirname(safeTarget), { recursive: true });
    • lib/index.js:653await rename(tmp, safeTarget);
    • lib/index.js:703* renames the link, not its target. A no-op rename (same name) succeeds
    • lib/index.js:718await rename(absolute, safeDestination);
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • R013 清单可疑manifest-obfuscation需留意1 处命中
    • 安装脚本: prepare
    • 清单被刻意写乱时,加载行为会难以预测。看原文而不是看渲染结果。
  • 动态加载模块dynamic-import一般54 处命中
    • lib/types/client/BrowserView.d.ts:16export declare function BrowserView(props: TabComponentProps): import("react").JSX.Element;
    • lib/types/client/BrowserView.d.ts:28}): import("react").JSX.Element;
    • lib/types/client/chunk-loader.d.ts:15* through window.__ModuleLoader__.load — the module loader's import() only
    • lib/types/client/chunk-loader.d.ts:25* `__DSH_MODULES__.import(spec)` — the seed-word branch, the one part of
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
  • 读取文件reads-files一般49 处命中
    • lib/index.js:354const dirents = await readdir(path, { withFileTypes: true }).catch((error) => {
    • lib/index.js:1070sendFile(() => createReadStream(path), {
    • lib/index.js:1086const stream = createReadStream(path, {
    • lib/index.js:1218const etag = `"${shortHash(await readFile(path))}"`;
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 读取环境变量reads-env一般20 处命中
    • lib/index.js:1382if (platform === "win32") return [join(process.env["ProgramFiles"] ?? "C:\\Program Files"), join(process.env["LOCALAPPDA…
    • lib/index.js:1583...process.env,
    • lib/index.js:2790const home = process.env.DSH_HOME !== void 0 && process.env.DSH_HOME.trim() !== "" ? process.env.DSH_HOME : join(homedir…
    • lib/index.js:2965env: { ...process.env }
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
  • 接触凭据或密钥credentials一般1 处命中
    • src/client/browser.ts:96if (url.username !== '' || url.password !== '') return { kind: 'blocked', reason: 'credentials' }
    • 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
逐条扫描明细
能力标识关注度命中次数
可执行外部程序spawns-processes高关注4
启动伪终端spawns-pty需留意91
发起网络请求network需留意28
写入文件writes-files需留意23
R013 清单可疑manifest-obfuscation需留意1
动态加载模块dynamic-import一般54
读取文件reads-files一般49
读取环境变量reads-env一般20
接触凭据或密钥credentials一般1

这份报告的口径

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

可信度

85 健康分 B 扣分项下方逐条附证据
  • -5需要批准构建脚本才能装(本站不代跑第三方代码)warn
  • -5cordis entry id「better-sidebar」被 2 个包共用,同时安装会互相替换warn:dsh-better-sidebar
  • -5目录内 peer @huanlin/dsh-plugin-better-locale 的版本范围不覆盖已发布版本warn:^0.1.0 vs 0.4.3

认证等级 L0

  • L0静态结构与契约✓sha512-IJ5yGSln2HUJUtku… 与本地 tarball 复算一致,补丁与入口齐备
  • L1配置组合与依赖图—entry id better-sidebar 被 2 个包共用;目录内 peer @huanlin/dsh-plugin-better-locale 的版本范围 ^0.1.0 不覆盖已发布 0.4.3
  • L2隔离沙箱冒烟—需要批准构建脚本——本站不代跑第三方代码
  • L3运行时健康监控—未抽样(本层是抽样检测:没有会话不等于干净)
评分口径与作者信息

从 100 分开始按规则扣减:fail −20 / major −10 / warn −5 / minor −2;star 数、下载量、LLM 输出都不参与评分

维护者
kkutysllb
仓库
https://github.com/kkutysllb/dsh-coding-sidebar
许可
MIT
最后发布
2026-10-07
周下载
285
star
0

扫描状态:已扫描。能力是事实,不是缺陷; 周下载与 star 只作参考,不参与评分。

认证等级只回答四件事:包本身是否完整可解析(L0)、能不能与别的插件组合(L1)、隔离环境里装不装得上并起得来(L2)、抽样运行时有没有异常(L3)。依赖漏洞、仓库存活、下载量都不参与评级,只作为独立信号标注。可信 ≠ 无漏洞,上架 ≠ 推荐。

DSH peer 依赖12 个cordisdsh-agentdsh-client-localedsh-client-ui-conversationdsh-client-ui-primitivesdsh-client-ui-settingsdsh-client-ui-slotsdsh-host-webserverdsh-llmdsh-sessiondsh-subagentdsh-tools均为 @deepseek-ai/ 下的包
Node 要求>=20
第三方依赖34 个
bundle patch./cordis.patch.yml
依赖安全公告36 条,见下方

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

等级依赖包编号摘要
严重dompurifyCVE-2026-41239DOMPurify has a SAFE_FOR_TEMPLATES bypass in RETURN_DOM mode
修复版本:3.4.0 详情
高xlsxCVE-2023-30533Prototype Pollution in sheetJS 详情
中dompurifyCVE-2026-65902DOMPurify: Hook mutation of `data.allowedTags` / `data.allowedAttributes` permanently pollutes `DEFAULT_ALLOWED_TAGS` / `DEFAULT_ALLOWED_ATTR`
修复版本:3.4.7 详情
中dompurifyCVE-2026-49458DOMPurify: Cross-realm IN_PLACE sanitization leaves executable markup intact via realm-bound `instanceof` checks
修复版本:3.4.6 详情
中dompurifyCVE-2026-49459DOMPurify: IN_PLACE mode preserves attributes of a clobbered root element, allowing XSS via attacker-controlled root DOM
修复版本:3.4.6 详情
中dompurifyCVE-2026-0540DOMPurify contains a Cross-site Scripting vulnerability
修复版本:2.5.9, 3.3.2 详情
中dompurifyCVE-2025-15599DOMPurify contains a Cross-site Scripting vulnerability
修复版本:3.2.7 详情
中dompurifyCVE-2026-41238DOMPurify: Prototype Pollution to XSS Bypass via CUSTOM_ELEMENT_HANDLING Fallback
修复版本:3.4.0 详情
中wsCVE-2026-45736ws: Uninitialized memory disclosure
修复版本:8.20.1 详情
中wsCVE-2026-48779ws: Memory exhaustion DoS from tiny fragments and data chunks
修复版本:5.2.5, 6.2.4, 7.5.11 详情
中xlsxCVE-2024-22363SheetJS Regular Expression Denial of Service (ReDoS) 详情
低mermaidCVE-2026-41150Mermaid Gantt Charts are vulnerable to an Infinite Loop DoS
修复版本:10.9.6, 11.15.0 详情

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

元数据

主页https://github.com/kkutysllb/dsh-coding-sidebar#readme
仓库最近提交2026-10-08
仓库创建2026-09-01

返回首页