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. 오전 8:38

신중하게 설치하기

소스 코드, 권한, 수명 주기 스크립트, 의존성 및 네트워크 접근을 검토하고 신뢰하지 않는 플러그인은 격리 환경에서 테스트하세요.