Install verification: sandbox install ok, web smoke failed (L5) · tested on dsh 0.2.1-rc.2 · last checked Install verification details →
What it doesAI
Semantic risk grading and progressive authorization gate for DeepSeek Harness tool calls.
- Classifies tool calls by operation semantics into safe/risky/redline levels
- Local deterministic classification, no network or LLM calls
- Unknown tools fail closed with automatic deny
Capability tags are AI-inferred or rule-extracted from the README (see badge) — vocabulary-limited, not install-verified. AI = inferred; README = literal keyword from the readme.
Installation
dsh plugin --profile web add github:leetom314/dsh-risk-gateInstall method: GitHub · sandbox install ok, web smoke failed (L5)
Verification & Compatibility
Grouped by plugin version: each card lists the dsh versions actually tested against that artifact version and their install verdicts (L5 wins). Untested combinations are omitted — absence means untested, never assumed compatible. L1–L3 are a plugin-level static archive (independent of the dsh version — the same verdict on every dsh row): they sit in each row's level grid next to L4/L5, marked "static", while their evidence is stored once per plugin inside that row's "checks & evidence" instead of being duplicated per version.
External credentials (plugin-level): none detected
○ The author declares no dsh version requirement — install is not blocked by version.
| plugin \ dsh | dsh 0.2.1-rc.2 current | dsh 0.2.1-alpha.4 | dsh 0.2.1-alpha.2 | dsh 0.2.0-rc.2 | dsh 0.2.0-rc.1 |
|---|---|---|---|---|---|
| 9b3946 | ✗ | ✗ | ✗ | ✗ | ✗ |
9b3946github12 failed2026-10-18
https://github.com/leetom314/dsh-risk-gate
✗dsh 0.2.1-rc.2current2026-10-18L5 · failed
- • Node.js: v24.14.0
- • DSH: 0.2.1-rc.2
- • Plugin artifact: github · https://github.com/leetom314/dsh-risk-gate (version unstated)
ID: dsh-risk-gate@9b3946@dsh0.2.1-rc.2 · profile: l4-sandbox
Issued: 2026-10-18 · expires: 2026-10-25
View checks & evidence
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
✗dsh 0.2.1-alpha.42026-10-16L5 · failed
- • Node.js: v24.14.0
- • DSH: 0.2.1-alpha.4
- • Plugin artifact: github · https://github.com/leetom314/dsh-risk-gate (version unstated)
ID: dsh-risk-gate@9b3946@dsh0.2.1-alpha.4 · profile: l4-sandbox
Issued: 2026-10-16 · expires: 2026-10-23
View checks & evidence
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
✗dsh 0.2.1-alpha.22026-10-10L5 · failed
- • Node.js: v24.14.0
- • DSH: 0.2.1-alpha.2
- • Plugin artifact: github · https://github.com/leetom314/dsh-risk-gate (version unstated)
ID: dsh-risk-gate@9b3946@dsh0.2.1-alpha.2 · profile: l4-sandbox
Issued: 2026-10-10 · expires: 2026-10-17
View checks & evidence
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
✗dsh 0.2.0-rc.22026-10-08L5 · failed
- • Node.js: v24.14.0
- • DSH: 0.2.0-rc.2
- • Plugin artifact: github · https://github.com/leetom314/dsh-risk-gate (version unstated)
ID: dsh-risk-gate@9b3946@dsh0.2.0-rc.2 · profile: l4-sandbox
Issued: 2026-10-08 · expires: 2026-10-15
View checks & evidence
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
✗dsh 0.2.0-rc.12026-09-29L5 · failed
- • Node.js: v24.14.0
- • DSH: 0.2.0-rc.1
- • Plugin artifact: github · https://github.com/leetom314/dsh-risk-gate (version unstated)
ID: dsh-risk-gate@9b3946@dsh0.2.0-rc.1 · profile: l4-sandbox
Issued: 2026-09-29 · expires: 2026-10-06
View checks & evidence
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
✗dsh 0.1.7-rc.22026-09-25L5 · failed
- • Node.js: v24.14.0
- • DSH: 0.1.7-rc.2
- • Plugin artifact: github · https://github.com/leetom314/dsh-risk-gate (version unstated)
ID: dsh-risk-gate@9b3946@dsh0.1.7-rc.2 · profile: l4-sandbox
Issued: 2026-09-25 · expires: 2026-10-02
View checks & evidence
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
○dsh 0.1.7-rc.12026-09-23not tested
- • Node.js: v24.14.0
- • DSH: 0.1.7-rc.1
- • Plugin artifact: github · https://github.com/leetom314/dsh-risk-gate (version unstated)
ID: dsh-risk-gate@9b3946@dsh0.1.7-rc.1 · profile: l4-sandbox
Issued: 2026-09-23 · expires: 2026-09-30
View checks & evidence
This level was not executed in this scan.
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
✗dsh 0.1.7-alpha.22026-09-23L5 · failed
- • Node.js: v24.14.0
- • DSH: 0.1.7-alpha.2
- • Plugin artifact: github · https://github.com/leetom314/dsh-risk-gate (version unstated)
ID: dsh-risk-gate@9b3946@dsh0.1.7-alpha.2 · profile: l4-sandbox
Issued: 2026-09-23 · expires: 2026-09-30
View checks & evidence
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
✗dsh 0.1.6-alpha.22026-09-20L5 · failed
- • Node.js: v24.14.0
- • DSH: 0.1.6-alpha.2
- • Plugin artifact: github · https://github.com/leetom314/dsh-risk-gate (version unstated)
ID: dsh-risk-gate@9b3946@dsh0.1.6-alpha.2 · profile: l3-fullscan
Issued: 2026-09-20 · expires: 2026-09-27
View checks & evidence
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
✗dsh 0.1.6-alpha.12026-09-17L5 · failed
- • Node.js: v24.14.0
- • DSH: 0.1.6-alpha.1
- • Plugin artifact: github · https://github.com/leetom314/dsh-risk-gate (version unstated)
ID: dsh-risk-gate@9b3946@dsh0.1.6-alpha.1 · profile: l4-sandbox
Issued: 2026-09-17 · expires: 2026-09-24
View checks & evidence
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
✗dsh 0.1.5-rc.22026-09-13L5 · failed
- • Node.js: v24.14.0
- • DSH: 0.1.5-rc.2
- • Plugin artifact: github · https://github.com/leetom314/dsh-risk-gate (version unstated)
ID: dsh-risk-gate@9b3946@dsh0.1.5-rc.2 · profile: l4-sandbox
Issued: 2026-09-13 · expires: 2026-09-20
View checks & evidence
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
✗dsh 0.1.3-alpha.22026-09-09L5 · failed
- • Node.js: v24.14.0
- • DSH: 0.1.3-alpha.2
- • Plugin artifact: github · https://github.com/leetom314/dsh-risk-gate (version unstated)
ID: dsh-risk-gate@9b3946@dsh0.1.3-alpha.2 · profile: l4-sandbox
Issued: 2026-09-09 · expires: 2026-09-16
View checks & evidence
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
✗prehistory2026-10-04L5 · failed
- • Node.js: v24.14.0
- • DSH: unknown
- • Plugin artifact: github · https://github.com/leetom314/dsh-risk-gate (version unstated)
ID: dsh-risk-gate@9b3946@dshunknown · profile: l4-sandbox
Issued: 2026-10-04 · expires: 2026-10-11
View checks & evidence
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
Author badges
Embed the official badges in your README to showcase security & install-test status:
`[](https://www.dsh.so/artifact/dsh-risk-gate/)`Security Report
Two automated layers, neither a manual review: a static scan (per-plugin rule checks) and a model-driven dynamic security audit that covers only the subset static-flagged at warn or above and never executes plugin code.
Static low; dynamic low (authoritative when present) → overall low.
v0.1.0dsh manifest0.1.0git2026-10-240.1.0same versionclean · npmVet is an AST static scan (npm artifact or git source).
show static findings (2)
- criticaldestructiveRm · destructive
verify.sh:284) bash 'rm -rf /tmp/gate-e2e-xyz' (expect BLOCKED — redline delete) - criticaldestructiveRm · destructive
verify.sh:295) bash 'echo \"rm -rf /tmp/harmless-string\"' (expect PASSED — quoted string, not executed)
show 2 audit findings
- lowShell classifier fails open: commands it does not recognize (including other interpreters) bypass the gate
lib/classifier.js:392Any bash command that misses the heuristic lists is classified SAFE and returned via next() with no approval prompt. Destructive or remote operations hidden inside another interpreter or simply not covered — e.g. bash 'python3 -c "import shutil;shutil.rmtree(\"/data\")"', mv, sed -i, chmod, kill, docker rm, kubectl delete, systemctl stop — execute ungated, so the redline protection advertised by the plugin (rm -rf / ssh / scp) can be evaded by anyone who influences the agent's commands, e.g. via prompt injection.
- lowAuto-allow keyed on 80-char-truncated argument signature can approve a different command
lib/classifier.js:456signatureOf truncates long string arguments (command/content) to the first 80 characters plus a length marker; index.js (lines 50-56) grants next() without asking once a signature reaches autoAllowThreshold. Two different RISKY-level commands with the same 80-character prefix and the same total length therefore share a signature: after the user approves such a command 3 times (default), the differing command is silently auto-allowed. Scope is limited to RISKY (redlines still always ask by default) and requires a prior approval of a near-identical command.
Static scan's two criticals are false positives: the flagged rm/ssh/scp regexes are this guard's own blocklist; the plugin never executes commands or touches the network. Two low detection gaps.
Rule (2026-10-24): when a dynamic conclusion exists it is authoritative (it may raise or lower the level); without one, the static/vet fused tier applies. The audit never writes the exemption list (exemptions are manual only); a wrong conclusion is withdrawn by human review and the tier falls back to static/vet.
Disclaimer: the static scan and the dynamic security audit are both automated analysis, not a security guarantee. Always review what you install.
Activity
Last commit 2026-09-08 · activity: Stable
• Repo created: 2026-09-08
• Stars: ★ 0 · Forks: 0
• Health: Stable — committed within 90 days
Source
Author README
View on GitHub ↗The author's original README from the repository — fetched live, unedited (the English page loads the default README).
