Changelog
CodeShare project brief 2026-06

v2.3.0 · In-browser zip preview in a sandbox

“See the tree before you download” lifts conversion—and is easy to turn into a security incident. This release is read-only preview only.

Added

Highlights

  • ⭐ Directory tree: paths and file sizes inside the archive
  • ⭐ Read-only text files: source-extension allowlist; binaries are not decoded as text
  • ⭐ Indexed preview: package etag changes rebuild the index so stale trees do not linger

Details

  • Only on-site R2 archive objects; outbound zip URLs are not fetched
  • Extract happens in a temp directory and is cleaned after preview
  • Preview can follow download entitlements or relax to “signed-in may preview”

Security

  • Hard caps on extract depth, file count, and total size against zip bombs
  • Entry paths are normalized; .. cannot write outside the sandbox
  • Preview APIs never run scripts or build artifacts

Fixed

  • Failed archives now show a clear error instead of spinning into a blank page that looks like an outage

Notes

  • Version: v2.3.0
  • Limits that are too loose fill the disk; too tight reject normal large repos. Defaults are operable; admins can still tune.
Views (0)

Comments

No comments yet