Darren-Tang/dsh-provenance
Checks whether the source you read on GitHub is the package you are about to install, answering the question every other plugin scanner asks second.
Existing scanners read the files already on disk and ask whether the code does something bad; this one asks first whether what is on disk is what the repository shows, checking the published tarball against the source before install. It flags install hooks specifically — whether code executes during dsh plugin add, before any post-install scan could look — which is the window a post-hoc scanner structurally cannot cover. The preflight command accepts npm specs, github: specs and a --json mode for CI gating, so the same check can run on a laptop and in a pipeline.
Install
dsh plugin --profile web add dsh-provenanceThe npm line from the README; dsh-provenance@0.1.0 resolves its registry repository to this repo. The same package also installs standalone as a CLI for use in CI with no dsh present.
Compatibility
Requires Node.js 22.19+ and declares zero runtime dependencies — the README's reasoning is that a tool inspecting untrusted packages should not drag in a supply chain of its own. Runs as a dsh plugin or standalone; the CLI takes a package spec, a github: spec or --json for CI.
Details
- Repo: Darren-Tang/dsh-provenance
- Category: Tools & Capabilities
- Stars: 1
- Version: 0.1.0 (npm); MIT
Alternatives
GooDAnDReaDY/dsh-grok-xsearch · Fishsb/dsh-prompt-enhancer · zhang787jun/dsh-finance