dsh-ptc-plus avatar

dsh-ptc-plus

A session-bound agent-native REPL for DeepSeek Harness PTC mode.

Plugin终端存储终端 / Shell
验证
L2 · 结构化
安全
中风险
健康
活跃
信任

功能介绍AI

A session-bound agent-native REPL and transport recovery layer for DeepSeek Harness PTC mode, preserving direct Node.js/OS access.

  • Session-bound agent-native REPL
  • Transport recovery layer for PTC mode
  • Preserves direct Node.js and OS access

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

安装

dsh plugin --profile web add github:muyuanjin/dsh-ptc-plus

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需注意49b72f
自动审查 · 每日更新
需注意

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

3 严重·5 警告·5 提示·13 扫描文件数
code-exec ×3
插件版本0.1.0dsh 清单
扫描版本49b72f99c1b32026-08-20
当前版本49b72f99c1b3

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

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

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

vet 判定:vet:干净 · score 81

  • R10 · info [heuristic] — 依赖清单:4 项(@babel/code-frame, @deepseek-ai/schemastery, acorn, yaml,供 LLM 审计供应链;已知漏洞核对见后续 OSV 精确版本查询(网络失败静默降级))
  • R9 · info [heuristic] — 循环内 += 累加(字符串拼接可能 O(n²))
  • R3 · info [certain] — 只读 process 成员(能力触达面):process.stdout
  • R3 · info [certain] — 只读 process 成员(能力触达面):process.stderr
  • R3 · info [certain] — 裸 process 引用(可能为 typeof 探测)

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

风险:中风险3 critical · 5 warning · 5 info

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

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

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

高危发现 · 8 / 8

  • critical通过 eval() 动态执行代码internal/kernel-worker.js:251
    server.eval(program + CELL_FRAME_SUFFIX, context, 'ptc-plus-repl', finish)
  • critical使用 child_process 子进程模块(Node.js)scripts/ab-headless-trajectories.mjs:1
    import { execFileSync, spawn } from 'node:child_process'
  • critical使用 child_process 子进程模块(Node.js)scripts/expensive-headless-acceptance.mjs:1
    import { execFileSync, spawn } from 'node:child_process'
  • warning执行 shell 命令(exec / execSync)scripts/ab-headless-trajectories.mjs:71
    return execFileSync('pwsh.exe', ['-NoLogo', '-NoProfile', '-Command', command], { encoding: 'utf8' }).trim()
  • warning执行 shell 命令(exec / execSync)scripts/ab-headless-trajectories.mjs:215
    return execFileSync('zstd', ['-q', '-d', '-c', file], {
  • warning执行 shell 命令(exec / execSync)scripts/ab-headless-trajectories.mjs:707
    dshVersion: execFileSync('pwsh.exe', ['-NoLogo', '-NoProfile', '-Command', 'dsh --version'], { encoding: 'utf8' }).trim(),
  • warning执行 shell 命令(exec / execSync)scripts/expensive-headless-acceptance.mjs:99
    return execFileSync('pwsh.exe', ['-NoLogo', '-NoProfile', '-Command', command], { encoding: 'utf8' }).trim()
  • warning执行 shell 命令(exec / execSync)scripts/expensive-headless-acceptance.mjs:172
    return execFileSync('zstd', ['-q', '-d', '-c', file], {

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

活跃度

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

• 仓库创建: 2026-08-20

• 星标: ★ 0 · 复刻: 0

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

来源

GitHub: github.com/muyuanjin/dsh-ptc-plus

这页有帮助吗?