D

dsh-codegraph

github.com/hrhgit/dsh-codegraph

v0.1.0 其他 可执行外部程序R013 清单可疑

`dsh-codegraph` 是 DeepSeek Harness 的问题驱动代码解释插件。它让主智能体在图比文字更清楚时,委派一个只读、可续接的调查子智能体,并在 better-sidebar 中展示一张有焦点、可核查的代码架构图。

作者原文(英文)

Question-driven code architecture scenes for DeepSeek Harness

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

deepseek-harnessdshcordiscodegrapharchitecturevisualization
分类
other
发布
2026-09-16
版本
v0.1.0

检测报告

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

能力清单

  • 可执行外部程序spawns-processes高关注1 处命中
    • lib/index.js:8import { spawn } from "node:child_process";
    • 看它调用哪些程序。调用本机已有的工具是常见做法。
  • R013 清单可疑manifest-obfuscation需留意1 处命中
    • 安装脚本: prepare
    • 清单被刻意写乱时,加载行为会难以预测。看原文而不是看渲染结果。
  • 动态加载模块dynamic-import一般32 处命中
    • lib/types/host/store/domain.d.ts:16sessions: import("@deepseek-ai/dsh-storage-domain").DomainTableSpec<string & z.core.$brand<"SessionId">, {
    • lib/types/host/store/domain.d.ts:44scenes: import("@deepseek-ai/dsh-storage-domain").DomainTableSpec<string & z.core.$brand<"SceneId">, {
    • lib/types/host/store/domain.d.ts:130child_bindings: import("@deepseek-ai/dsh-storage-domain").DomainTableSpec<string & z.core.$brand<"SceneId">, {
    • lib/types/client/graph/edges.d.ts:3declare function CodeGraphEdge(props: EdgeProps<SceneFlowEdge>): import("react").JSX.Element;
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
  • 读取文件reads-files一般2 处命中
    • lib/index.js:475const stream = createReadStream(absolutePath);
    • lib/index.js:617content = await readFile(resolved.absolutePath, {
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
逐条扫描明细
能力标识关注度命中次数
可执行外部程序spawns-processes高关注1
R013 清单可疑manifest-obfuscation需留意1
动态加载模块dynamic-import一般32
读取文件reads-files一般2

这份报告的口径

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

依赖安全公告

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

等级依赖包编号摘要
低zodCVE-2023-4316Zod denial of service vulnerability
修复版本:3.22.3 详情 →

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

← 返回全部插件