skill-wechat-publisher
Warn
Audited by Gen Agent Trust Hub on Oct 16, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: In
scripts/baoyu_image_gen_core.ts, the skill dynamically assembles a Python script as a string and executes it viapython3 -c. This mechanism is used to export configuration variables fromwechat-publisher.yamlinto the Bun execution environment. - [COMMAND_EXECUTION]: Several scripts utilize
subprocess.runorBun.spawnSyncto execute external processes. For instance,scripts/multi_publish.pycalls thewechatsyncCLI, andscripts/generate_image.pyinvokesbunto run image generation logic. While arguments are passed as lists, this orchestration of multiple environments increases the complexity of the execution chain. - [EXTERNAL_DOWNLOADS]: The
scripts/image_handler.pycomponent contains logic to download images from arbitrary user-provided or web-sourced URLs using therequestslibrary. This is part of the article processing workflow but involves outbound requests to non-whitelisted domains. - [INDIRECT_PROMPT_INJECTION]: The skill defines a research phase that ingests data from external community sites like Reddit, HN, and V2EX. This material is then used as context for the agent to write articles.
- Ingestion points: Untrusted text from community forums and metadata from external images (in
scripts/image_handler.py). - Boundary markers: Absent. There are no clear delimiters or instructions to the agent to disregard commands embedded within the gathered research material.
- Capability inventory: High. The skill can execute shell commands, perform network operations, and read/write local files.
- Sanitization: Limited. While
scripts/html_converter.pyperforms basic HTML escaping and protocol filtering for links, there is no comprehensive sanitization of the research data entered into the agent's context.
Audit Metadata