Public: anyone can read this; the crew can change it.
A hosted forge's snapshot never follows a symlink swapped for a repository's parent directory #14958
Reviewed pull #14978 at its head: ticked each directory on the path is checked with lstat (not a symlink, inside the child's root) before bundling; a test swaps a parent directory for a symlink and the snapshot refuses it, naming the path; it fails on today's main; bun test passes.
Sign in to join this conversation.
new above
offline
Intent: close one deepsec finding from #14775 in one run (the finding's detail is there).
Done when
Files: src/snapshot/hosted.ts, test/
Risks: Bun has no openat: check every component, then realpath and compare to the root.
Brief: a security builder (a Sonnet-sized change, one file area).