Skip to content

Harden updater user service filesystem surface #63

@nisavid

Description

@nisavid

Summary

Narrow updater user service filesystem access around explicit runtime and build paths.

Source

Migrated from docs/maintainers/security-backlog.md.

Maintained Docs

  • Security backlog index and review workflow: docs/maintainers/security-backlog.md
  • Threat model: docs/maintainers/threat-model.md
  • Package and runtime maintenance: docs/maintainers/package-runtime-maintenance.md

Context

The packaged user service uses a constrained PATH, PrivateTmp=yes, RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6, and UMask=077. NoNewPrivileges remains unset because the daemon must invoke pkexec.

Review Gate

Run the @codex-security workflow before treating implementation as review-ready.

Desired State

  • Filesystem protections are narrowed around explicit XDG config, state, cache, and build workspace paths.
  • Update, rebuild, and install flows are tested under those restrictions before enabling them in packages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions