Skip to content

dsh-security-audit

Type plugin Category Developer tools
Stars ⭐11 Status ✅ active
Capabilities coding Updated 2026-08-14

📖 About

English DSH 本机安全审计插件 —— 防御性、只读的安全审计:配置、凭据存储元数据、已安装插件来源、关键路径权限、会话文件结构与网络暴露面。输出脱敏、可复现、可定位的风险报告。 仓库:https://github.com/omdsh-dev/dsh-security-audit(public)

✨ Key Features

  • 只读:绝不修改/删除任何文件,绝不执行被审计插件的代码,绝不主动连接远程目标
  • 秘密脱敏:疑似秘密只返回类型 / 长度 / 进程内随机 HMAC fingerprint / 路径 / 行号,完整值永不出现在 canonical 输出(设计级保证,非截断)
  • 路径围栏:所有路径经 lstat → realpath → containment 检查;root 固定为进程启动时解析的 $DSH_HOME(或管理员声明的 allowedRoot),模型参数不能扩大读取范围
  • 诚实判定:finding / pass / skipped / error 四态;skippederror 不计为 pass(coverage 降为 incomplete);capability finding 只提示人工确认、不裁定恶意

📦 Install

# 交互式(web)profile
dsh plugin --profile web add github:omdsh-dev/dsh-security-audit
# 一次性任务(headless)profile —— dsh run 默认使用 headless
dsh plugin --profile headless add github:omdsh-dev/dsh-security-audit

🚀 Quick Start

dsh plugin --profile web add dsh-security-audit-*.tgz