xiaoheizi1212 / dsh-cookie-bridge

已收录

Chrome extension that exports plaintext cookies to dsh-computer-use over localhost (no App-Bound decryption needed).

main其他 查看源代码

安装

npx -y @deepseek-ai/dsh plugin --profile web add github:xiaoheizi1212/dsh-cookie-bridge

此安装命令根据 GitHub 仓库地址生成,是未经验证的安装起点。

README

维护者编写的文档快照。

在 GitHub 查看 ↗
提交版本 c966c1e同步于 2026年8月18日

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.1cookie values never leave your machine.

Install

  1. Open chrome://extensions.
  2. Enable Developer mode (top-right).
  3. Click Load unpacked and select this folder.

How it works

PieceRole
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 the cookies API 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-use native helper is Windows-only. A macOS version is welcome — the author has no macOS environment.

License

MIT — open source.

项目文件与信号

以下项目是目录快照中检测到的公开仓库信号。

插件清单已检测

仓库信息

开发语言
JavaScript
许可证
MIT
最后更新
2026年8月14日 08:38

谨慎安装

请检查源代码、权限、生命周期脚本、依赖与网络访问;不受信任的插件应先在隔离环境中测试。