zhaorui-wu/dsh-isolation-gate ↗★ 0

dsh-isolation-gate

门禁 · 目录访问管制(隔离区授权台):一屏管理「哪些目录受管、各自什么级别」,三级=禁/只读/可读写删;判定同时挂在受管辖通道(bin/gate.mjs)与宿主工具执行门(ctx.tools.guard)上,默认禁、名单缺失一律拒绝(fail-closed)、审计可查、agent 可自查;支持分组批量切、目录选择器与状态文件自动迁移。 适合需要对Agent执行环境进行严格目录权限控制(禁/只读/读写)的安全敏感型用户。

Package
dsh-isolation-gate
Compatibility
Unverified
Version
0.2.3
License
MIT
Last updated
Oct 21, 2026

Other repositories with this package name

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zhaorui-wu/dsh-isolation-gate

零配置默认值

配置默认说明
statePath/isolation-gate/state.json状态唯一真身
rosterPath/isolation-gate/roster.txt名单(一行一对象)
backupDir``改名单前备份
root\列"一层目录"的根
auditPath~\.dsh\dsh-isolation-gate\access-log.jsonl审计
toolGatetrue关掉就只剩通道层
suspectVocabulary['pi','codex',…] 内置追加"疑似受管目录"名谱(旧键 harnessVocabulary 仍读)