You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
macOS engine: type_text into a password field confirms by character-count delta, emitting no count (808's rule) #414
On macOS, type_text into a password field (AXSecureTextField, or a web password input) can't confirm what it typed. The read-back snapshot refuses secure fields (#354, ruling 589), so the call answers unconfirmed even when every character landed. Typing a {{secret:…}} into a login form is the main use of secrets, so the agent can't tell a successful login entry from a dropped one.
Paste already confirms into secure fields without leaking anything (ruling 808, shipped in #405). The engine reads AXNumberOfCharacters before and after, compares the delta to the pasted length internally, and emits only confirmed or unconfirmed, with meta {secure:true}.
Work
Apply 808's rule to type_text's read-back for a secure target:
Read the field's character count before input and after.
Confirm when the delta equals the typed length, taking any replaced selection into account.
Emit only confirmed or unconfirmed, with meta {secure:true}: no count, no length, no value.
If the count read is unsupported or fails, answer unconfirmed (fail closed).
Proof
A stub provider test: the count never appears in the reply, meta, render, error strings or the stderr tail.
A live run of the pw-walk kit on each of the six lanes (CfT, both Electrons, Safari, Firefox, AppKit): {{secret}} typed into a password field confirms 20/20, and a deliberately dropped character answers unconfirmed.
[board] in-progress: Taken by cursor235: build on fix/414-secure-type-confirm (from fix/395 head 4170683; merge main after #417), qualify on probe/414-qual (six lanes from probe/405-qual)
Activity
SSFSKIM commentedon Nov 18, 2026
[board] in-progress: Taken by cursor235: build on fix/414-secure-type-confirm (from fix/395 head 4170683; merge main after #417), qualify on probe/414-qual (six lanes from probe/405-qual)
macOS engine: a password field's count or range of the wrong type is …
Docs: typeText confirms a password field by its length, and says that…
macOS engine: a password field's length counts a typed unit's UTF-16 …
Plugin 0.28.16; the service's header says a password field's type_tex…
macOS engine: a password field's read-back answers no length oracle, …
Docs: a password field with no length is checked by its caret, one sh…
Service header: a password field's record names its length confirmati…
macOS engine test: a held password field's noLongerSecure keeps a pas…
Spec: #414's Decision Log entry, rulings 826, 833 and 839 with the re…
20 remaining items
macOS engine: a concealed failure's reason comes from one final batch…
Merge #414's head 3b67bf4 into #361's branch (refs #361)
macOS engine: a concealed failure's classifying batch is its last rea…
Merge #414's head 8bc291f into #361's branch (refs #361)
Docs: a password-field failure's reason can depend on the text typed,…
Evidence: #414's qualification of its final pin 8bc291f under ruling …
Merge #414's head a122180 into #361's branch (refs #361)
macOS engine: type_text into a password field confirms by its length,…
SSFSKIM commentedon Nov 19, 2026
[board] done: Landed via PR #424 (cua 0.28.16)
Merge origin/main (645202d, #414 merged) into #361's branch (refs #361)
macOS engine: type_text's paste route confirms by exact read-back, ke…
macOS engine: type_text pastes a text holding a character outside the…
Probe 420: admit a non-secret refusal's constant zero counters on bot…