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 分析)。

Plugin安全数据
验证
L2 · 结构化
安全
高风险
健康
活跃
信任

功能介绍

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 分析)。

安装

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

Install method: npm · 尚未在容器中测试 (L3+)

兼容性

DSH VersionStatus
not statedDeclared — not tested

要求

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

安全报告

自动静态扫描,非人工审核。

DSH.SO高风险SCAN10 FILES
689e1b
自动审查 · 每日更新
高风险

非阻断类别中的严重发现(动态执行、shell 执行、安装脚本、混淆)。在 CLI/终端插件中常见,但值得审查。

1 严重·3 警告·8 提示·10 扫描文件数
code-exec ×1
扫描版本689e1b0e2c0f2026-08-17
当前版本689e1b0e2c0f

扫描结果仅对「扫描版本」有效。若当前版本不同,徽章将显示 outdated,直到每日流水线重新扫描。

免责声明:这是自动化静态分析,不构成安全保证。安装前请自行审查。

风险:高风险1 critical · 3 warning · 8 info

• 静态启发式扫描:已完成(10 个文件)

• 依赖漏洞:需深度审计(L3+)

• 权限沙箱:需运行时测试(L4+)

扫描发现 · 12

  • warning向裸 IP 地址发起 HTTP 请求scripts/boot-guard.sh:35
    healthy() { curl -fsS --max-time 3 "http://127.0.0.1:$PORT/" >/dev/null 2>&1; }
  • info硬编码 IP 地址scripts/boot-guard.sh:35
    healthy() { curl -fsS --max-time 3 "http://127.0.0.1:$PORT/" >/dev/null 2>&1; }
  • warning向裸 IP 地址发起 HTTP 请求scripts/guard-cli.js:139
    console.log(`http://127.0.0.1:${port}/ -> ${healthy ? '正常' : '异常'}`)
  • info硬编码 IP 地址scripts/guard-cli.js:139
    console.log(`http://127.0.0.1:${port}/ -> ${healthy ? '正常' : '异常'}`)
  • critical使用 child_process 子进程模块(Node.js)src/engine.js:9
    import { spawnSync } from 'node:child_process'
  • info读取 process.envsrc/engine.js:94
    process.env.DSH_GUARD_PNPM ?? '',
  • warning向裸 IP 地址发起 HTTP 请求src/incident.js:149
    lines.push(`- 健康状态: http://127.0.0.1:${port}/ -> ${healthy ? '正常' : '异常'}`)
  • info读取 process.envsrc/incident.js:148
    lines.push(`- DSH 根目录: ${process.env.DSH_HOME ?? '(默认 ~/.dsh)'}`)
  • info硬编码 IP 地址src/incident.js:124
    const req = http.get({ host: '127.0.0.1', port, path: '/', timeout: 3000 }, (res) => {
  • info硬编码 IP 地址src/incident.js:149
    lines.push(`- 健康状态: http://127.0.0.1:${port}/ -> ${healthy ? '正常' : '异常'}`)
  • info读取 process.envsrc/layout.js:13
    if (process.env.DSH_HOME && process.env.DSH_HOME.trim() !== '') {
  • info读取 process.envsrc/layout.js:14
    return resolve(process.env.DSH_HOME.trim())

静态启发式扫描,可能误报——使用前请自行审查源码。

活跃度

最近提交 2026-08-16 · 活跃度:活跃

• 仓库创建: 2026-08-17

• 星标: ★ 6 · 复刻: 1

• 健康度: 活跃 — 近 30 天有提交

来源

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

这页有帮助吗?