dsh-tool-cassette avatar

dsh-tool-cassette

Record normalized DeepSeek Harness tool results and replay them offline with strict matching and zero tool-body execution.

Plugin开发
验证
L2 · 结构化
安全
中风险
健康
活跃
信任

功能介绍AI

Records and replays DeepSeek Harness tool results for deterministic offline testing.

  • Record normalized tool results as cassettes
  • Replay offline with strict matching
  • Zero tool-body execution during replay

由 AI 基于 README 自动生成,仅供参考。

安装

dsh plugin --profile web add github:Lem0nTea2002/dsh-tool-cassette

Install method: GitHub · 尚未在容器中测试 (L3+)

兼容性

DSH VersionStatus
not statedDeclared — not tested

要求

  • • Node.js: not stated
  • • DSH: declared "not stated"
  • • External credentials: none detected

安全报告

自动静态扫描,非人工审核。

DSH.SO AUDIT需注意ab4c39
自动审查 · 每日更新
需注意

非阻断类别中的严重发现(动态执行、shell 执行、安装脚本、混淆)。在 CLI/终端插件中常见,但值得审查。

1 严重·2 警告·7 提示·8 扫描文件数
code-exec ×1
插件版本0.1.0dsh 清单
扫描版本ab4c39df04cc2026-08-20
当前版本ab4c39df04cc

扫描结果仅对「扫描版本」有效。扫描后 7 天内的新提交不会触发 outdated,评级仍然有效;超过 7 天未重新扫描才显示 outdated。

免责声明:这是自动化静态分析,不构成安全保证。安装前请自行审查。

第二意见扫描(vet · 并行评估期)
vet:干净

vet 判定:vet:干净 · score 87

  • R10 · info [heuristic] — 依赖清单:14 项(@deepseek-ai/cordis, @deepseek-ai/dsh-llm, @deepseek-ai/dsh-system-prompt, @deepseek-ai/dsh-tools, @deepseek-ai/schemastery, @types/node, @vitest/coverage-v8, oxlint, tsx, typescript, vitest, @deepseek-ai/cordis, @deepseek-ai/dsh-tools, @deepseek-ai/schemastery,供 LLM 审计供应链;已知漏洞核对见后续 OSV 精确版本查询(网络失败静默降级))
  • R12 · info [certain] (downgraded) — 入口文件缺失:./dist/index.js
  • R3 · info [certain] — 只读 process 成员(能力触达面):process.stdout
  • R3 · info [certain] — 只读 process 成员(能力触达面):process.stderr
  • R3 · info [certain] — 只读 process 成员(能力触达面):process.argv

vet 仅作参考,不改变 dsh 的四档等级。

风险:中风险1 critical · 2 warning · 7 info

• 静态启发式扫描:已完成(8 个文件)

• 依赖漏洞:需深度审计(L3+)

• 权限沙箱:需运行时测试(L4+)

高危发现 · 3 / 3

  • critical使用 child_process 子进程模块(Node.js)scripts/tarball-smoke.mjs:2
    import { spawnSync } from 'node:child_process'
  • warning向裸 IP 地址发起 HTTP 请求examples/offline-demo.ts:89
    const url = new URL(request.url ?? '/', 'http://127.0.0.1')
  • warning向裸 IP 地址发起 HTTP 请求examples/offline-demo.ts:101
    const endpoint = `http://127.0.0.1:${port}/weather`

静态启发式扫描,可能误报——使用前请自行审查源码。

活跃度

最近提交 2026-08-20 · 活跃度:活跃

• 仓库创建: 2026-08-20

• 星标: ★ 0 · 复刻: 0

• 健康度: 活跃 — 近 30 天有提交

来源

GitHub: github.com/Lem0nTea2002/dsh-tool-cassette

这页有帮助吗?