dsh-sandbox-allowlist avatar

dsh-sandbox-allowlist

为 DSH 默认沙箱增加可配置的「沙箱授权目录」,允许工作区外的受信修改。

PluginSecurityFileStorage
Verification
L2 · Structured
Security
Medium
Health
Active
Trust
Silver

What it doesAI

Adds configurable trusted writable directories to the DSH sandbox, letting CLI and file tools modify approved paths outside the workspace.

  • Configurable allowlist with wildcard support for subdirectories
  • Works on Windows ACL sandbox and Linux bwrap
  • No code changes; editable via settings page with safety warnings

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

Installation

dsh plugin --profile web add dsh-sandbox-allowlist

Install method: npm · not yet tested in container (L3+)

Compatibility

DSH VersionStatus
not statedDeclared — not tested

Requirements

  • • Node.js: not stated
  • • DSH: declared "not stated"
  • • External credentials: none detected

Security Report

Automated static scan, not manual review.

DSH.SO AUDITMEDIUM2b9f5f
Automated review · daily
MEDIUM

Critical findings in non-blocking categories (dynamic code execution, shell execution, install scripts, obfuscation). Common in CLI/terminal plugins but worth reviewing.

1 critical·0 warning·0 info·9 files scanned
code-exec ×1
plugin version0.1.0dsh manifest
scanned commit2b9f5f86804d2026-08-20
latest commit2b9f5f86804d

The scan result is valid for the scanned commit. New commits within 7 days are tolerated (the rating still counts); after 7 days without a rescan the badge shows outdated.

Disclaimer: automated static analysis, not a security guarantee. Always review what you install.

Second-opinion scan (vet · parallel evaluation)
vet: clean

vet verdict: vet: clean · score 100

  • R2 · info [likely] — require()(客户端加载器 factory 形参注入,DSH bundle 标准写法)
  • R3 · info [certain] — 只读 process 成员(能力触达面):process.platform
  • R9 · info [heuristic] — 无出口常驻循环(含 await,可能是合法服务循环;交由 LLM 审计复核上下文)
  • R3 · info [certain] — 只读 process 成员(能力触达面):process.platform
  • R9 · info [heuristic] — 循环内 += 累加(字符串拼接可能 O(n²))

vet is advisory and does not change dsh’s four-tier level.

Risk: Medium1 critical · 0 warning · 0 info

• Static heuristic scan: done (9 files)

• Dependency vulnerabilities: requires deep audit (L3+)

• Permission sandboxing: requires runtime testing (L4+)

High-risk findings · 1 / 1

  • criticalChild process module usage (Node.js)scripts/revoke.mjs:20
    import { spawnSync } from 'node:child_process'

Heuristic static scan — may produce false positives. Review the source yourself before trusting.

Activity

Last commit 2026-08-20 · activity: Active

• Repo created: 2026-08-20

• Stars: ★ 1 · Forks: 0

• Health: Active — committed within last 30 days

Source

GitHub: github.com/developerdh/dsh-sandbox-allowlist

Was this page helpful?