Files
romm/backend/handler
Zach Clendenen b6f2abb30f review(pr-ready step 2): harden import archives and fix review findings
Security (from the step 1 audit):
- Inflate zip entries a chunk at a time, so an entry whose header
  understates its size fails the CRC check instead of inflating in full.
- Cap the broker manifest at 1 MiB before reading it.
- Rebuild copied entries as regular files, keeping only permission bits,
  so a symlink entry cannot ride into the container.

Code review (xhigh):
- Bound the broker error body read at 1 MiB and truncate what is logged
  and returned.
- De-duplicate refusal hints in Stream.vue.
- Unpack only save members as zips; a zip-shaped state stays whole.
- Pick the newest state off an archive by created_at.
- Run newest_restorable off the event loop.
- Name a carried base entry by its staged path in the manifest.
2026-09-25 19:15:38 -05:00
..
2025-12-07 12:19:13 -05:00