vault-broker
PLUGINFill saved logins from an out-of-process credential broker.
by Karasumikura · v0.1.0
What it does
Fill saved logins from an out-of-process credential broker. The broker runs as its own system user with ProtectHome=yes, derives a KEK from a passphrase with scrypt and keeps the random data key (DEK) in checked mlock'd memory, and writes the password into the page itself over a DevTools endpoint taken ONLY from its own root-owned loopback config — the model cannot choose it, and a tab's websocket is refused unless its host:port matches.
The agent sends (handle, origin) over a unix socket and gets a fill count back; SO_PEERCRED limits the gateway uid to status/list/fill while unlock/add/remove/init/lock stay with root and the broker's own uid. Exact-origin binding is re-asserted inside the tab immediately before the write.
Import only accepts a JSON export the operator made themselves; the broker never opens Ulpi's credential stores. An optional CDP-pipe mode lets the broker launch and own Chromium with no TCP debugging port.
Linux; stdlib unittest suite; deps cryptography + websockets.
Tools it adds
The tools an agent gets once this plugin is installed.
- vault_broker_status
- vault_broker_list
- vault_broker_fill
How to set it up
Disclosure — requires running as root, which creates a system user, adds the Ulpi user to its group.
scripts/install.shvaultd
Review notes
What an owner reads and accepts before the install is approved.
- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve