dsh-duty-separation-proofv0.1.1

dongsheng123132/dsh-duty-separation-proof

安全管理 MIT 最近更新 2026-11-06
0Stars
0Forks
0待解决 Issue
安装命令 dsh plugin --profile web add github:dongsheng123132/dsh-duty-separation-proof#0e8ca7c513b9f7b30d42c64536dde5aa732928fe

介绍

Offline content-addressed duty-separation evidence for supplied DSH workflow receipts

标签

audit-evidence deepseek-harness dsh dsh-plugin mcp separation-of-duties

概述

dsh-duty-separation-proof

Maintainer / Author:贺去病 (He Fangsheng / Dosen) · hequbing.com

Offline, deterministic evidence that one supplied DSH workflow kept declared duties apart. It validates exact request/approval/execution/observation order, hash-bound object and workflow identity, receipt-chain continuity, disjoint principal sets, approval quorum, principal/observer diversity and freshness. It writes only a redacted, content-addressed JSON verdict.

This is not an authorization system. It does not grant roles, approve requests, execute changes, authenticate receipts, inspect live systems, or prove that the supplied ledger is exhaustive.

Why this is a separate layer

NIST distinguishes static, dynamic, object-based, operational and history-based separation of duties. This plugin implements a narrow post-hoc evidence layer for one supplied workflow object. It complements:

  • dsh-guarded-hcl, whose separation is specific to optimizer/evaluator/policy/commit-controller boundaries;
  • dsh-decision-effect-proof, which reconciles authorization decisions with effects;
  • dsh-artifact-promotion-proof, which verifies an artifact's promotion chain;
  • dsh-access-review-proof, which verifies entitlement recertification closure.

Here, the question is only: did the supplied hash-linked workflow receipts satisfy the declared duty-conflict policy?

Use

npm test
npm run check
node bin/dsh-duty-separation-proof.mjs inspect examples/settled.json
node bin/dsh-duty-separation-proof.mjs verify examples/settled.json

The DSH bundle exposes dsh_duty_separation_inspect and dsh_duty_separation_verify. The standalone MCP server exposes equivalent proof-only inline tools.

Manifest boundary

All workflow, object, revision, policy, principal, observer and receipt identities are lowercase SHA-256 values. The only public identifier is a bounded proofId, and reports contain only its hash. The required sequence starts with request, contains execute, ends with observe, and may contain multiple approve stages. disjointDutySets and quorum thresholds are explicit policy input.

Reports intentionally say authenticatesReceipts: false, provesLedgerExhaustive: false, and provesAbsenceOfUndeclaredActions: false.

References

MIT licensed.

星级评价

0.0 按 GitHub Stars 换算的社区热度,非用户打分
Stars0
Forks0
待解决 Issue0
最近更新2026-11-06

基本信息

作者dongsheng123132
版本0.1.1
开源许可MIT
默认分支main
入库时间2026-11-06

插件信息来自公开 GitHub 仓库与 SkillHub,版权归原作者所有;安装前请自行审查仓库代码。