1 Commits
Author SHA1 Message Date
NarratorandClaude Opus 5.5 3191bbe276 Offline bundles can't write outside the folder they unpack into
extract checked each entry's path as a string, but not the links earlier
entries had already made: "l1 -> .", then "l1/l2 -> ..", then "l2/evil"
each pass on their own and together wrote evil next to the folder. A
crafted bundle, passed hand to hand during a blackout, could have
written anywhere the user can, ~/.bashrc included. Entries are now
written through an os.Root, which won't follow a link out.

A bundle also no longer takes along the .interzone-vars-*.json files an
admin action leaves in the inventory if it's killed; they hold the
admin's password.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 19:22:37 +01:00