Skip to content

Harden Windows desktop packaging build object identity after functional release #1998

Description

@integry

Objective

Close post-MVP Windows build-time object-identity races after #1972 delivers functionally green six-platform packages. This issue is deliberately not a release blocker for the first desktop epic unless a runtime/package trust boundary depends on the affected build-only path.

Scope

  • Bind canonical takeown/icacls OS-tool validation to execution without a pathname ABA gap, or prove the protected System32 directory and file ACL/signer guarantees make replacement impossible for the supported attacker model.
  • Validate owner, effective DACL, reparse tag, volume/file identity, signer and final executed image for the fixed OS tools without PATH or environment lookup.
  • Hold or revalidate the exact staging root identity through the multi-tool DACL transition; reject swap/delete/rename and attacker-planted explicit/inherited ACEs.
  • Preserve strict runtime packaged-authority ownership; this is build-only hardening.
  • Add deterministic hostile barrier tests on native x64 and ARM64 runners.

Dependency and integration

Start only after #1972 is integrated into the Electron runtime epic so this work targets the reviewed packaging implementation. Add the AI label and the correct descendant base label at that point. Require exact-head Ultrafix and native Windows CI. Do not target or merge directly to main.

Part of #1950, #1952, and #1957.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions