Development record
2026-07-13 (itd-85 M3): privacy-hygiene reads tracked files through os.OpenRoot
decisiondcn-2607130000000009
2026-07-13 (itd-85 M3): privacy-hygiene reads tracked files through os.OpenRoot (repo-root containment), not os.ReadFile. A leaf-only O_NOFOLLOW is insufficient — a symlinked INTERMEDIATE directory still escapes; security review PoC-confirmed an out-of-repo arbitrary read. os.Root refuses any escaping component. Plus O_NONBLOCK (FIFO/device non-blocking open) + IsRegular skip + 4 MiB size cap. Requires go 1.24+ (repo is 1.25); no new dependency.
Frontmatter
| id | dcn-2607130000000009 |
|---|---|
| type | decision |
| date | 2026-07-13 |
.abcd/work/decisions/dcn-2607130000000009-privacy-hygiene-reads-tracked-files.md
open on GitHub ↗ · commit history ↗
mentions1
- itd-85A Read-Only Repo-Conformance Audit