Adom Bridge
Public Made by Adomby adom
Adom Bridge unleashes your AI onto your full PC: full power, full safety. The AI breaks out of the container it runs in and onto your real machine, managing and running your entire laptop as you: launch apps, move files, drive any window, control KiCad, Fusion 360 or your real signed-in browser. Works with any AI, cloud or local (Claude Desktop, Claude Code, Codex), no Hydrogen required. Bridge and its bridges are an operating system for AI, with managed Node and Python runtimes, and a human-onl
AD-core verb: elevated SYSTEM helper to decrypt browser credentials (desktop_decrypt_browser_credentials) — unblocks pup comprehensive credential import
What pup needs from AD core: an elevated SYSTEM helper to decrypt browser credentials
pup is building a comprehensive credential import (spec: dev-skills/pup-browser-import in the pup bridge repo) to seed a shared, identity-tagged "adom-you" vault from the user's real logins across ALL their Chromium profiles. The blocker is Windows App-Bound Encryption (ABE, Chrome 127+): saved passwords/cookies are v20 blobs whose master key is double-DPAPI-wrapped under the SYSTEM account. A normal-user process (the container, the pup bridge, non-elevated code) canNOT unwrap it. Only an admin→SYSTEM helper can, exactly what Codex Desktop's "Import from Chrome" does behind its "Administrator approval required" prompt.
This half is AD-core (the container can't elevate or touch Windows DPAPI). Requesting a verb, proposed name desktop_decrypt_browser_credentials.
Contract
Input: { browsers?: ["chrome","edge","brave"], profiles?: [{browser, profile}], include?: ["passwords","cookies","autofill"] } (default: all browsers, all profiles, passwords).
Behavior:
- UAC-elevate once (honest consent prompt, like Codex). Return
errorCode:"elevation_declined"if the user cancels. - Get a SYSTEM token. For EACH browser: read
User Data/Local State, stripAPPBfromos_crypt.app_bound_encrypted_key, SYSTEM-DPAPI-unwrap the outer layer, then user-DPAPI-unwrap → the AES-256-GCM master key (one key per browser, shared across its profiles). - For EACH profile: copy
Login Data(it's locked while the browser runs), decrypt eachv20password_value(3-byte version prefix, 12-byte GCM nonce, ciphertext, 16-byte tag) with that browser's key. - Return rows:
{ origin, username, password, sourceBrowser, sourceProfile, sourceAccount (from Preferences account_info[].email), lastUsed }. Do NOT write plaintext to disk; return over the local API only. Cookies best-effort (managed-profile device policy often blocks them, surface per-item, don't fail the run).
Why AD and not pup
The pup bridge runs in the cloud container over CDP; it has zero access to the Windows user's DPAPI or an elevation path. AD is the only component on the machine that can prompt UAC and run as SYSTEM. pup owns everything after the rows come back: the identity-tagged merge, the vault, and the UX.
Precedent / safety
Same operation Codex Desktop ships openly with an admin-approval prompt. It's the user's own data, own machine, own explicit elevation, same as any password-manager import. Never a path that reads another user's profile or acts without the live consenting user.