devbox/internal
shoemoney fd361e811e harden(dos): bound request bodies + add hub server timeouts 🚪🛡️
The hub read request bodies with unbounded io.ReadAll / json.Decode and ran
http.ListenAndServe with zero timeouts — a single client could OOM it or hold
connections open (slowloris). Now:
- handleBlob caps the body at 256 MiB, decode() caps JSON at 8 MiB, both via
  http.MaxBytesReader -> 413 when exceeded.
- serve uses an http.Server with ReadHeaderTimeout/ReadTimeout/IdleTimeout +
  MaxHeaderBytes. WriteTimeout intentionally unset so the long-lived /v1/events
  SSE stream isn't killed. [fanned-out subagent: harden-dos]
2026-06-23 02:59:53 -05:00
..
chunk feat(M3): live two-way sync — SSE fan-out + daemon + mount 🔄 2026-06-23 00:12:39 -05:00
config feat(M6.5): devbox deploy — pin a mount to a snapshot (no push) 🚀 2026-06-23 01:17:20 -05:00
daemon fix(daemon): stagger rescans, guard jitter panic, tighten backoff reset 🔁⚙️ 2026-06-23 02:38:46 -05:00
hooks refactor(M7): cmp.Or for editor env, share hooks.Executable (ponytail) ♻️ 2026-06-23 01:32:22 -05:00
hub harden(dos): bound request bodies + add hub server timeouts 🚪🛡️ 2026-06-23 02:59:53 -05:00
identity feat(M2): wire protocol foundation 🔌 2026-06-22 23:30:01 -05:00
ignore fix(sec): secret guard no longer leaks creds — case-insensitive + more patterns 🔑🛡️ 2026-06-23 02:15:28 -05:00
manifest feat(M4) + harden: bandwidth cap + M3 review fixes 🔒🛡️ 2026-06-23 00:29:50 -05:00
secret fix(sec): secret guard no longer leaks creds — case-insensitive + more patterns 🔑🛡️ 2026-06-23 02:15:28 -05:00
syncer harden(durability): fsync atomic writes before publishing the rename 💽 2026-06-23 02:59:26 -05:00
transport fix(sec): contain manifest paths + verify blob integrity on download 🛡️🧊 2026-06-23 02:24:32 -05:00
watch fix: foundation hardening from review pass 🛡️ 2026-06-22 23:24:55 -05:00