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
检测报告
关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
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 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。