wechat-automation
Pass
Audited by Gen Agent Trust Hub on Sep 25, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONPRIVILEGE_ESCALATION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process data from external WeChat messages, which creates a surface for indirect prompt injection attacks.
- Ingestion points: Messages are retrieved in
SKILL.mdusingself.wechat.GetAllMessage()(Windows) andextractMessages(from:)(macOS). - Boundary markers: The provided code does not implement delimiters or specific instructions to the agent to ignore embedded commands within the message content.
- Capability inventory: The skill has the capability to write back to the UI via
self.wechat.SendMsg(content)andAXUIElementSetAttributeValueinSKILL.md. - Sanitization: While a
sanitize_message_for_loggingfunction is provided, it only truncates text for logs and does not sanitize content before it is processed by the agent. - [EXTERNAL_DOWNLOADS]: The skill instructions include the installation of the third-party Python package
wxauto==4.0.0from PyPI to facilitate Windows automation. - [COMMAND_EXECUTION]: The skill implementation involves UI automation and control of the WeChat application, including reading message history and programmatically interacting with input fields.
- [PRIVILEGE_ESCALATION]: The macOS implementation in
SKILL.mdexplicitly requests Accessibility permissions usingAXIsProcessTrustedWithOptions, which is a requirement for UI automation on that platform.
Audit Metadata