Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-490-491"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Security wave 1 of the #490–#498 hardening set.
os.Root— the kernel refuses any resolution leaving the storage root, symlinks included. Policy: links are not data — never listed,Stat/Open/Copyon a link answerErrNotFound, escape errors map to not-found so nothing is leaked.SizeByPrefixnow walks through the driver's ownListso the same policy applies. Tests: out-of-root file link, out-of-root dir link mid-path, in-root link (all refused), real file still served.Ownerin the sidecar); HEAD/PATCH/DELETE from any other user answer the same 404 as an unknown id, so completion always runs in the creator's scope. Pre-upgrade ownerless sidecars are inert — no authenticated user can claim them (noted in CHANGELOG). Tests: two-user access matrix + ownerless-sidecar inertness; the existing unauthenticated restart-recovery test stays valid because both sides resolve to the empty owner only when no auth middleware is present.Witnessed red on the runner for all five new tests before implementation; full suite green.