dsh-agent-sentinel avatar

dsh-agent-sentinel

Security guard plugin for DeepSeek Harness: secret redaction, a shell command denylist, prompt-injection scanning, and syntax verification.

Plugin终端安全AI 模型终端 / Shell
验证
L2 · 结构化
安全
高风险
健康
活跃
信任

功能介绍

Security guard plugin for DeepSeek Harness: secret redaction, a shell command denylist, prompt-injection scanning, and syntax verification.

安装

dsh plugin --profile web add github:okaditya84/dsh-agent-sentinel

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

兼容性

DSH VersionStatus
not statedDeclared — not tested

要求

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

安全报告

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

DSH.SO高风险SCAN10 FILES
55e5d0
自动审查 · 每日更新
高风险

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

2 严重·1 警告·0 提示·10 扫描文件数
code-exec ×1shell ×1
插件版本0.1.0
扫描版本55e5d0af8eca2026-08-19
当前版本55e5d0af8eca

扫描结果仅对「扫描版本」有效。若当前版本不同,徽章将显示 outdated,直到每日流水线重新扫描。

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

风险:高风险2 critical · 1 warning · 0 info

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

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

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

高危发现 · 3 / 3

  • critical使用 child_process 子进程模块(Node.js)src/code-verifier.ts:1
    import { execFile } from 'node:child_process'
  • critical执行 shell 命令(exec / execSync)src/code-verifier.ts:104
    const child = execFile(bin, ['-c', 'import sys; compile(sys.stdin.read(), "<dsh-agent-sentinel>", "exec")'], (error, _stdout, stderr) => {
  • warning文件系统写入操作src/audit-logger.ts:47
    await fs.appendFile(this.logPath, line, 'utf8')

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

活跃度

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

• 仓库创建: 2026-08-19

• 星标: ★ 0 · 复刻: 0

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

来源

GitHub: github.com/okaditya84/dsh-agent-sentinel

这页有帮助吗?