Hyperionjust/dsh-tool-underseal

Project Overview项目介绍

Hyperionjust/dsh-tool-underseal is a native plugin built exclusively for DeepSeek Harness (DSH), that implements the Underseal hash-sealed file authorization protocol for bounded delegated work between AI agents. To install the plugin, simply run the DSH CLI command dsh plugin add dsh-tool-underseal, which automatically mounts two layers: underseal for core protocol operations and underseal-guard for access control. It has been fully tested on DSH 0.1.0-rc.5, with a full end-to-end smoke test confirming that all core workflow steps run correctly. The plugin wraps the pre-vendored Underseal Python adapter, and only acts as a process shell to spawn the adapter without reimplementing any core validation logic.

The plugin is targeted at developers who need to enforce strict permission boundaries for AI worker agents working on delegated development tasks. A typical full workflow runs through five ordered steps: doctor checks the environment for compatibility, then the user seals the authorized assignment, workers start working, all activities are audited, and finally the authorization is retired once the task completes. The plugin also ships with a pre-written DSH skill document that outlines the delegation workflow aligned with DSH conventions, and includes reference files to help users understand proper implementation. New users can follow the documented steps without extra custom configuration or setup.

The plugin is released under the open-source Apache-2.0 license, and requires a working Python interpreter available on the host system’s PATH, since the core validation logic runs on the pre-vendored Python adapter. Known limitations include no custom UI cards for tool outputs, no resident filesystem watcher to alert on unexpected changes to plugin files, and the guard layer only blocks unauthorized tool dispatches at the pipeline level, not as a full operating system sandbox. After first installation, users should run the included smoke test to confirm compatibility with their installed version of DSH, as published peer dependency ranges may have drifted from the originally tested version.

这是一款专为 DeepSeek Harness(DSH)开发的原生安全授权插件,基于 Underseal 哈希密封文件授权协议,为 AI 代理之间的边界工作委托提供权限管控。它通过 DSH 的插件管理命令 dsh plugin add dsh-tool-underseal 即可安装,会自动为 DSH 挂载 underseal 和 underseal-guard 两个功能层,支持完整授权流程从检查密封到启动、事件记录、审计再到下线的全链路运行。

本插件面向需要管控 AI 工作代理权限的开发人员,典型工作流为:完成插件安装后,先通过医生检查确认环境合规,再密封授权文件,之后启动工作代理,运行过程中会持续审计权限,最后完成任务后下线授权。插件还附带了一份 DSH 格式的技能文档,明确记录了在 DSH 中使用 Underseal 协议的委托工作流,方便用户快速上手遵循规范流程操作。

本插件采用 Apache-2.0 开源许可证,需要主机环境预装 Python 解释器,核心验证逻辑由预装的 Python 适配器提供,本插件仅作为进程调用外壳,不会重新实现验证逻辑。已知限制包括无自定义 UI 卡片、暂未实现常驻文件变化监听器、权限防护仅为流程关卡而非操作系统沙箱,安装后建议重新运行冒烟测试确认版本兼容性。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
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 dsh-tool-underseal

把 Hyperionjust/dsh-tool-underseal 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-tool-underseal

English | 中文

CI npm license

The one-breath pitch: chat is transport, not authorization. Authority is a hash-sealed assignment file; evidence is append-only and re-derivable by any third party; and every boundary fails closed — sealed tools, a worker check-in lock, and byte-pinned supply-chain sentinels — behind a single dsh plugin add dsh-tool-underseal.

Tested on DSH 0.1.0-rc.5 — runtime mounting smoke test passed: dsh plugin add + dsh --dump-config mounts both layers (underseal and underseal-guard), and the full ceremony chain (doctor → seal → start → event → audit → retire) ran end to end through the vendored adapter in a real Git repository. Two field notes: when dsh plugin add takes a local path containing spaces, wrap it in literal double quotes (dsh plugin --profile p add '"D:\Project Hyperion\A_Deepseek Harness Workspace\underseal-dsh"') — the CLI joins pnpm args through a shell without quoting; and after sealing, commit the lead plane (.underseal/, .underseal-runs/) before the worker starts — the normative scope audit fails closed on uncommitted control-plane files (see the bundled skill).

Model-facing typed tools that wrap the frozen, reviewed underseal adapter for the DeepSeek Harness.

Underseal is a hash-sealed, file-authorization protocol for delegating bounded work between AI agents. Its frozen Python verifier is the only authority; this package is a process shell only — it never reimplements validation. Each tool spawns the vendored adapter through the ctx.subprocess seam, requires the adapter's canonical UNDERSEAL_ADAPTER_* marker, and throws with the adapter's E_* diagnostic on failure.

The package also ships a DSH skill (skills/underseal-delegation/SKILL.md) that documents the delegation workflow in DSH terms (subagent / subagent_fork / workflow / goal), and reference files under skills/underseal-delegation/references/.

Field record: the ceremony's shape in production

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-agentfuse-plugin 下一个 Next dsh-mobile →