Commit Graph
2 Commits
Author SHA1 Message Date
skylartaylor 50eba6f012 Check resolved build paths and archive member names before each file operation
Each helper path is now resolved and compared against the fixed build root
(realpath and commonpath), and a path whose resolved form differs from its
written form is refused. Every name passed to a descriptor-relative open or
unlink is checked to be a single component. Archive members must be flat
names that stay inside the stage before they are added.
2026-11-23 02:38:18 +01:00
skylartaylor c5e0204f44 Confine Nightly packaging helpers to the private build directory
The plist and archive helpers now treat the launcher's private working
directory as the only allowed root. Every path is opened through directory
descriptors without following symlinks, reads are bounded, outputs are
created exclusively, and a failed write removes only the file this run
created. The Linux packager runs the archive step from its mktemp directory
with relative arguments.
2026-11-23 01:11:18 +01:00