Plugin directory / Knowledge / dsh-cookie-bridge
dsh-cookie-bridge
Verified · install-tested on dsh xiaoheizi1212
What it does
Chrome extension that exports plaintext cookies to dsh-computer-use over localhost (no App-Bound decryption needed).
Works — verified, early-stage project
Chrome extension that exports plaintext cookies to dsh-computer-use over localhost (no App-Bound decryption needed). It installs cleanly and boots without issues in our testing. It's early-stage but functional.
“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.
README
dsh-cookie-bridge
A small Chrome (Manifest V3) extension that exports plaintext cookies from your Chrome profile to dsh-computer-use, so the computer-use browser can start already logged in — without touching Chrome's App-Bound Encryption.
Chrome 127+ encrypts cookies with App-Bound Encryption, so a separate process can't read your profile's cookies directly. This extension sidesteps that by running inside Chrome: chrome.cookies returns the plaintext values, and the extension sends them to a local receiver on 127.0.0.1 — cookie values never leave your machine.
Install
- Open
chrome://extensions. - Enable Developer mode (top-right).
- Click Load unpacked and select this folder.
How it works
| Piece | Role |
|---|---|
This extension (background.js) |
Polls a local queue, reads cookies via chrome.cookies, filters by allowlist, POSTs them back |
dsh-computer-use (scripts/import-cookies-server.ts) |
Local HTTP receiver + agent-driven request queue |
dsh-computer-use (scripts/request-cookies.ts) |
Agent-side helper: request-cookies.ts all x.com,xiaohongshu.com |
Flow: agent requests domains → receiver queues → extension extracts (filtered) → receiver saves cookies.json → the plugin imports it.
Privacy & security
- Cookies are filtered by the allowlist before they leave Chrome.
- Values travel only to
127.0.0.1(localhost); never to any remote host. - The extension requests broad host permissions (
http://*/*,https://*/*) because that is what thecookiesAPI requires to read any domain; it does nothing else with them.
Credits
1st version — created using DeepSeek-V4-Pro-0813 with DeepSeek Harness.
Token usage: 223,443,625 tokens · 99% cache hit rate.
The companion
dsh-computer-usenative helper is Windows-only. A macOS version is welcome — the author has no macOS environment.
License
MIT — open source.
Install
Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:
dsh plugin add dshbase-catalog Then say "install dsh-cookie-bridge for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.
This plugin is GitHub source (not published to npm) — install it straight from the repo:
Web profile:
dsh plugin --profile web add github:xiaoheizi1212/dsh-cookie-bridge Headless (CLI) profile:
dsh plugin --profile headless add github:xiaoheizi1212/dsh-cookie-bridge Test report
Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.
When to use it
Give the agent a memory, a knowledge base, or a retrieval layer so it stops forgetting context between sessions.
Who it's for
Users running long projects who want the agent to remember decisions, docs, and preferences without re-explaining.
For developers — extending it
The memory/retrieval backend is the seam — plug a new store, tune what gets distilled, or add citation and audit trails.