dsh-git-rescue avatar

dsh-git-rescue

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

PluginStorageDeveloperGitHub integration
Verification
L2 · Structured
Security
High
Health
Active
Trust
Silver

What it does

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

Installation

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

Install method: GitHub · 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-RISKSCAN15 FILES
154244
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.

7 critical·8 warning·12 info·15 files scanned
code-exec ×4shell ×3
plugin version
scanned commit154244c592202026-08-19
latest commit154244c59220

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: High7 critical · 8 warning · 12 info

• Static heuristic scan: done (15 files)

• Dependency vulnerabilities: requires deep audit (L3+)

• Permission sandboxing: requires runtime testing (L4+)

High-risk findings · 12 / 15

  • criticalShell command execution (exec / execSync)components/git-rescue/lib/fault-classify.js:44
    const mountOut = await exec(['mount'])
  • criticalShell command execution (exec / execSync)components/git-rescue/lib/fault-classify.js:50
    const dmesgOut = await exec(['dmesg', '-T'])
  • criticalChild process module usage (Node.js)components/git-rescue/lib/git.js:10
    import { spawn } from 'node:child_process'
  • criticalChild process module usage (Node.js)components/git-rescue/lib/git.js:48
    const { execFileSync } = await import('node:child_process')
  • criticalChild process module usage (Node.js)components/git-rescue/lib/process-capture.js:18
    import { spawn } from 'node:child_process'
  • criticalChild process module usage (Node.js)components/git-rescue/lib/process-capture.js:101
    const { execFile } = await import('node:child_process')
  • criticalShell command execution (exec / execSync)components/git-rescue/lib/process-capture.js:103
    execFile(name, args, { timeout: 3000 }, (err, stdout) => resolve(err ? '' : String(stdout)))
  • warningFilesystem write operationscomponents/git-rescue/lib/device.js:50
    await fs.writeFile(file, uuid + '\n', { mode: 0o600 })
  • warningShell command execution (exec / execSync)components/git-rescue/lib/git.js:49
    const execPath = execFileSync('git', ['--exec-path'], { encoding: 'utf8' }).trim()
  • warningFilesystem write operationscomponents/git-rescue/lib/git.js:152
    await fs.writeFile(p, rules.join('\n') + '\n', { mode: 0o600 })
  • warningFilesystem write operationscomponents/git-rescue/lib/process-capture.js:25
    await fs.appendFile(file, text)
  • warningFilesystem write operationscomponents/git-rescue/lib/process-capture.js:30
    await fs.writeFile(file, tail)

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

Activity

Last commit 2026-08-18 · activity: Active

• Repo created: 2026-08-19

• Stars: ★ 2 · Forks: 0

• Health: Active — committed within last 30 days

Source

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

Was this page helpful?