
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.
功能介绍AI
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 基于 README 自动生成,仅供参考。
安装
dsh plugin --profile web add github:ycr40/dsh-prolong-memoryInstall method: GitHub · 尚未在容器中测试 (L3+)
兼容性
| DSH Version | Status |
|---|---|
| not stated | Declared — not tested |
要求
- • Node.js: not stated
- • DSH: declared "not stated"
- • External credentials: none detected
安全报告
自动静态扫描,非人工审核。
非阻断类别中的严重发现(动态执行、shell 执行、安装脚本、混淆)。在 CLI/终端插件中常见,但值得审查。
code-exec ×1shell ×10.1.0dsh 清单40d8085b08d02026-08-2040d8085b08d0扫描结果仅对「扫描版本」有效。扫描后 7 天内的新提交不会触发 outdated,评级仍然有效;超过 7 天未重新扫描才显示 outdated。
免责声明:这是自动化静态分析,不构成安全保证。安装前请自行审查。
vet 判定:vet:干净 · 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 仅作参考,不改变 dsh 的四档等级。
• 静态启发式扫描:已完成(15 个文件)
• 依赖漏洞:需深度审计(L3+)
• 权限沙箱:需运行时测试(L4+)
高危发现 · 3 / 3
- critical使用 child_process 子进程模块(Node.js)experiments/compaction-ab/probe-command.mjs:2import { spawn, execSync } from 'node:child_process'
- critical执行 shell 命令(exec / execSync)experiments/compaction-ab/probe-command.mjs:14const kill = () => { try { execSync(`taskkill /pid ${child.pid} /T /F`, { stdio: 'ignore' }) } catch {} }
- warning向裸 IP 地址发起 HTTP 请求experiments/compaction-ab/probe-command.mjs:11const base = `http://127.0.0.1:${port}`
静态启发式扫描,可能误报——使用前请自行审查源码。
活跃度
最近提交 2026-08-20 · 活跃度:活跃
• 仓库创建: 2026-08-20
• 星标: ★ 2 · 复刻: 0
• 健康度: 活跃 — 近 30 天有提交