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-recoveryInstall method: GitHub · not yet tested in container (L3+)
Compatibility
| DSH Version | Status |
|---|---|
| not stated | Declared — not tested |
Requirements
- • Node.js: not stated
- • DSH: declared "not stated"
- • External credentials: none detected
Security Report
Automated static scan, not manual review.
Critical findings in non-blocking categories (dynamic code execution, shell execution, install scripts, obfuscation). Common in CLI/terminal plugins but worth reviewing.
code-exec ×10.1.2dsh manifest4f8b877fdc232026-08-194f8b877fdc23The 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.
• 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:23import { execFileSync } from 'node:child_process'
- warningFilesystem write operationslib/repair.js:642fs.writeFileSync(outFile, outBuf)
- warningShell command execution (exec / execSync)scripts/recover-memory.js:64const sql = execFileSync('sqlite3', [candidatePath, '.recover'], { maxBuffer: 256 * 1024 * 1024 }).toString()
- warningFilesystem write operationsscripts/recover-memory.js:84fs.writeFileSync(candPath, readBuf.subarray(0, n))
- warningFilesystem write operationsscripts/split-sessions.js:70fs.writeFileSync(fileA, A.map(j => JSON.stringify(j)).join('\n') + '\n')
- warningFilesystem write operationsscripts/split-sessions.js:71fs.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
