dsh-graceful-restart avatar

dsh-graceful-restart

Plugin
验证
L1 · 已找到
安全
中风险
健康
活跃
信任
未评级

功能介绍

安装

dsh plugin --profile web add github:msilita/dsh-graceful-restart

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

兼容性

DSH VersionStatus
not statedDeclared — not tested

要求

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

安全报告

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

DSH.SO AUDITMEDIUMb1a142
自动审查 · 每日更新
MEDIUM

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

3 严重·6 警告·17 提示·5 扫描文件数
code-exec ×3
插件版本1.1.0dsh 清单
扫描版本b1a142f56cc92026-08-21
当前版本b1a142f56cc9

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

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

风险详情

风险等级规则位置描述
critical
使用 child_process 子进程模块(Node.js)
lib/index.js:29
import { spawn, spawnSync } from 'node:child_process'
critical
使用 child_process 子进程模块(Node.js)
lib/index.js:351
const { spawn } = require('node:child_process')
critical
使用 child_process 子进程模块(Node.js)
lib/launcher.cjs:19
const { spawn } = require('node:child_process')
warning
向裸 IP 地址发起 HTTP 请求
lib/index.js:721
const res = await fetch('http://127.0.0.1:' + TARGET_PORT + '/plugins/' + pkg + '/client.js', {
warning
向裸 IP 地址发起 HTTP 请求
lib/index.js:788
const base = 'http://127.0.0.1:' + TARGET_PORT
warning
文件系统写入操作
lib/index.js:247
fs.writeFileSync(FILE.snapshot(), JSON.stringify(payload, null, 2) + '\n', 'utf8')
warning
文件系统写入操作
lib/index.js:252
try { fs.appendFileSync(FILE.log(), `${new Date().toISOString()} ${msg}\n`, 'utf8') } catch { /* best-effort */ }
warning
文件系统写入操作
lib/index.js:264
try { fs.writeFileSync(stderrFile(), '', 'utf8') } catch { /* best-effort */ }
warning
文件系统写入操作
lib/launcher.cjs:27
try { fs.appendFileSync(logFile, new Date().toISOString() + ' launcher: ' + msg + '\n', 'utf8') } catch {}
静态启发式扫描,可能误报——使用前请自行审查源码。

活跃度

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

• 仓库创建: 2026-08-21

• 星标: ★ 0 · 复刻: 0

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

来源

GitHub: github.com/msilita/dsh-graceful-restart

这页有帮助吗?