dshbase

插件目录 / Developer / dsh-release-proof

dsh-release-proof

已验证 · 实测可装 dongsheng123132

✓ 持续维护 基于 1 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

3Stars
0Forks
0未关闭 issue
JavaScript语言
2026-08-14最近推送
跨平台平台

功能简介

Developer 类别的 DeepSeek Harness 插件。

✅
我们的评价
可用 — 实测通过,早期项目

Developer 类别的 DeepSeek Harness 插件。 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

dsh-release-proof

CI
MIT license
Node.js 22+
Awesome DSH Plugins

Reproducible multi-source release evidence for DeepSeek Harness.

dsh-release-proof downloads every mirror declared in an explicit release manifest, verifies HTTP status, advertised and actual byte length, SHA-256, and release version, then writes a content-addressed JSON evidence file. It is aimed at the gap between “CI passed” and “users are receiving the same release from every download endpoint.”

Version 0.2.0 is a formal Codex plugin and standalone MCP server, and uses the namespace export shape required by the stock DSH Web Loader. A real Cordis boot regression test guards that loader contract.

This tool proves transport and mirror consistency against values supplied by the manifest. It does not prove publisher identity or verify signed release attestations; use a signature/provenance verifier alongside it when that is part of your threat model.

Safety model

  • Anonymous HTTP(S) only: source credentials, custom headers, cookies, query strings, and URL fragments are rejected.
  • Every request has a manifest-bounded timeout, redirect count, and maximum response size.
  • A worker pool caps total concurrent source checks (1–16).
  • The manifest must declare the expected version, bytes, and SHA-256; each artifact needs at least two sources.
  • The only write target is the explicit, workspace-relative artifactDir. Traversal and symlink escape are rejected.
  • Evidence is content addressed, written exclusively, read back, and SHA-256 verified.
  • Evidence contains no timestamps or latency measurements, so identical observations produce byte-identical JSON.

Install in DSH

dsh plugin --profile web add github:dongsheng123132/dsh-release-proof

The package exposes a standard DSH bundle through package.json#dsh.bundle.patch and registers:

  • dsh_release_proof_inspect — safely summarize a manifest without returning URLs.
  • dsh_release_proof_verify — verify all sources and write a proof artifact.

Typical tool arguments:

{
  "manifestPath": "release/release-manifest.json",
  "artifactDir": "release/evidence"
}

MCP

The plugin also exposes a standalone stdio MCP server through .mcp.json:

  • release_manifest_inspect
  • release_verify

MCP accepts an explicit inline manifestJson of at most 1 MiB. It does not read or write the filesystem. Verification still uses anonymous HTTP(S), the manifest's timeout/concurrency/redirect/byte limits, and returns a deterministic content-address descriptor that can be recomputed by the caller.

CLI

dsh-release-proof inspect \
  --root /path/to/workspace \
  --manifest release/release-manifest.json

dsh-release-proof verify \
  --root /path/to/workspace \
  --manifest release/release-manifest.json \
  --artifact-dir release/evidence

Exit code 0 means every check passed, 2 means a valid proof was written but the release failed verification, and 1 means an operational or manifest error.

Manifest

See examples/release-manifest.example.json. A source can obtain the version from an artifact response header:

{ "kind": "header", "name": "x-release-version" }

or an anonymous JSON sidecar:

{ "kind": "json", "url": "https://downloads.example.com/version.json", "field": "release.version" }

field is a dot-separated object path. Redirect targets receive the same anonymous-URL validation before they are requested.

Develop

npm test
npm run check
npm run smoke:plugin
npm run smoke:mcp
python C:/Users/ZhuanZ/.codex/skills/.system/plugin-creator/scripts/validate_plugin.py .

Requires Node.js 22 or newer. The package has no install lifecycle scripts and no runtime dependencies beyond the optional DSH tool SDK peer.

License

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-release-proof」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:dongsheng123132/dsh-release-proof

Headless(CLI)profile:

dsh plugin --profile headless add github:dongsheng123132/dsh-release-proof

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

使用场景

扩展 agent 的编码能力面——给它一个新工具、工作流或集成,让它接手以前做不了的开发任务。

适合谁

想让 dsh 在真实代码库上像队友一样干活的开发者——能改、能跑、能验证,而不只是回答问题。

二次开发建议

工具/命令面就是缝:暴露更多 SDK 能力、加更聪明的上下文接线,或收紧改代码与验证之间的循环。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7797 个插件 →