030611/qiushi-dsh-evidence-audit 预览 preview

030611/qiushi-dsh-evidence-audit

Plugin插件 Native原生 ⭐ 3 MIT Approval & Security审批与安全

DeepSeek Harness 的仅观察型哈希链证据收据

Project Overview项目介绍

Qiushi DSH Evidence Audit is a native observe-only profile bundle built exclusively for DeepSeek Harness. It listens to DSH’s official tools/result and session/event extension points to append deterministic, hash-chained JSONL evidence receipts, and never stores plaintext prompts, tool arguments, or session data. It requires Node.js version ^22.19.0 or >=24.0.0 as a prerequisite, and is tested against a specific pinned commit of DSH. To install, users run the command dsh plugin --profile <your-profile> add qiushi-dsh-evidence-audit via the DSH CLI, and can remove it just as easily with the remove subcommand.

This plugin is designed for developers and compliance teams that need to audit and trace DSH execution history. On startup, it automatically verifies the integrity of any existing evidence chain, and will refuse to append new records if it detects tampering, truncation, or broken hash links. It creates the output directory with owner-only POSIX permissions 0700 and the file with 0600, which helps restrict unauthorized access to the evidence receipts by default. Each line in the output file includes a SHA-256 hash of the previous line, creating a chained structure that makes unauthorized edits detectable. Default output path is $DSH_HOME/evidence-audit/evidence-receipts.jsonl, falling back to ~/.dsh/... if DSH_HOME is not set.

This plugin has several important limitations users should be aware of. It cannot detect full file deletion, removal of a complete suffix, or malicious re-chaining of records by an attacker, since the hash chain is unkeyed and has no external trust anchor. Concurrent writes from multiple DSH processes to the same file can cause invalid sequences, so users should use one output file per process to avoid this issue. The project is released under the permissive MIT license, and all public tests are open source for any independent third-party verification.

这是一个为 DeepSeek Harness (DSH) 开发的原生插件,属于 qiushi 信任层工具集合,专门用于为 DSH 的执行过程生成可本地校验的审计证据链。它通过监听 DSH 官方的 tools/result 和 session/event 扩展点,生成带哈希链接的 JSONL 格式证据收据,全程不存储明文提示、工具参数或会话结果。用户可通过 DSH CLI 执行指定命令一键完成安装,移除也通过 CLI 操作。

该插件主要面向需要对 DSH 执行过程进行审计追溯的开发者和安全合规团队。在典型工作流中,插件启动后会自动验证已有证据链的完整性,如果发现篡改、截断等问题会拒绝追加新记录,只有完整有效的链才会允许继续写入。默认输出路径为 $DSH_HOME/evidence-audit/evidence-receipts.jsonl,未设置 DSH_HOME 时则默认写入用户目录下的 .dsh 文件夹。

该插件要求 Node.js 版本不低于 22.19.0 或 24.0.0,仅兼容特定 commit 版本的 DSH,目前测试兼容的 DSH commit 为 47f94385。需要注意它无法提供防篡改的绝对保证,因为哈希链无外部锚点,也不提供数字签名。项目采用 MIT 许可证开源,你可以自由使用和修改,但需自行承担相关风险。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add qiushi-dsh-evidence-audit

把 030611/qiushi-dsh-evidence-audit 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

Qiushi DSH Evidence Audit

English | 简体中文

npm version CI license featured on dsh-suite

Qiushi DSH Evidence Audit social preview

Leave a locally checkable execution trail without storing prompts, tool arguments, tool results, or session IDs in plaintext.

dsh plugin --profile web add qiushi-dsh-evidence-audit

Community-maintained and not an official DeepSeek project. Related trust-layer plugins: Telemetry Redactor, Verification Receipt, and Context Provenance.

Qiushi DSH Evidence Audit is an observe-only DeepSeek Harness Profile Bundle. It listens to the official tools/result and session/event extension points and appends deterministic, hash-chained JSONL evidence receipts. It never registers a model-facing tool, changes a prompt, transforms a tool result, or appends to a session.

Evidence Audit data flow: DSH observations are canonicalized and hashed into a private JSONL chain, while observed plaintext is omitted

Install from npm

Prerequisites are Node.js ^22.19.0 || >=24.0.0 and a DSH installation built from the tested commit.

dsh plugin --profile <profile> add qiushi-dsh-evidence-audit
dsh --profile <profile> --dump-config

The config dump should contain a row with id qiushi-evidence-audit and name qiushi-dsh-evidence-audit. Receipts then default to $DSH_HOME/evidence-audit/evidence-receipts.jsonl, or ~/.dsh/evidence-audit/evidence-receipts.jsonl when DSH_HOME is unset. If running DSH from its source checkout, replace dsh with that checkout's documented pnpm dsh launcher.

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-multimodal 下一个 Next dsh-skin-switcher →