Expand description
What was typed into a page from the Vault, kept as a keyed digest so a read can leave it out wherever it shows (docs/specs/SPEC_VAULT_AGENTS_ENTER_CREDENTIALS_WHEREVER_ASKED_2026_11_16.md, G4).
A value typed from the Vault is never returned to an agent. The mark on the field it was typed into is one way a read knows; this is the other: for every document a value was typed into, a read of that document’s text or of a field’s value is checked against the values typed there, wherever they now sit (a field the page replaced, a text it echoed, a longer sentence that holds it).
What is kept is, for each value, its length in characters, a rolling fingerprint and an HMAC-SHA-256 of it, both keyed with a key made when the process started, held in memory only and never written anywhere. The value itself is dropped after it is typed. A short value (a PIN) can’t be guessed from the digest without the key. A window of that length is slid over the text read; a window whose fingerprint matches is confirmed with the HMAC.
A value shorter than WINDOW_FROM characters is matched as a whole text only (a field that holds exactly it), not
inside a longer one, so a one-digit code box doesn’t blank every 5 on the page.
The digests belong to one document of one pane. A read made against another document (the pane navigated, reloaded or was closed, so its document id differs) finds none, and they are dropped then.
Structs§
- Typed
Secrets - The values typed into the documents of this process’s panes, as digests.
Constants§
- TYPED_
FROM_ VAULT - What a read shows in place of text that holds a value typed from the Vault.
- WINDOW_
FROM - From this many characters a value is matched inside longer text; below it, as a whole text only.