From 5a42661522a0a98ef11542dbe3fed0e4e42aee1c Mon Sep 17 00:00:00 2001 From: shoemoney Date: Tue, 23 Jun 2026 02:41:38 -0500 Subject: [PATCH] =?UTF-8?q?docs:=20record=20the=20M7.5=20security/data-los?= =?UTF-8?q?s=20audit=20pass=20+=20deferred=20hardening=20=F0=9F=94=90?= =?UTF-8?q?=F0=9F=93=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index edc8aec..1ddb4de 100644 --- a/README.md +++ b/README.md @@ -487,6 +487,21 @@ flowchart LR | โœ… | **M6 โ€” Versioning** ๐Ÿ•ฐ๏ธ | `devbox log` (full snapshot ids) / `restore` (revert any file) / hub `gc` โ€” fleet-verified | | โœ… | **M6.5 โ€” Deploy** ๐Ÿš€ | `devbox deploy ` โ€” apply a snapshot without pushing, `[pinned]` mount; fleet-verified blue/green | | โœ… | **M7 โ€” Hardening** ๐Ÿ›ก๏ธ | `devbox doctor`, `stop`/pidfile, `hook edit/list`, SSE backoff+jitter, **60s rescan fallback** (survives dead/limited inotify watchers โ€” PRD risk #1), share-name guard, release builds โ€” fleet-verified | +| โœ… | **M7.5 โ€” Audit hardening** ๐Ÿ” | adversarial security/data-loss audit + fixes: blob-hash **path-traversal** blocked, **download blob-integrity** check, manifest-path **containment**, secret-guard **case-insensitive** + more patterns, **never-clobber** ignored/guarded files, **GC made safe** vs cross-share refcount undercount โ€” all with regression tests, race-clean, fleet-verified | + +
+๐Ÿ” hardening still deferred (single-owner v1 threat model) + +The post-v1 audit fixed every data-loss + arbitrary-file path; these are the **lower-risk** items left, safe to defer because v1 is **single-owner / all devices trusted** (PRD ยง2): + +- ๐Ÿ”ข **Per-`(share,id)` snapshot refcounts** โ€” the GC is already ground-truth-safe; this is the cleaner accounting (needs a live-hub schema migration). +- ๐Ÿ”‘ **Read-side ACL + deny-by-default writes** โ€” only matters once shares span *multiple owners* (v2 teams); today every enrolled device is yours. +- ๐Ÿชช **Join proof-of-possession** (sign a challenge with the device key). +- ๐Ÿšช **Request size limits + server timeouts** (DoS hardening; hub sits behind NPM on the LAN). +- ๐Ÿ’ฝ **fsync durability** on atomic writes (power-loss safety). +- ๐Ÿ†” **pidfile PID-reuse guard**, conflict-copy on explicit `restore`/`deploy`. + +
๐Ÿ”ฎ v2 backlog