post-to-wechat

Warn

Audited by Gen Agent Trust Hub on Mar 23, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The script scripts/cdp_export.ts executes system-level commands using the node:child_process module. It invokes spawnSync to run osascript on macOS, xdotool on Linux, and powershell.exe on Windows to simulate keystrokes for clipboard operations. It also spawns browser processes (Chrome/Edge/Chromium) from paths that can be configured via environment variables or CLI arguments.
  • [REMOTE_CODE_EXECUTION]: The skill utilizes the Chrome DevTools Protocol (CDP) to execute arbitrary JavaScript code within the context of automated browser pages via the Runtime.evaluate command. This is used to manipulate the DOM and automate UI interactions on target websites.
  • [EXTERNAL_DOWNLOADS]: The skill performs network operations to connect to the browser's CDP endpoint and navigates to external domains including wechat.reshub.vip and mp.weixin.qq.com. It can also fetch content from a user-specified URL provided via the --source argument.
  • [DATA_EXFILTRATION]: The skill reads the contents of local Markdown files and transmits this data to the external web application https://wechat.reshub.vip to perform HTML conversion. This involves sending potentially sensitive document content to a third-party service.
  • [PROMPT_INJECTION]: The skill presents an indirect prompt injection surface as it ingests untrusted Markdown data from local files or remote URLs. Maliciously crafted input could attempt to subvert the agent's logic or the automation flow.
  • Ingestion points: Local Markdown files, stdin, and external source URLs processed in scripts/cdp_export.ts.
  • Boundary markers: Absent.
  • Capability inventory: System command execution, file system access, and browser automation.
  • Sanitization: Content is used directly without sanitization or escaping of potential instructions.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Mar 23, 2026, 07:01 AM