dsh-session-recovery avatar

dsh-session-recovery

从原始磁盘恢复被删除/损坏的 dsh 会话记录与记忆库——DeepSeek Harness 实战验证的恢复工具集。Recover deleted or corrupted dsh session logs (session.jsonl.zstd) and memory (memory.db) from the raw disk — battle-tested recovery toolkit for DeepSeek Harness.

PluginKnowledgeStorageDatabaseMemory
Verification
L2 · Structured
Security
High
Health
Active
Trust
Silver

What it does

从原始磁盘恢复被删除/损坏的 dsh 会话记录与记忆库——DeepSeek Harness 实战验证的恢复工具集。Recover deleted or corrupted dsh session logs (session.jsonl.zstd) and memory (memory.db) from the raw disk — battle-tested recovery toolkit for DeepSeek Harness.

Installation

dsh plugin --profile web add github:Coprexist/dsh-session-recovery

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-RISKSCAN8 FILES
4f8b87
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.

1 critical·5 warning·2 info·8 files scanned
code-exec ×1
plugin version0.1.2dsh manifest
scanned commit4f8b877fdc232026-08-19
latest commit4f8b877fdc23

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: High1 critical · 5 warning · 2 info

• Static heuristic scan: done (8 files)

• Dependency vulnerabilities: requires deep audit (L3+)

• Permission sandboxing: requires runtime testing (L4+)

High-risk findings · 6 / 6

  • criticalChild process module usage (Node.js)scripts/recover-memory.js:23
    import { execFileSync } from 'node:child_process'
  • warningFilesystem write operationslib/repair.js:642
    fs.writeFileSync(outFile, outBuf)
  • warningShell command execution (exec / execSync)scripts/recover-memory.js:64
    const sql = execFileSync('sqlite3', [candidatePath, '.recover'], { maxBuffer: 256 * 1024 * 1024 }).toString()
  • warningFilesystem write operationsscripts/recover-memory.js:84
    fs.writeFileSync(candPath, readBuf.subarray(0, n))
  • warningFilesystem write operationsscripts/split-sessions.js:70
    fs.writeFileSync(fileA, A.map(j => JSON.stringify(j)).join('\n') + '\n')
  • warningFilesystem write operationsscripts/split-sessions.js:71
    fs.writeFileSync(fileB, B.map(j => JSON.stringify(j)).join('\n') + '\n')

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: ★ 1 · Forks: 0

• Health: Active — committed within last 30 days

Source

GitHub: github.com/Coprexist/dsh-session-recovery

Was this page helpful?