dsh-plugin-driver-report: Read-Only Enumeration of Windows Drivers and Device Status in DSH

Introduction

In Windows operations or security troubleshooting, you frequently need to verify local driver names, device status, manufacturers, and versions. Manually opening Device Manager or running PowerShell commands one by one is difficult to integrate into the DeepSeek Harness (DSH) conversation flow. Hardcoding these queries into plugin tools allows agents to call them via the same MCP interface, rather than writing scripts from scratch every time.

Below is an introduction to the community plugin dsh-plugin-driver-report (maintainer thegabopacheco-sudo, category admin-security): it generates read-only reports via PowerShell and exposes tools like status, drivers, and problems to DSH. The DeepSeek Harness community directory is a standalone site with no official affiliation to DeepSeek/Quantum; installation and usage are subject to the repository README.

What is it

dsh-plugin-driver-report is an MCP-style plugin for DSH (with main pointing to ./dist/server.mjs in package.json and protocol dependency on @modelcontextprotocol/server). A one-sentence positioning: It aggregates driver and device information on Windows—name, status, manufacturer, version—by default in read-only mode, without modifying the system arbitrarily.

The repository readme is a Spanish introduction with the same meaning as the Chinese: Reporte de drivers y dispositivos de Windows: nombre, estado, fabricante y version desde PowerShell, solo lectura. The current package version is 0.1.0, license MIT, and requires Node.js >= 20.

Core Features

The README consolidates capabilities into three tool tables, with each section corresponding to a type of query:

Tool Name Function (Original README)
status Estado (Status)
drivers Listar drivers (List drivers)
problems Dispositivos con problemas (Devices with problems)

The above are all tools explicitly listed in the documentation; any write operations or additional subcommands not appearing in the README should not be assumed to exist.

Installation and Activation

  1. In the DSH graphical interface: DSH → Settings → Plugins, install github:thegabopacheco-sudo/dsh-plugin-driver-report, and follow the prompts to allow script installation (where postinstall is node scripts/postinstall.mjs).
  2. Command line installation requires specifying the profile; the command comes from the official README:
dsh plugin --profile <perfil> add github:thegabopacheco-sudo/dsh-plugin-driver-report

Replace <perfil> with your actual DSH profile name used on your machine. The documentation does not provide git clone as an official path, so cloning steps are not listed here.

Typical Usage

The README does not provide a word-for-word conversation example, but the tool naming serves as the entry point for usage: in a DSH session where the plugin is loaded, let the agent call the MCP tool status to check the overall status, call drivers to pull the driver list, and call problems to focus on abnormal devices. The implementation relies on local PowerShell; the plugin process runs with the same permissions as the user who launched DSH and can only access objects readable under that permission.

If you need to align with default behavior, you can pay attention to environment variables and confirmation parameters (see next section).

Security Design and Applicability Notes

Key points from the README Seguridad section:

  • Default is read-only; if write actions exist, confirm:true is required and the user must explicitly request it.
  • Setting DSH_DRIVER_REPORT_MODE=read-only can disable action capabilities.
  • Whitelist and audit log path: <DSH_HOME>\cache\driver-report\audit.jsonl.

Applicable Scenarios: Windows host driver inventory verification, problem device screening, and read-only reconnaissance related to security auditing (admin-security category), suitable for developers or operators willing to call local queries uniformly within DSH.

Notes:

  1. The plugin runs with the current dsh process permissions; before installing, you should review the GitHub source code and the MIT license yourself to ensure the postinstall and bundled entry points comply with your organization’s policies.
  2. The environment is Windows + PowerShell; it is not applicable on non-Windows systems or when Node 20+ is not installed.
  3. Do not fabricate configuration items that do not appear in the documentation; aside from the aforementioned DSH_DRIVER_REPORT_MODE and audit path, the README does not expand on other configuration fields.

Conclusion

dsh-plugin-driver-report brings Windows driver and device read-only reports into the DSH plugin toolset, facilitating the reuse of status / drivers / problems in conversations and aligning with security conventions such as default read-only mode and audit paths.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye