chaggle/dsh-powershell-check ↗★ 4
@chaggle/dsh-powershell-check
拦截并检查pwsh工具调用,规避PowerShell常见陷阱。 适合在DSH中频繁运行PowerShell脚本,需要安全拦截和语法检查的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:chaggle/dsh-powershell-check说明文档
阅读完整 README ↗Configuration
| Key | Default | Meaning |
|---|---|---|
mode | deny | deny blocks pwsh calls with blocking violations; warn logs and allows |
lang | zh | Language of deny reasons and warn logs: zh or en |
analyzer | builtin | builtin: bundled R1–R19 rules only. psscriptanalyzer: additionally deep-checks every pwsh command with the official PSScriptAnalyzer (install the module on the host; degrades to builtin when missing). Error/ParseError findings deny, warnings are logged |