dsh-dlp
v0.3.0 · 1 天前发布
Data-loss-prevention plugin for DeepSeek Harness: a non-configurable tool guard floor, tool-result redaction, and fail-closed telemetry redaction
README
dsh-dlp
Data-loss prevention for DeepSeek Harness,
built as an out-of-repo plugin.
It does six things:
1. Denies credential-file access and secrets bound for the network — unconditionally, from
ctx.tools.guard(). It tests the path-typed arguments of a call against a table of
credential stores, following symlinks first.
2. Redacts secrets out of tool results before the model reads them and before the session
log records them, and withholds a result it cannot clean.
3. Redacts secrets out of exported telemetry, patching a hole where DSH_TELEMETRY_MODE=FULL
ships message text, tool arguments, tool results and workspace paths in the clear.
4. Strips the invisible characters that carry hidden instructions ou
版本兼容矩阵
| DSH 版本 | 状态 | 说明 |
|---|---|---|
dsh@0.1.0-rc.6 | ✅ 兼容 | cordis patch ✅ |
dsh@0.1.0 | ✅ 兼容 | 标准 patch ✅ |
dsh@0.2.0 | ⚠️ 待验证 | 待实测(API 可能在变) |
dsh@0.3.0+ | ❓ 未知 | 尚未发布 |
💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正
元数据
- License
- MIT
- npm
- dsh-dlp
- Repo
- git+https://github.com/CharlotteN7/dsh-dlp.git
- Engines
{"node":"^22.19.0 || >=24"}- Weekly DL
- 0
- Monthly DL
- 0
- dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"}}