What it doesAI
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-generated from the repo README — for reference only.
Installation
dsh plugin --profile web add github:muyuanjin/dsh-ptc-plusInstall 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 ×30.1.0dsh manifest49b72f99c1b32026-08-2049b72f99c1b3The 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 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 is advisory and does not change dsh’s four-tier level.
• Static heuristic scan: done (13 files)
• Dependency vulnerabilities: requires deep audit (L3+)
• Permission sandboxing: requires runtime testing (L4+)
High-risk findings · 8 / 8
- criticalDynamic code execution via eval()internal/kernel-worker.js:251server.eval(program + CELL_FRAME_SUFFIX, context, 'ptc-plus-repl', finish)
- criticalChild process module usage (Node.js)scripts/ab-headless-trajectories.mjs:1import { execFileSync, spawn } from 'node:child_process'
- criticalChild process module usage (Node.js)scripts/expensive-headless-acceptance.mjs:1import { execFileSync, spawn } from 'node:child_process'
- warningShell command execution (exec / execSync)scripts/ab-headless-trajectories.mjs:71return execFileSync('pwsh.exe', ['-NoLogo', '-NoProfile', '-Command', command], { encoding: 'utf8' }).trim()
- warningShell command execution (exec / execSync)scripts/ab-headless-trajectories.mjs:215return execFileSync('zstd', ['-q', '-d', '-c', file], {
- warningShell command execution (exec / execSync)scripts/ab-headless-trajectories.mjs:707dshVersion: execFileSync('pwsh.exe', ['-NoLogo', '-NoProfile', '-Command', 'dsh --version'], { encoding: 'utf8' }).trim(),
- warningShell command execution (exec / execSync)scripts/expensive-headless-acceptance.mjs:99return execFileSync('pwsh.exe', ['-NoLogo', '-NoProfile', '-Command', command], { encoding: 'utf8' }).trim()
- warningShell command execution (exec / execSync)scripts/expensive-headless-acceptance.mjs:172return execFileSync('zstd', ['-q', '-d', '-c', file], {
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: ★ 0 · Forks: 0
• Health: Active — committed within last 30 days
