All plugins

DSH / BUNDLE / BUNDLES

outside-access-guard

v0.2.5SilverCrossing / outside-access-guarde387336ef3

InstallableBundlesBundles & other modulesCommunity · Topic auto-analysis

Overview

outside-access-guard

Three-mode gate for tool access outside the session workspace: deny, per-call approval with high-risk double confirmation, or allow; every decision is logged per day.

README / EN

Package documentation

Registry summary

Three-mode gate for tool access outside the session workspace: deny, per-call approval with high-risk double confirmation, or allow; every decision is logged per day.

dsh.pub verifies the pinned bundle contract, runtime facts, and distribution semantics. The complete README remains in the source repository.

Read the full README on GitHub

LIMITATIONS

Known limitations

1. **shell 是启发式检查,不是系统级隔离。** 绝对路径、`..`、常见环境变量能识别; 字符串拼接、二次展开、编码、子进程脚本仍可绕过。真正可靠需要沙箱本身支持"读也受限"。 2. **只覆盖工具层。** 附件、技能加载、会话日志、web 抓取等 Host 内部服务不经过 `tools/pre-execute`。 3. **审批策略为 `never` 或没有应答者时**,`ask` 失败关闭(拒绝),不会放行。 4. **不改变写入策略**:写工作区外仍由沙箱拒绝;`allow` 只影响本插件,不会放宽内核沙箱。 5. **模式是进程全局的**,不按会话区分;运行时开关重启即失效。 6. **开发阶段的已知缺口**:插件源码位于工作区,模型可通过 `write`/`edit` 改写它 (重启或热重载后生效)。正式发布前应把安装副本移出工作区,并加自我修改防护。 7. 敏感规则是"提醒"而不是"保证":用户仍可能在两次确认里手滑放行; 对真正不可读的路径,请用 `deny` 模式或沙箱策略。