Under the plugin-based architecture of DeepSeek Harness (DSH), invoking many low-level system capabilities depends on specific plugins. When the working environment runs in WSL, directly obtaining the Windows security state (such as antivirus status and firewall mode) is not easy. The dsh-wsl-defender plugin provides this capability.
Plugin Purpose¶
This is a DSH plugin specifically designed to read the Windows security state from a WSL environment. It is maintained by user 173787247 and aims to solve the problem that the host Defender status cannot be viewed directly from within the Linux subsystem.
Core Features¶
The plugin provides the following two security posture checks:
- antivirus status: Reads the current running status of Windows Defender.
- firewall profile state: Reads the current policy configuration state of the Windows Firewall.
Installation and Activation¶
Run the following command in the terminal to install the plugin:
dsh plugin --profile web add github:173787247/dsh-wsl-defender
Typical Usage¶
After installation, call win_defender in the DSH command line to retrieve the two types of data above:
win_defender
Applicable Scenarios and Notes¶
- Environment Requirements: It must run on a Windows system with WSL installed, and the DeepSeek Harness process itself must run inside the WSL environment.
- Compatibility Versions: The plugin version is
0.1.0; it requires DeepSeek Harness version>= 0.1.2and depends on a Node.js environment>= 18. - Execution Logic: Under the hood, the plugin uses the PowerShell commands
Get-MpComputerStatusandGet-NetFirewallProfileto obtain the information. If Defender is managed by third-party software, or the relevant command-line tools are unavailable, the plugin will report “unavailable” accurately rather than guessing.
Summary¶
dsh-wsl-defender is a lightweight tool that helps developers quickly confirm the Windows security baseline in a WSL environment. For more technical details, see the GitHub repository or the Skill Hub catalog.