wxauto-dev
Pass
Audited by Gen Agent Trust Hub on Mar 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes
python3 -m py_compileto perform a syntax check on the generatedwxbot.pyfile to ensure the code is valid before presentation to the user. - [EXTERNAL_DOWNLOADS]: The skill instructions direct the user to install the
wxautox4third-party library and thepython-dotenvpackage via pip. It also references external services for library activation and registration athttps://dusapi.comandhttps://wxauto.org. - [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection as it is designed to ingest and act upon untrusted message data from WeChat.
- Ingestion points: Untrusted data enters the agent context through WeChat message objects, specifically
msg.content, within theon_messageandon_new_messagecallbacks inwxbot.py. - Boundary markers: The provided templates do not include boundary markers, delimiters, or system instructions to ignore embedded commands within the processed messages.
- Capability inventory: The generated scripts have the capability to perform various actions on the WeChat account, including
SendMsg,PublishMoment,Comment, andAtAllwithinwxbot.py. - Sanitization: No sanitization, escaping, or validation of the external message content is implemented in the templates before the data is used to trigger responses or actions.
Audit Metadata