dsh-restart-control avatar

dsh-restart-control

為 DSH Web 提供跨平台、受控的「重啟 DSH」設定頁面。不執行任意 shell 命令,也不需要 root 或 sudo 權限。

Plugin自动化终端终端 / Shell网页搜索
验证
L2 · 结构化
安全
中风险
健康
活跃
信任

功能介绍AI

Provides a web settings page for controlled, cross-platform restart of DSH, saving state and delegating to external service managers or a built-in helper.

  • Web UI for restarting DSH with confirmation and status display
  • Cross-platform restart support for Windows, macOS, and Linux
  • Integrates with systemd, PM2, Docker, Windows Service via exit code 75

由 AI 基于 README 自动生成,仅供参考。

安装

dsh plugin --profile web add github:darkchaox/dsh-restart-control

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

兼容性

DSH VersionStatus
not statedDeclared — not tested

要求

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

安全报告

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

DSH.SO AUDIT需注意702094
自动审查 · 每日更新
需注意

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

2 严重·0 警告·4 提示·5 扫描文件数
code-exec ×2
插件版本0.2.1dsh 清单
扫描版本7020942ed0172026-08-20
当前版本7020942ed017

扫描结果仅对「扫描版本」有效。扫描后 7 天内的新提交不会触发 outdated,评级仍然有效;超过 7 天未重新扫描才显示 outdated。

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

第二意见扫描(vet · 并行评估期)
vet:干净

vet 判定:vet:干净 · score 100

  • R10 · info [heuristic] — 依赖清单:3 项(@deepseek-ai/cordis, @deepseek-ai/dsh-settings, @deepseek-ai/schemastery,供 LLM 审计供应链;已知漏洞核对见后续 OSV 精确版本查询(网络失败静默降级))
  • R3 · info [certain] (downgraded) — 直接访问 process.kill
  • R3 · info [certain] — 只读 process 成员(能力触达面):process.env
  • R3 · info [certain] — 只读 process 成员(能力触达面):process.argv
  • R3 · info [certain] (downgraded) — 只读 process 成员(能力触达面):process.exitCode

vet 仅作参考,不改变 dsh 的四档等级。

风险:中风险2 critical · 0 warning · 4 info

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

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

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

高危发现 · 2 / 2

  • critical使用 child_process 子进程模块(Node.js)src/host.mjs:13
    import { spawn } from 'node:child_process'
  • critical使用 child_process 子进程模块(Node.js)src/restart-helper.mjs:8
    import { spawn } from 'node:child_process'

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

活跃度

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

• 仓库创建: 2026-08-20

• 星标: ★ 0 · 复刻: 0

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

来源

GitHub: github.com/darkchaox/dsh-restart-control

这页有帮助吗?