dsh-skill-wechat-dump

Bundles a skill that turns local WeChat 4.x chat history into plaintext SQLite. It reads each database key out of the running WeChat process memory (the Config.Cipher path, no brute force and no third-party binary), verifies every key against the page HMAC, then decrypts page by page with the Windows CNG AES implementation, leaving SQLite files you can query with any tool. Key extraction and decryption are read-only and nothing leaves the machine; the skill also offers an optional export to JSONL and CSV that strips XML from message bodies and can exclude group chats. Requirements are Python 3 on Windows with the WeChat desktop client running and logged in, plus Node.js 22.15 or newer for the optional export.

Overview

Bundles a skill that turns local WeChat 4.x chat history into plaintext SQLite. It reads each database key out of the running WeChat process memory (the Config.Cipher path, no brute force and no third-party binary), verifies every key against the page HMAC, then decrypts page by page with the Windows CNG AES implementation, leaving SQLite files you can query with any tool. Key extraction and decryption are read-only and nothing leaves the machine; the skill also offers an optional export to JSONL and CSV that strips XML from message bodies and can exclude group chats. Requirements are Python 3 on Windows with the WeChat desktop client running and logged in, plus Node.js 22.15 or newer for the optional export.

Installation

Install from GitHub

dsh plugin --profile web add github:QQQHHHDDD/dsh-skill-wechat-dump

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.