D

dsh-record-replay

github.com/kangshifu1/dsh-record-replay

v0.2.0 会话与记忆 发起网络请求写入文件含混淆或编码代码
认证 L2已扫描 ✓健康 C/70周下载 119

1. **会话回放**:DSH 自动录制每一场会话(`~/.dsh/sessions/session.jsonl.zstd`),本插件把它变成可用资产——时间线回放、导出/导入可分享的回放包、一键复刻到全新会话重新执行。 2. **录屏 → 生成技能**(Codex Record & Replay 同款):在浏览器里录下你的屏幕操作(computer use,`getDisplayMedia` → webm 视频 + 采样帧),回放查看

作者原文(英文)

Record & Replay for the dsh web GUI: (1) replay every automatically recorded session as a readable timeline, export/import shareable replay packs, re-run a recorded conversation; (2) Codex-style screen recording -> skill generation - record a computer-use

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

dshdsh-pluginrecordreplaysessionscreen-recordingskillworkflow
发布
2026-08-16

检测报告

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

能力清单

  • 发起网络请求network需留意42 处命中
    • lib/client/api.js:38const response = await fetch(API_BASE + '/recordings', {
    • lib/client/api.js:47const response = await fetch(API_BASE + '/recording' + query({ id, part: 'video' }), {
    • lib/client/api.js:54const response = await fetch(API_BASE + '/recording' + query({ id, name }), {
    • lib/client/api.js:62const response = await fetch(API_BASE + '/recordings');
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • 写入文件writes-files需留意27 处命中
    • lib/client.js:8260await driver.rename("技能生成:" + recording.title).catch(() => {});
    • lib/client.js:8848await driver.rename(`回放:${title}`).catch(() => {});
    • lib/pack-store.js:17await mkdir(this.root, { recursive: true });
    • lib/pack-store.js:24await writeFile(file, JSON.stringify(pack, null, 2), 'utf8');
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 含混淆或编码代码obfuscated-code需留意9 处命中
    • lib/index.d.ts:34export declare const RECORD_REPLAY_GUIDANCE = "\u672C\u673A\u5DF2\u5B89\u88C5 dsh-record-replay \u63D2\u4EF6\uFF08DSH \u…
    • 混淆本身不是恶意,但公开源码里出现大段混淆值得问一句为什么。
  • 客户端可疑脚本client-side-risk需留意2 处命中
    • client.js: postMessage 无 origin 校验; client.js: innerHTML + postMessage
    • 浏览器侧代码能改你看到的界面。确认改动范围符合插件用途。
  • 读取文件reads-files一般26 处命中
    • lib/pack-store.js:39files = await readdir(this.root);
    • lib/pack-store.js:75const text = await readFile(join(this.root, `${id}.json`), 'utf8');
    • lib/recording-store.js:28const text = await readFile(join(this.dir(id), 'metadata.json'), 'utf8');
    • lib/recording-store.js:80entries = await readdir(this.root);
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 动态加载模块dynamic-import一般9 处命中
    • lib/index.d.ts:21export declare const RECORD_REPLAY_SETTINGS_NAMESPACE: import("@deepseek-ai/dsh-settings").SettingsNamespace;
    • lib/client/panel/RecordTab.d.ts:6}): import("react").JSX.Element;
    • lib/client/panel/ReplayPanel.d.ts:24export declare function ReplayPanel({ controller, api, runtime }: ReplayPanelProps): import("react").JSX.Element;
    • lib/client/panel/RunModal.d.ts:9}): import("react").JSX.Element;
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
  • 读取环境变量reads-env一般2 处命中
    • lib/paths.js:8export const DSH_HOME = process.env.DSH_HOME ?? join(homedir(), '.dsh');
    • src/paths.ts:9export const DSH_HOME = process.env.DSH_HOME ?? join(homedir(), '.dsh')
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
  • 接触凭据或密钥credentials一般1 处命中
    • lib/client.js:2648return b && ("input" === b && ("text" === a.type || "search" === a.type || "tel" === a.type || "url" === a.type || "pass…
    • 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
逐条扫描明细
能力标识关注度命中次数
发起网络请求network需留意42
写入文件writes-files需留意27
含混淆或编码代码obfuscated-code需留意9
客户端可疑脚本client-side-risk需留意2
读取文件reads-files一般26
动态加载模块dynamic-import一般9
读取环境变量reads-env一般2
接触凭据或密钥credentials一般1

这份报告的口径

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

依赖安全公告

已查询这个插件声明的全部依赖,没有匹配到已公开的安全公告。(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)

可信度

70 健康分 C 扣分项下方逐条附证据
  • -20宿主启动时导入失败fail:record-replay
  • -10声明与实物不符:entry-missingmajor:['./lib/types/client/index.d.ts', './lib/types/index.d.ts', './lib/types/invariant.d.ts', 'lib/types/index.d.ts']

认证等级 L2

  • L0内容完整性✓sha512-AX/JXhzcNondSqE/… 与本地 tarball 复算一致
  • L1来源✓维护者 kangxiaolin,仓库 kangshifu1/dsh-record-replay(未做仓库审计)
  • L2发行✓隔离 profile 安装成功,4.4s,层已挂载
  • L3生态—声明与实物不符:entry-missing
  • L4多方独立验证—本站不做第三方独立背书
评分口径与作者信息

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

维护者
kangxiaolin
仓库
https://github.com/kangshifu1/dsh-record-replay
许可
Apache-2.0
最后发布
2026-08-16
周下载
119
star
0

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

认证等级核验的是这个包本身(内容指纹、来源、能否安装、声明是否属实);依赖漏洞是独立标注的,两者正交、不互相掩盖。可信 ≠ 无漏洞,上架 ≠ 推荐。

← 返回全部插件