devbox/internal/transport
shoemoney c864461fa1 fix(sec): contain manifest paths + verify blob integrity on download 🛡️🧊
Two ways a buggy/malicious hub could corrupt the local tree:
- writeEntry/deleteFile joined hub-supplied Entry.Path into root with no
  containment check, so '../../.ssh/authorized_keys' wrote/deleted OUTSIDE the
  mount. New safeJoin() uses filepath.IsLocal to refuse absolute/.. /escaping
  paths before any write or delete.
- GetBlob returned bytes with only an HTTP-status check. Blobs (chunks AND
  manifests) are content-addressed, so now verify chunk.Hash(body)==hash —
  a corrupt/truncated transfer or hostile hub can't write wrong content
  undetected. (manifest ID == chunk.Hash(Marshal()), so the check holds there.)
Regression tests for both.
2026-06-23 02:24:32 -05:00
..
client.go fix(sec): contain manifest paths + verify blob integrity on download 🛡️🧊 2026-06-23 02:24:32 -05:00
client_test.go feat(M2): hub server + transport client + push engine + CLI 🛰️ 2026-06-22 23:40:18 -05:00
integrity_test.go fix(sec): contain manifest paths + verify blob integrity on download 🛡️🧊 2026-06-23 02:24:32 -05:00
ratelimit.go feat(M4) + harden: bandwidth cap + M3 review fixes 🔒🛡️ 2026-06-23 00:29:50 -05:00
ratelimit_test.go feat(M4) + harden: bandwidth cap + M3 review fixes 🔒🛡️ 2026-06-23 00:29:50 -05:00