What it doesAI
Dangerous command guard for DSH that blocks high-risk bash/pwsh commands before execution via configurable policies.
- Pre-execution gate intercepting dangerous bash/pwsh commands
- Critical-level commands always blocked; medium follows global action
- Web settings page for rules, whitelist, and hot-reload configs
AI-generated from the repo README — for reference only.
Installation
dsh plugin --profile web add github:czhzz/dsh-danger-guardInstall method: GitHub · sandbox install verified (L4)
Verification & Compatibility
L1–L3 are registry / install-spec static checks — constant across dsh versions.
External credentials (plugin-level): none detected
dsh 0.1.2-alpha.1currentL5 · failed
- • Node.js: v24.14.0
- • DSH: 0.1.2-alpha.1
ID: dsh-danger-guard-20260902T180436Z · profile: l5-web-smoke
Issued: 2026-09-02 · expires: 2026-12-01
View checks & evidence
↳ carried from earlier record dsh-danger-guard-20260902T044820Z (l3-fullscan)
↳ carried from earlier record dsh-danger-guard-20260902T044820Z (l3-fullscan)
↳ carried from earlier record dsh-danger-guard-20260902T044820Z (l3-fullscan)
Author badges
Embed the official badges in your README to showcase security & install-test status:
`[](https://www.dsh.so/artifact/dsh-danger-guard/)``[](https://www.dsh.so/artifact/dsh-danger-guard/)`Security Report
Automated static scan, not manual review.
Vet verdict is suspicious: findings need human review (exfiltration endpoints, file deletion, etc.).
0.1.0dsh manifest97900a819ab72026-09-0297900a819ab7suspicious · gitscore 80Vet is an AST static scan (npm artifact or git source).
Disclaimer: automated static analysis, not a security guarantee. Always review what you install.
Risk details
| Risk | Rule | Location | Description |
|---|---|---|---|
| high | R2 | verify-client-activation.mjs:38 | eval 动态执行(任意代码执行) |
Activity
Last commit 2026-09-01 · activity: Active
• Repo created: 2026-09-01
• Stars: ★ 0 · Forks: 0
• Health: Active — committed within last 30 days
Source
Author README
View on GitHub ↗The author's original README.md from the repository — fetched live, unedited.
