Overview
dsh-stop-that-shit
README / EN
Package documentation
Registry summary
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 GitHubLIMITATIONS
Known limitations
- **不是安全边界**。真正的隔离是 DSH 的 fs sandbox / 权限预设;这里是任务边界护栏。 - **`run_code`(PTC)**:程序体可以直接 `import('node:fs')` 写文件,只有嵌套的 `tools.*` 调用会被逐个判定。默认把 `run_code` 记为 `unknown` 走审批;只有能证明运行时被约束时 才把 `runCodeBindingOnly` 设为 `true`。 - **shell 写目标未证明**:`mkdir src/x`、`echo > src/x` 这类命令在 `files=` 边界下可能被判 `WRITE_PATH_UNPROVEN`(要求审批)。上游的 shell 写目标修复尚未合入本仓库的 vendor。 - **审计里的 `ask`**:记成 denial response(controller 的响应枚举没有 approval 值)。 - **审批卡依赖宿主**:headless 这类没有审批通道的宿主会把 `ask` 降级为拒绝,这是 DSH 的既定行为。
