wechat-daily
Warn
Audited by Gen Agent Trust Hub on Apr 28, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [DATA_EXPOSURE_AND_EXFILTRATION]: The skill accesses and decrypts highly sensitive personal communication data from local WeChat databases, including chat logs, contacts, and "Moments". While the code does not show explicit network exfiltration, it reads files such as
~/.config/wechat-keys.jsonand database files in~/Library/Containers/com.tencent.xinWeChat/which contain private user information. - [COMMAND_EXECUTION]: The script
scripts/extract_keys.pyexecutes multiple shell commands viasubprocess.run, includingcodesignto modify security attributes of the WeChat binary,pgrepto identify processes, andpipfor dependency management. Modification of application signatures is a high-privilege operation used here to bypass macOS Hardened Runtime protections. - [DYNAMIC_EXECUTION]: The skill uses
scripts/extract_keys.pyto generate a temporary Python script at runtime and executes it usingsys.executable. Additionally, it employs the Frida framework to dynamically inject JavaScript code into a running process to intercept cryptographic keys from memory. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data (chat messages, social media posts) and interpolates them directly into the agent's context for summarization in Phase 3 of
SKILL.md. - Ingestion points:
scripts/wechat_daily.pyreads raw message content from decrypted SQLite databases. - Boundary markers: Absent. The prompt instructions do not use robust delimiters or instructions to ignore embedded commands within the messages.
- Capability inventory: The skill has access to the local file system (read/write), can execute shell commands through Python's
subprocessmodule, and uses Frida for process instrumentation. - Sanitization: The skill performs standard character decoding and ZSTD decompression but does not sanitize the text content for potential malicious instructions before presenting it to the AI.
Audit Metadata