Skip to content

macOS engine: a live AXValue is compared and quoted without #405's classification (possible secure-value leak) #520

Closed

Description

@SSFSKIM

Problem

The macOS engine's stale-point checks read a control's live AXValue through raw reads (liveLabel, reads.value, readLabel(.value)), not through #405's same-batch role/subrole classification. A value that was read raw can reach model-visible text: the otherControlOnTop refusal (#442) quotes a live label when the element has no title or description, and other sentences may as well. If the element is a secure field, or could be one, a password can leak into the model's context. This predates #519; #519's review found it (ruling 1151).

Scope (ruling 1163): close the leak at output, change no reads

Three review rounds on #519 and #520 produced introduced P1s (presses main refused), and every one came from changing the read path. The two attempts at a read-side fix are on branch fix/520-classified-value (fe59314), kept for reference only. This ticket now fixes the leak where values are output:

  1. Inventory. List every place a live or recorded AXValue from the stale-point path, or from the read sites the earlier attempt touched, can reach output: verdict sentences (Stale-point guard under an inert overlay can't see stacking: a control slid over the target, or an overlapping sibling, gets the click #442 and any others), _meta, error text, and logs the model can see. The PR lists them.
  2. Gate at each site. Quote a value only if the recorded node's macOS engine: observation never reads a secure field's value, length or selection (protection is the AX provider's today) #405 classification, taken at observation, says it isn't secure. Otherwise say "value withheld". Where there is no recorded classification, don't quote. No new AX calls, and no change to any read or verdict.
  3. Stop condition. If a value reaches the model by some path other than being quoted, so that output gating alone can't close the leak, take that path to design before building anything.

Acceptance

Three-valued handling of AX errors (unread → refuse) moved to #481's design note (ruling 1163), with this round's three P1 scenes as test cases. When #520 merges, #524 closes citing the head (there are no new refusals).

Activity

  1. added
    bug
    status:ready-for-implementer
    priority:P1
    on Nov 23, 2026
  2. added 3 commits that reference this issue on Nov 23, 2026
  3. added
    status:in-progress
    and removed
    status:ready-for-implementer
    on Nov 23, 2026
  4. SSFSKIM commented on Nov 23, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-progress: Building after #519 (main 82ac93f): classified live label reads, never quote unclassified, batch-CFNull trap

  5. added 5 commits that reference this issue on Nov 23, 2026
  6. SSFSKIM commented on Nov 23, 2026

    @SSFSKIM
    OwnerAuthor

    [ruling 1163] Re-scoped to an output-side gate (body rewritten). Read-side attempt fe59314 abandoned after its scoped re-review found 3 introduced P1s (recorded on #481). New branch fix/520-output-quote from 82ac93f.

  7. added 3 commits that reference this issue on Nov 23, 2026
  8. added
    status:in-review
    and removed
    status:in-progress
    on Nov 23, 2026
  9. SSFSKIM commented on Nov 23, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-review: PR #532 (output-side gate, rulings 1163/1165)

  10. SSFSKIM commented on Nov 23, 2026

    @SSFSKIM
    OwnerAuthor

    [review-trail] reviewer-high (fresh) 82ac93f..d72e346: production clean (no read/order/verdict change, no ungated value path); 1 P2 test gap fixed test-only at 2423d42 (red with control arg reverted). Earlier: a827ef5a on read-side fe59314 found 3 P1 -> abandoned per 1163.

  11. removed
    status:in-review
    on Nov 23, 2026
  12. SSFSKIM commented on Nov 23, 2026

    @SSFSKIM
    OwnerAuthor

    [board] done: Landed via PR #532 (cua 0.29.12)

  13. SSFSKIM commented on Nov 23, 2026

    @SSFSKIM
    OwnerAuthor

    [board] done: merged #532 main 893e19d (0.29.12)

  14. added a commit that references this issue on Nov 23, 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

    bugpriority:P1

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions