Install verification: install refused by the declared dsh compatibility gate, sandbox not entered (L4) · tested on dsh 0.2.1-rc.5 · last checked Install verification details →
Data as of (UTC)
What it doesAI
DSH guardrail plugin that intercepts agent tool-call inputs, matching dangerous patterns to deny or warn, with a rule management panel.
- Deny/warn interception on tool-call string matching
- 11 built-in high-risk rules, toggleable actions
- React rule panel with test, audit, hot-reload
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:jypjypjypjyp/dsh-guardrail#v0.0.1Install method: GitHub · install refused by the declared dsh compatibility gate, sandbox not entered (L4) · tested on dsh 0.2.1-rc.5
Trends
Four lines, four questions: total stars, stars gained this week, cumulative downloads, downloads this week. The GitHub pair comes from real-read sampling — a rotating daily shard, so one plugin is re-read roughly every 5–14 days, sparser than npm; the npm pair has a value on every snapshot day. The two cumulative panels are smoothed curves with no sample markers; the two weekly panels keep their raw bars and add a 4-week moving-average trend line that strips single-week noise down to the direction of travel.
10 samples (roughly every 7 days), 6 of them reconstructed (dashed runs); a smoothed curve through every sample — not a daily series
09-17 → 11-03 · 10 points
Bars = the delta between two samples 5–14 days apart (negative points down, faint bars contain reconstructed points); line = 4-week moving-average trend
09-24 → 11-03 · 9 points
Reconstructed backwards from the current total using daily downloads (gaps are not interpolated)
Only 0 points (< 3): no chart yet
no data yet
Bars = the snapshot’s last-week rolling window (official npm + npmmirror combined); line = 4-week moving-average trend — the shape of weekly demand, not a user count
Only 0 points (< 3): no chart yet
no data yet
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
Based on 1 requirement(s) across 5 @deepseek-ai/dsh-* packages. raw ranges
>=0.0.1-rc.1 <0.1.0 || >=0.1.0-rc.1 <0.2.0-0 ×5
✗ Running dsh 0.2.3-alpha.2 is outside the declared range — the official install gate rejects it (incompatible-version).
To force-install, grant an exact-version exemption: dsh plugin allow-version dsh-guardrail@0.0.1 0.2.3-alpha.2 (the exemption lives in the local profile; this site does not assume one)
Deciding channel: no engines.dsh declared, so every dsh* peer is checked (workspace:^ | ~ | * counts as the running version).
Whether it actually runs is a separate question → see the measured matrix below (L1–L5).
| plugin \ dsh | dsh 0.2.1-rc.5 | dsh 0.2.1-rc.3 | dsh 0.2.1-rc.2 | dsh 0.2.1-alpha.4 | dsh 0.2.1-alpha.2 |
|---|---|---|---|---|---|
| v0.0.1 | ✗ | ✗ | ✗ | ✗ | ✗ |
v0.0.1github14 failed2026-11-25
https://github.com/jypjypjypjyp/dsh-guardrail
✗dsh 0.2.1-rc.52026-10-30L4 · failed
- • Node.js: v24.14.0
- • DSH: 0.2.1-rc.5
- • Plugin artifact: github · https://github.com/jypjypjypjyp/dsh-guardrail#v0.0.1
ID: dsh-guardrail@v0.0.1@dsh0.2.1-rc.5 · profile: l4-sandbox
Issued: 2026-10-30 · expires: 2026-11-06
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.2.1-rc.32026-10-26L4 · failed
- • Node.js: v24.14.0
- • DSH: 0.2.1-rc.3
- • Plugin artifact: github · https://github.com/jypjypjypjyp/dsh-guardrail#v0.0.1
ID: dsh-guardrail@v0.0.1@dsh0.2.1-rc.3 · profile: l4-sandbox
Issued: 2026-10-26 · expires: 2026-11-02
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.2.1-rc.22026-10-20L5 · failed
- • Node.js: v24.14.0
- • DSH: 0.2.1-rc.2
- • Plugin artifact: github · https://github.com/jypjypjypjyp/dsh-guardrail#v0.0.1
ID: dsh-guardrail@v0.0.1@dsh0.2.1-rc.2 · profile: l4-sandbox
Issued: 2026-10-20 · expires: 2026-10-27
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-15L5 · failed
- • Node.js: v24.14.0
- • DSH: 0.2.1-alpha.4
- • Plugin artifact: github · https://github.com/jypjypjypjyp/dsh-guardrail#v0.0.1
ID: dsh-guardrail@v0.0.1@dsh0.2.1-alpha.4 · profile: l4-sandbox
Issued: 2026-10-15 · expires: 2026-10-22
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-12L5 · failed
- • Node.js: v24.14.0
- • DSH: 0.2.1-alpha.2
- • Plugin artifact: github · https://github.com/jypjypjypjyp/dsh-guardrail#v0.0.1
ID: dsh-guardrail@v0.0.1@dsh0.2.1-alpha.2 · profile: l4-sandbox
Issued: 2026-10-12 · expires: 2026-10-19
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-09L5 · failed
- • Node.js: v24.14.0
- • DSH: 0.2.0-rc.2
- • Plugin artifact: github · https://github.com/jypjypjypjyp/dsh-guardrail#v0.0.1
ID: dsh-guardrail@v0.0.1@dsh0.2.0-rc.2 · profile: l4-sandbox
Issued: 2026-10-09 · expires: 2026-10-16
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-26L5 · failed
- • Node.js: v24.14.0
- • DSH: 0.1.7-rc.2
- • Plugin artifact: github · https://github.com/jypjypjypjyp/dsh-guardrail#v0.0.1
ID: dsh-guardrail@v0.0.1@dsh0.1.7-rc.2 · profile: l4-sandbox
Issued: 2026-09-26 · expires: 2026-10-03
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-21L5 · failed
- • Node.js: v24.14.0
- • DSH: 0.1.6-alpha.2
- • Plugin artifact: github · https://github.com/jypjypjypjyp/dsh-guardrail#v0.0.1
ID: dsh-guardrail@v0.0.1@dsh0.1.6-alpha.2 · profile: l4-sandbox
Issued: 2026-09-21 · expires: 2026-09-28
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/jypjypjypjyp/dsh-guardrail#v0.0.1
ID: dsh-guardrail@v0.0.1@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-11L5 · failed
- • Node.js: v24.14.0
- • DSH: 0.1.5-rc.2
- • Plugin artifact: github · https://github.com/jypjypjypjyp/dsh-guardrail#v0.0.1
ID: dsh-guardrail@v0.0.1@dsh0.1.5-rc.2 · profile: l4-sandbox
Issued: 2026-09-11 · expires: 2026-09-18
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-08L5 · failed
- • Node.js: v24.14.0
- • DSH: 0.1.3-alpha.2
- • Plugin artifact: github · https://github.com/jypjypjypjyp/dsh-guardrail#v0.0.1
ID: dsh-guardrail@v0.0.1@dsh0.1.3-alpha.2 · profile: l4-sandbox
Issued: 2026-09-08 · expires: 2026-09-15
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.12026-09-07L5 · failed
- • Node.js: v24.14.0
- • DSH: 0.1.3-alpha.1
- • Plugin artifact: github · https://github.com/jypjypjypjyp/dsh-guardrail#v0.0.1
ID: dsh-guardrail@v0.0.1@dsh0.1.3-alpha.1 · profile: l3-fullscan
Issued: 2026-09-07 · expires: 2026-09-14
View checks & evidence
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
✗dsh 0.1.2-rc.12026-09-05L5 · failed
- • Node.js: v24.14.0
- • DSH: 0.1.2-rc.1
- • Plugin artifact: github · https://github.com/jypjypjypjyp/dsh-guardrail#v0.0.1
ID: dsh-guardrail@v0.0.1@dsh0.1.2-rc.1 · profile: l3-fullscan
Issued: 2026-09-05 · expires: 2026-09-12
View checks & evidence
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
✗prehistory2026-09-30L5 · failed
- • Node.js: v24.14.0
- • DSH: unknown
- • Plugin artifact: github · https://github.com/jypjypjypjyp/dsh-guardrail#v0.0.1
ID: dsh-guardrail@v0.0.1@dshunknown · profile: l3-fullscan
Issued: 2026-09-30 · expires: 2026-10-07
View checks & evidence
L1–L3 are plugin-level static conclusions (baseline, identical across dsh versions): evidence is stored once per plugin.
Only the latest 3 published versions are shown; source-snapshot (commit hash) groups, unstated groups and older versions are omitted — the full archive stays in the data layer (snapshot/unstated groups appear only when a plugin has no published version).
Author badges
Embed the dsh.so badges in your README to show this plugin's automated security-scan and install-test status:
`[](https://www.dsh.so/artifact/dsh-guardrail/?ref=badge)`dsh.so is an independent community project, not affiliated with or endorsed by DeepSeek AI. Badges are maintained by dsh.so; embed links carry a ?ref= attribution parameter.
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 medium (authoritative when present) → overall medium.
v0.0.1dsh manifestv0.0.1git2026-11-26v0.0.1same versionclean · gitVet is an AST static scan (npm artifact or git source).
show static findings (1)
- criticaldestructiveRm · destructive
src/client/index.ts:334placeholder: '参数 JSON,如 {"command":"rm -rf /"}',
show 3 audit findings
- mediumManagement API /guardrail/api has no authorization check; can leak audit data and silently disable the guard
src/index.ts:252createApiHandler authenticates nothing: GET /audit returns deps.audit.list() where argsSummary is the first 120 chars of raw tool arguments (src/audit.ts summarizeArgs, populated in src/handlers.ts) and can contain tokens/credentials; PUT /config accepts a body that is merged verbatim (current = {...current, ...cfg}) so enabled:false or builtins.enabled:false turns the guard off; POST /rules and PUT /rules/:id let anyone add or weaken rules (e.g. add a catch-all deny rule = tool DoS, or rewrite a builtin override). Because readBody ignores Content-Type and JSON.parse is applied unconditionally
- lowrulesFile / audit.logFile accepted from the API without path validation, later used for read and write
src/index.ts:238The config PUT merges attacker-supplied rulesFile / audit.logFile into current and persists them (saveConfig -> ~/.dsh/guardrail-config.json). On the next load, new RuleStore(resolve().rulesFile) (line 217) reads/writes that path and new Audit(..., resolve().audit.logFile) (line 226) appendFileSync's JSON lines to it, so an API caller can steer reads (a JSON-array file's contents are then returned by GET /rules) and appends/writes to arbitrary paths with the DSH process privileges. Constraints: content is constrained to JSON, and effect requires a plugin restart.
- lowUser-supplied regex is compiled and executed on every tool call without validation (ReDoS / hook stall)
src/rules.ts:47Any pattern written to the rules file or POSTed to /guardrail/api/rules is compiled verbatim (compileRule) and then run over the tool name + full arguments JSON on the hot path (evaluate: `const match = rule.regex.exec(text)`), inside the tools/pre-execute waterfall. A catastrophic-backtracking pattern such as (a+)+$ therefore blocks tool execution for that agent (event-loop stall) rather than merely failing to match; no timeout or complexity check exists.
Static 'critical' (dangerouslySetInnerHTML with constant CSS) is a false positive; real residual risks are the unauthenticated /guardrail/api and unvalidated rule paths/regexes.
Rule (2026-10-28): when a dynamic conclusion exists it is authoritative (it may raise or lower the level); the static scan tier (vet primary, dsh backstop) applies only when there is none (not queued / audit failed / withdrawn). 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 the static scan tier.
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-08-25
• Stars: ★ 2 · 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).
Frequently asked questions
What is dsh-guardrail?
dsh-guardrail is a DeepSeek Harness (dsh) plugin listed on dsh.so — an independent community registry that indexes public source repositories and publishes automated security-scan and install-verification results for each entry.
Is dsh.so or this plugin page official?
dsh.so is an independent community registry and is not affiliated with, endorsed by, or sponsored by DeepSeek AI.
How do I install dsh-guardrail?
Run dsh plugin --profile web add github:jypjypjypjyp/dsh-guardrail#v0.0.1 in a DeepSeek Harness (dsh) environment. The command is parsed from the plugin manifest and its install spec is verified (L3); runtime sandbox install testing may not have run yet.
How does the security scan relate to a manual audit?
Both layers are automated, not a manual audit. The static scan is heuristic analysis of the repository source, so it can produce false positives and miss context. The model-driven dynamic security audit only covers plugins static-flagged at warn or above, never executes plugin code, and its conclusion is authoritative when there is one (it may raise or lower the static tier); exemptions stay manual. Neither layer is an endorsement: review the repository and the permissions it asks for before installing, together with the verification level and health signals.
How fresh is the data on this page?
The data on this page is as of 2026-11-26 (UTC) — the most recent valid timestamp among the registry refresh, install verification, security scan and dynamic audit. Build time is never used as a data date.
