dsh-dep-audit: A Dependency Poisoning Risk Audit Plugin for DeepSeek Harness

feely0208/dsh-dep-audit

Development & OperationsVerified
Listed on 2026-10-13
Page last updated 2026-10-13

A DSH plugin that audits dependency trees for supply-chain poisoning: install/postinstall scripts, loose version ranges, and non-registry sources, with graded risk reports.

dsh-dep-audit is a supply-chain security audit plugin for DeepSeek Harness that shows you what is hiding in your dependency tree before you install anything. It targets the exact paths behind repeated npm poisoning incidents: install and postinstall scripts that run the moment a package lands, overly loose version ranges pinned to `*` or `latest`, and dependencies pulled from git or http instead of the registry. Once enabled, you can run a health check on a project directory, read results in the terminal or write them to an HTML report for archiving, while packages like esbuild, sharp, and puppeteer that genuinely need install scripts stay whitelisted to cut false positives. It only reports suspicious items, since an install script does not mean a package is malicious, and the final call remains yours.

How to Install

install
npmdsh plugin --profile web add @deepwhale-cn/dsh-dep-audit
Category
Development & Operations
Platform
DSH Plugin
Author
feely0208
Distribution
Plugin

dsh-dep-audit Key Features

Detects install/postinstall scriptsFlags loose versions and missing lockfileSpots git/http non-registry sourcesExports HTML reports
Listed on dsh-plugin.org

dsh-dep-audit Repo Summary

What Does It Do?

Dependency audit is a DSH plugin for DeepSeek Harness that inspects your dependency tree for poisoning and risk exposure. It focuses on three things: scripts that run the moment a package is installed, overly loose version ranges, and dependencies pulled from outside the registry. Those are the exact paths behind large-scale npm poisoning incidents. Once enabled, you can run a dependency health check directly inside the harness and get a list of items that need human review. It is maintained by feely0208 under the MIT license, last updated on 2026-10-13.

Core Features

  • High-risk script detection: flags dependencies carrying install or postinstall scripts, which execute at install time even if you never import the package in your code.
  • Medium-risk source and version checks: identifies missing lockfiles, versions pinned to * or latest, and dependencies coming from git or http instead of the registry.
  • Low-risk upper-bound warnings: surfaces version constraints like >=x.y.z that have no upper bound.
  • Whitelist noise reduction: packages such as esbuild, sharp, and puppeteer that genuinely need install scripts are already whitelisted, cutting false positives.
  • Report output: results can be read straight in the terminal or written to an HTML report for archiving and sharing.

How to Use This Plugin?

After enabling it in DSH, run the audit against your target project directory to scan the dependency tree of the current folder. A demo mode lets you preview what detections look like first, and you can emit the results as an HTML report when you need a record. The plugin only reports suspicious items: having an install script does not mean a package is malicious, so the final call is yours. It does not query CVE databases and does not perform package-name similarity checks, since typosquat detection produces too many false positives.

This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: feely0208/dsh-dep-audit. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.

Install, update, and uninstall this plugin in the Plugin Market of DeepSeek Harness's DSH Plugin Hub

DSH Plugin FAQ