Skip to content

Linux engine: audit and guard password-role fields in the observation walk (parity with the macOS secure-field rule) #407

Open

Description

@SSFSKIM

Problem

cursor235's audit found that cua's macOS observation path reads secure fields' values without a guard (see the macOS ticket). The Linux engine needs the same check: whether its AT-SPI walk reads Text/Value from ROLE_PASSWORD_TEXT (and from STATE_… or the Chromium/GTK4/Qt password roles), whether it stores the value in identity, and what it prints. Not yet audited.

Work

  1. Audit the Linux engine's walk, focused-element read, identity and render for password-role handling, and record what each lane (Chrome, Firefox, GTK3, GTK4, Qt) exposes for a password field.
  2. Then apply the macOS rule: classify before any value read, never read the value, length or selection of a password-role element, keep it out of identity, and print secure text.

Proof

  • A unit test with a stub AT-SPI tree that returns plaintext for a password-text element: the plaintext and the length appear nowhere.
  • A live walk over the Linux lanes shows secure text for every password field.

Timing

After M5's T10, so M5's frozen heads don't move.

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

    enhancementpriority:P3status:ready-for-implementer

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions