dsh-git-rescue avatar

dsh-git-rescue

DSH git 版本管理 + 崩溃自动救援插件(仅 GitHub token 方案)

Plugin存储开发GitHub 集成
验证
L2 · 结构化
安全
高风险
健康
活跃
信任

功能介绍

DSH git 版本管理 + 崩溃自动救援插件(仅 GitHub token 方案)

安装

dsh plugin --profile web add github:EIGHTfs/dsh-git-rescue

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

兼容性

DSH VersionStatus
not statedDeclared — not tested

要求

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

安全报告

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

DSH.SO高风险SCAN15 FILES
154244
自动审查 · 每日更新
高风险

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

7 严重·8 警告·12 提示·15 扫描文件数
code-exec ×4shell ×3
插件版本
扫描版本154244c592202026-08-19
当前版本154244c59220

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

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

风险:高风险7 critical · 8 warning · 12 info

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

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

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

高危发现 · 12 / 15

  • critical执行 shell 命令(exec / execSync)components/git-rescue/lib/fault-classify.js:44
    const mountOut = await exec(['mount'])
  • critical执行 shell 命令(exec / execSync)components/git-rescue/lib/fault-classify.js:50
    const dmesgOut = await exec(['dmesg', '-T'])
  • critical使用 child_process 子进程模块(Node.js)components/git-rescue/lib/git.js:10
    import { spawn } from 'node:child_process'
  • critical使用 child_process 子进程模块(Node.js)components/git-rescue/lib/git.js:48
    const { execFileSync } = await import('node:child_process')
  • critical使用 child_process 子进程模块(Node.js)components/git-rescue/lib/process-capture.js:18
    import { spawn } from 'node:child_process'
  • critical使用 child_process 子进程模块(Node.js)components/git-rescue/lib/process-capture.js:101
    const { execFile } = await import('node:child_process')
  • critical执行 shell 命令(exec / execSync)components/git-rescue/lib/process-capture.js:103
    execFile(name, args, { timeout: 3000 }, (err, stdout) => resolve(err ? '' : String(stdout)))
  • warning文件系统写入操作components/git-rescue/lib/device.js:50
    await fs.writeFile(file, uuid + '\n', { mode: 0o600 })
  • warning执行 shell 命令(exec / execSync)components/git-rescue/lib/git.js:49
    const execPath = execFileSync('git', ['--exec-path'], { encoding: 'utf8' }).trim()
  • warning文件系统写入操作components/git-rescue/lib/git.js:152
    await fs.writeFile(p, rules.join('\n') + '\n', { mode: 0o600 })
  • warning文件系统写入操作components/git-rescue/lib/process-capture.js:25
    await fs.appendFile(file, text)
  • warning文件系统写入操作components/git-rescue/lib/process-capture.js:30
    await fs.writeFile(file, tail)

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

活跃度

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

• 仓库创建: 2026-08-19

• 星标: ★ 2 · 复刻: 0

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

来源

GitHub: github.com/EIGHTfs/dsh-git-rescue

这页有帮助吗?