Skip to content

macOS engine: a refusal never quotes a value read now, nor a withheld one (#520) - #532

Merged
SSFSKIM merged 6 commits into
mainfrom
fix/520-output-quote
Nov 23, 2026
Merged

SSFSKIM merged 6 commits into
mainfrom
fix/520-output-quote

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 23, 2026

Copy link
Copy Markdown
Owner

Closes #520. #524 is closed by hand after the merge (ruling 1163): this change adds no refusals.

What

A stale-point refusal sentence could quote an element's AXValue raw. If the element was, or had become, a secure field, a password could reach the model's context. This fix works only on the output side (rulings 1163 and 1165). No AX read, no read order and no verdict changes; only sentence wording does.

Inventory: every route by which a stale-point value reaches output

The only route is a quote in a refusal sentence (stalePointOutcome). No value is carried raw in a structured field, in _meta, in a log or stderr, or in the tree render.

Site Now
#298 relabelled (label read now) a value read now: "now reads another label". A title or description read now is still quoted.
#433 relabelled control beneath an inert layer "that control now reads another label"
#442 control on top named by its title or description read now, otherwise by its role alone. The value is still read in main's order and then dropped.
Recorded names (was, #433 over/control, #443 node/control, #442 shown) the recorded value only if it was recorded open, otherwise "AXStaticText (value withheld)"

Proof

  • SecureValueQuoteTests has 10 tests, using an AXSecureTextField fixture holding a secret string: one per site (including Stale-point guard keeps a click on an inert decoration that moved from a replaced link into its replacement #443's outlived control), one for the recorded field, and one for an element recorded open that is now secure, across all seven scenes. Seven are red on 82ac93f, and the recorded-open-now-secure test is red on the first cut.
  • Differential (LabelMonotonicityTests): each of 74,802 verdict lines is written out with its sentence stripped (the meta wire, whether it refused, the target, and the label read now). The SHA-256 of those lines, 3b936e38…, was frozen from 82ac93f and the head matches it. underlyingRefusal was also checked against a frozen copy of main over every label-slot combination.
  • swift test: 1737 tests, 1 skipped, 0 failures at d72e346; at the head, the test-only commit adds one (StalePointTests 187/0). The Xcode 27.2 release build passes.

History

Two read-side attempts (branch fix/520-classified-value) were abandoned after their reviews found introduced P1s: presses main refused. Their scenes are on #481 for its design note on three-valued reads (ruling 1163).

Plugin 0.29.12.

Sminos-Session: cursor235#b93055dd (cua on macbook)

…ssified it open (refs #520)

Ruling 1163. The stale-point refusals named an element by its AXValue when it
had no title or description, and quoted the label #298 reads now, which can be
the value read raw. The record now keeps whether #405's classification at the
observation found the element open (ScreenshotNode.valueOpen), and every
sentence quotes a value, recorded or read now, only then; otherwise it says
"value withheld". relabelledLabel answers the part its label came from
(StalePointLabelNow). No read, comparison or verdict changes.

Tests: one per output site with a password-field fixture holding a secret
(SecureValueQuoteTests), the control beneath against a frozen copy of
82ac93f's underlyingRefusal, and whole verdicts over the oracle's label
worlds against a digest of the same enumeration on 82ac93f.

Sminos-Session: cursor235#b93055dd (cua on macbook)
…ory (refs #520)

Sminos-Session: cursor235#b93055dd (cua on macbook)
…lassified it open (refs #520)

Sminos-Session: cursor235#b93055dd (cua on macbook)
Ruling 1165. A value read now is unclassified, whatever the record says of the
element at the observation, so no sentence quotes it: #298's and #433's
relabelled refusals say the control "now reads another label", and #442's
control on top with no title or description is named by its role. A value is
quoted only as the record kept it, classified open. Its read is kept in main's
order; no read, comparison or verdict changes, and the differential digest of
82ac93f's verdicts still matches.

SecureValueQuoteTests gains an element recorded open as "Open" that is a
password field holding the secret now, at every site.

Sminos-Session: cursor235#b93055dd (cua on macbook)
…uoted) (refs #520)

Sminos-Session: cursor235#b93055dd (cua on macbook)
…ithheld (refs #520)

The review's P2: the site-5 test's former control was a titled link, so
inertOutlivedControl's control argument never reached the value fallback.
The new case records an untitled password field acting by AXPress as the
control, and the replacement slides 5 pt off its frame, so controlGone names
it "AXStaticText (value withheld)" and never the secret.

Sminos-Session: cursor235#b93055dd (cua on macbook)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T18:41:13.869736Z 2423d42 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant