Skip to content

Anchor local filesystem operations to directory handles - #80

Merged
sam-bretz merged 8 commits into
mainfrom
security/anchored-filesystem
Oct 23, 2026
Merged

sam-bretz merged 8 commits into
mainfrom
security/anchored-filesystem

Conversation

@sam-bretz

Copy link
Copy Markdown
Contributor

Anchor local filesystem reads, writes, replacements and cleanup to retained directory handles. JavaScript uses a first-party helper through bounded pipes; the Python POSIX installer uses directory descriptors. Unsupported secure writes stop safely.

This is stacked on the checkout/output hardening PR. Windows automatic writes are unavailable until a handle-based backend is verified. A compiler is not required at package runtime.

Local Mac validation covers containment, rollback, permissions, legitimate installation and packaged operation. The four-target POSIX workflow builds and tests prebuilt helpers on Node 22/24 before assembly. Keep this draft until verified artifacts are included and the exact final head passes the platform checks; current platform support is documented in native/README.md.

@sam-bretz
sam-bretz force-pushed the security/anchored-filesystem branch from 75fabca to 7085472 Compare October 23, 2026 01:10
@sam-bretz
sam-bretz changed the base branch from security/current-main-local to main October 23, 2026 01:50
@sam-bretz
sam-bretz marked this pull request as ready for review October 23, 2026 01:50
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-10-23T01:50:20.984019Z ff70b64 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@sam-bretz
sam-bretz merged commit 4c2e0ed into main Oct 23, 2026
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant