dongsheng123132/dsh-profile-lock-proof

dongsheng123132★ 1JavaScript最后同步: 2026-08-14

在 GitHub 打开

Content-addressed proof that a DSH profile declaration, pnpm lock and installed bundles agree

README 摘要

dsh-profile-lock-proof dsh-profile-lock-proof produces a content-addressed, machine-readable proof that a DeepSeek Harness profile's dependency declaration, pnpm lock importer, installed package manifests, and each package's declared dsh.bundle.patch agree. It is deliberately narrower than an SBOM, CVE scanner, signature verifier, or installer. It does not execute packages, contact the network, mutate a profile, or return manifest, lockfile, patch, script-command, or secret contents. Proof boundary - Input paths are workspace-relative regular files; traversal and symlinks are rejected. - Profile and lockfile bytes must match the SHA-256 values in an explicit proof manifest. - Dependency specifiers must be exact semver or github:owner/repo . - The pnpm importer specifier, installed name/version/package hash, bundle patch path/hash, and absence of lifecycle hooks must all agree. - Missing, stale, invalid, mutable, mismatched, or lifecycle-script-bearing evidence fails closed. - Output contains identities, classifications, hashes, status, and disclosure only. Reports are written atomically under an explicit artifactDir and read back. CLI Exit 0 means a verified proof, 2 means verifica…

在 GitHub 查看完整 README →
Agentsai-agentdeepseek-harnessdshdsh-pluginlockfileprovenancesupply-chain

分类