
dsh-prolong-memory
PRO-LONG-style programmatic memory plugin for DeepSeek Harness (DSH): appends every durable session event to a per-workspace log.txt the agent retrieves with grep/python. Built-in write probe, /prolong status command, permission-deny counter, and a reproducible compaction A/B experiment.
What it doesAI
Appends session events to a per-workspace log.txt and retrieves them with grep/python for persistent memory.
- Appends every durable session event to log.txt
- Retrieves history via grep or python
- Includes write probe and /prolong status command
AI-generated from the repo README — for reference only.
Installation
dsh plugin --profile web add github:ycr40/dsh-prolong-memoryInstall 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 ×1shell ×10.1.0dsh manifest40d8085b08d02026-08-2040d8085b08d0The scan result is valid for the scanned commit. New commits within 7 days are tolerated (the rating still counts); after 7 days without a rescan the badge shows outdated.
Disclaimer: automated static analysis, not a security guarantee. Always review what you install.
vet verdict: vet: clean · score 100
- R3 · info [certain] — 只读 process 成员(能力触达面):process.execPath
- R3 · info [certain] — 裸 process 引用(可能为 typeof 探测)
- R3 · info [certain] (downgraded) — 直接访问 process.exit(Node 能力逃逸通道)
- R6 · info [heuristic] — 字符串特征:child_process 引用
- R9 · info [heuristic] — 无出口常驻循环(含 await,可能是合法服务循环;交由 LLM 审计复核上下文)
vet is advisory and does not change dsh’s four-tier level.
• Static heuristic scan: done (15 files)
• Dependency vulnerabilities: requires deep audit (L3+)
• Permission sandboxing: requires runtime testing (L4+)
High-risk findings · 3 / 3
- criticalChild process module usage (Node.js)experiments/compaction-ab/probe-command.mjs:2import { spawn, execSync } from 'node:child_process'
- criticalShell command execution (exec / execSync)experiments/compaction-ab/probe-command.mjs:14const kill = () => { try { execSync(`taskkill /pid ${child.pid} /T /F`, { stdio: 'ignore' }) } catch {} }
- warningHTTP request to a raw IP addressexperiments/compaction-ab/probe-command.mjs:11const base = `http://127.0.0.1:${port}`
Heuristic static scan — may produce false positives. Review the source yourself before trusting.
Activity
Last commit 2026-08-20 · activity: Active
• Repo created: 2026-08-20
• Stars: ★ 2 · Forks: 0
• Health: Active — committed within last 30 days