dsh-plugin-guard avatar

dsh-plugin-guard

Install safety net for DeepSeek Harness: pre-install snapshots, one-click/automatic rollback, guarded boot, and incident reports that auto-trigger agent analysis. 中文: DeepSeek Harness 插件安装安全网(安装前自动快照、一键/自动回退、守护启动、事故报告自动触发 Agent 分析)。

PluginSecurityData
Verification
L2 · Structured
Security
High
Health
Active
Trust
Silver

What it does

Install safety net for DeepSeek Harness: pre-install snapshots, one-click/automatic rollback, guarded boot, and incident reports that auto-trigger agent analysis. 中文: DeepSeek Harness 插件安装安全网(安装前自动快照、一键/自动回退、守护启动、事故报告自动触发 Agent 分析)。

Installation

dsh plugin --profile web add dsh-plugin-guard

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.SOHIGH-RISKSCAN10 FILES
689e1b
Automated review · daily
HIGH-RISK

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

1 critical·3 warning·8 info·10 files scanned
code-exec ×1
scanned commit689e1b0e2c0f2026-08-17
latest commit689e1b0e2c0f

The scan result is only valid for the scanned commit. If the latest commit differs, the badge shows outdated until the daily pipeline rescans.

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

Risk: High1 critical · 3 warning · 8 info

• Static heuristic scan: done (10 files)

• Dependency vulnerabilities: requires deep audit (L3+)

• Permission sandboxing: requires runtime testing (L4+)

Scan findings · 12

  • warningHTTP request to a raw IP addressscripts/boot-guard.sh:35
    healthy() { curl -fsS --max-time 3 "http://127.0.0.1:$PORT/" >/dev/null 2>&1; }
  • infoHardcoded IP addressscripts/boot-guard.sh:35
    healthy() { curl -fsS --max-time 3 "http://127.0.0.1:$PORT/" >/dev/null 2>&1; }
  • warningHTTP request to a raw IP addressscripts/guard-cli.js:139
    console.log(`http://127.0.0.1:${port}/ -> ${healthy ? '正常' : '异常'}`)
  • infoHardcoded IP addressscripts/guard-cli.js:139
    console.log(`http://127.0.0.1:${port}/ -> ${healthy ? '正常' : '异常'}`)
  • criticalChild process module usage (Node.js)src/engine.js:9
    import { spawnSync } from 'node:child_process'
  • infoReads process.envsrc/engine.js:94
    process.env.DSH_GUARD_PNPM ?? '',
  • warningHTTP request to a raw IP addresssrc/incident.js:149
    lines.push(`- 健康状态: http://127.0.0.1:${port}/ -> ${healthy ? '正常' : '异常'}`)
  • infoReads process.envsrc/incident.js:148
    lines.push(`- DSH 根目录: ${process.env.DSH_HOME ?? '(默认 ~/.dsh)'}`)
  • infoHardcoded IP addresssrc/incident.js:124
    const req = http.get({ host: '127.0.0.1', port, path: '/', timeout: 3000 }, (res) => {
  • infoHardcoded IP addresssrc/incident.js:149
    lines.push(`- 健康状态: http://127.0.0.1:${port}/ -> ${healthy ? '正常' : '异常'}`)
  • infoReads process.envsrc/layout.js:13
    if (process.env.DSH_HOME && process.env.DSH_HOME.trim() !== '') {
  • infoReads process.envsrc/layout.js:14
    return resolve(process.env.DSH_HOME.trim())

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

Activity

Last commit 2026-08-16 · activity: Active

• Repo created: 2026-08-17

• Stars: ★ 6 · Forks: 1

• Health: Active — committed within last 30 days

Source

GitHub: github.com/lxzy-7/dsh-plugin-guard

Was this page helpful?