Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/spec/SECRET_HANDLES.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ differs by platform. A call run `host-plain` is bound by nothing.
| Credential directories (`.ssh`, `.gnupg`, `.aws`, `.azure`, `.kube`, `.docker`, `.password-store`, Keychains, `.config/gh`, `.config/gcloud`) | not a default of the browser copy | unreadable at any depth | masked under `$HOME` only |
| `*.pem`, `id_*` and other secret-looking names inside a root | readable | READABLE; `rg pattern .` reads `root/key.pem` | the same |
| A path a `hide` policy matches | held like a dotenv file; built (#2088) | read and write denied, by a rule after the template allow; built (window-ml-host#58, released in 0.11.0, and #2155) | resolved against the tree when the call starts and each match masked, so a file made later is readable to that call; past 256 matches the spawn fails; built, as for macOS |
| A path a `show` policy matches | released, readable and writable | released by an allow after the denies, never over a credential directory; built, as above, except a linked template. A DEFECT at host main 4e900a9d (the move-run lane's finding, 2026-11-29, checked by the coordinator): with `.env` a symlink or hardlink to `.env.example`, `show .env.example` releases the template, which POLICIES.md, "Hiding files", refuses. The repair, a window-ml-host PR not yet open: such a `show` is not applied and is reported in `unappliedShows`, and the call still runs | not masked; built, as above, except a linked template, the same DEFECT, and here a read through `.env` reaches the unmasked template |
| A path a `show` policy matches | released, readable and writable | released by an allow after the denies, never over a credential directory; built, as above. A linked template (`.env` a symlink or hardlink to `.env.example`) was a DEFECT at host main 4e900a9d (the move-run lane's finding, 2026-11-29, checked by the coordinator): `show .env.example` released the template, which POLICIES.md, "Hiding files", refuses. Repaired on window-ml-host's main by its #63 (193ff160, 2026-12-01), not yet released: such a `show` is not applied unless every name reaching that file is shown, it is reported in `unappliedShows`, and the call still runs | not masked; built, as above. A linked template had the same DEFECT, here a read through `.env` reaching the unmasked template; repaired by the same #63. A GAP that remains on Linux: a call can rename or remove a held-name link in a writable root, and the template reads as ordinary from the next call on (that call's own read is refused); window-ml-host#64 |
| A held path NAMED in a call's marked path argument | not applicable | the call asks; approved, that path's READ is re-allowed for that call, and nothing else | the call asks; approved, the path is readable. Two DEFECTS at host 0.10.0 (the files-host lane's reading of `src/sandbox.rs`, 2026-11-24; the second checked by the coordinator): a named file at a root's top is also WRITABLE, and a named file under a credential directory unmasks the WHOLE directory for that call (`~/.ssh/id_ed25519.pub` named, the private key readable). Both are repaired on window-ml-host's main by its #59 (50430e62, 2026-11-24): a named secret opens only itself, for reading only. Released in 0.11.0 |

- **A hidden file's NAME is listed everywhere, and its content nowhere.** That is Shane's position (2026-11-24): the
Expand Down
Loading