dsh-write-protect avatar

dsh-write-protect

防止模型改写工作区里的指定路径. 同时支持放开某些外部目录的写入而不必放开沙箱.

PluginSecurityFileGitHub integration
Verification
L4 · Install tested
Passed
Risk
Low
Health
Active
Trust
Silver

What it doesAI

Protect workspace paths from model modifications; allow extra writable roots outside sandbox without full access.

  • Protects workspace subpaths like .git from model writes
  • Allows extra writable roots outside workspace without opening sandbox
  • Enforced in write/edit everywhere; bash on Linux/macOS

AI-generated from the repo README — for reference only.

Installation

dsh plugin --profile web add dsh-write-protect
verified 0.1.0

Install method: npm · 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

Install compatibility matrix (rows = plugin versions〔latest 5〕, columns = dsh versions〔latest 5〕)
At-a-glance → evidence in the cards below
plugin \ dshdsh 0.1.3-alpha.2
current
0.1.0

✓ = L5 runtime verified · ◐ = L4 testing (install passed · L5 runtime pending) · ○ not a dsh plugin (nothing mounts) · ✗ failed · · untested (never assumed compatible)

Install compatibility (by plugin version, dsh versions within)
Legend:✓ L5 runtime verified◐ L4 testing · install passed○ no plugin features✗ failed
0.1.0npm1 failed2026-09-09

dsh-write-protect

dsh 0.1.3-alpha.2current2026-09-09L5 · failed
Environment & artifact
  • • Node.js: v24.14.0
  • • DSH: 0.1.3-alpha.2
  • • Plugin artifact: npm · dsh-write-protect@0.1.0
Levels (L1–L3 plugin-level static archive · L4/L5 newest real verdicts for this combination)
L1 static
Passed
L2 static
Passed
L3 static
Passed
L4 sandbox
Passed
L5 runtime
Failed
Sandbox install failed
L5 · failed

ID: dsh-write-protect@0.1.0@dsh0.1.3-alpha.2 · profile: l4-sandbox

Issued: 2026-09-09 · expires: 2026-09-16

View checks & evidence
L1 · Found✓ Passed
Defaulted from L3✓ Passed
defaulted to passed — L3 install spec passed (full-registry L3 sweep policy)
L2 · Structured✓ Passed
Defaulted from L3✓ Passed
defaulted to passed — L3 install spec passed (full-registry L3 sweep policy)
L3 · Install spec✓ Passed
Install command parsed✓ Passed
Source: registry verification · Method: install spec parse · Captured 2026-09-09
DSH version declared✓ Passed
Source: registry verification · Method: DSH version declaration · Captured 2026-09-09
L4 · Install tested✓ Passed
Install executed in confined sandbox✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-09
spec dsh-write-protect · channel npm package · outcome ran · exit 0
check took: 3.7s
Install succeeded✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-09
spec dsh-write-protect · channel npm package · outcome ran · exit 0
check took: 3.7s
Installed artifact confirmed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-09
spec dsh-write-protect · channel npm package · outcome ran · exit 0
check took: 3.7s
L5 · Run tested✕ Failed
Sandbox install passed✓ Passed
Source: Windows ACL sandbox · Method: sandbox install run · Captured 2026-09-09
spec dsh-write-protect · install mode reused L4 scratch
check took: 15ms
Web boot ready✓ Passed
Source: DSH runtime · Method: web boot · Captured 2026-09-09
ready line dsh web: http://127.0.0.1:50090/?token=…
HTTP endpoint served✓ Passed
Source: DSH runtime · Method: HTTP request · Captured 2026-09-09
path / · HTTP 200 · took 15ms
Plugin active in inventory✕ Failed
Source: DSH runtime · Method: plugin inventory query · Captured 2026-09-09
verdict inactive · entries 152
match: include:dsh-write-protect-policy · dsh-write-protect · phase active
match: include:dsh-write-protect-fs · dsh-write-protect/fs · phase active
match: include:dsh-write-protect-provider · dsh-write-protect/provider
phases: active 121 · null 31

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 official badges in your README to showcase security & install-test status:

dsh.so risk
`[![dsh.so risk](https://www.dsh.so/badge/dsh-write-protect.svg)](https://www.dsh.so/artifact/dsh-write-protect/)`
dsh.so install
`[![dsh.so install](https://www.dsh.so/badge/install/dsh-write-protect.svg)](https://www.dsh.so/artifact/dsh-write-protect/)`

Security Report

Automated static scan, not manual review.

DSH.SO VETPASSED30faee
Automated review · daily
PASSED

Vet static analysis found no suspicious behavior — verdict is clean.

0 critical·0 high·0 medium
plugin version0.1.0dsh manifest
scanned version0.1.0npm2026-09-10
current version0.1.0same version
vet verdictclean · npm

Vet 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

No critical or warning findings.

Activity

Last commit 2026-09-08 · activity: Active

• Repo created: 2026-09-08

• Stars: ★ 1 · Forks: 0

• Health: Active — committed within last 30 days

Source

GitHub: github.com/azazo1/dsh-write-protect

Was this page helpful?