Skip to content

Keep Inbox GitHub lock file owner-only #2254

Closed

Description

@JacobStephens2

In src/logs/github.rs (refresh), open .github-inbox-lock with OpenOptions (create(true), truncate(false), write(true), and mode 0o600) instead of File::create, set permissions to 0o600 via set_permissions, and then call try_lock().

Add test coverage verifying both new .github-inbox-lock creation with mode 0o600 and tightening an existing .github-inbox-lock with broader permissions to 0o600.

Private record: https://github.com/JacobStephens2/thirdshift/security/advisories/GHSA-g5f9-q3pv-4j87

Activity

  1. added
    needs-triage
    ready-for-agent
    security-fix
    in-progress
    and removed
    needs-triage
    ready-for-agent
    on Nov 17, 2026
  2. removed
    in-progress
    on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    security-fix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions