ray-wechat
Pass
Audited by Gen Agent Trust Hub on Oct 15, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/wechat_egress.pyusessubprocess.Popento execute thesshcommand with arguments-N -Dto establish a SOCKS5 proxy tunnel. This is intended to ensure a fixed outbound IP address for WeChat API requests, as documented in the skill's egress configuration. - [COMMAND_EXECUTION]: The script
scripts/wechat_draft.pyusessubprocess.runto invokeprepare_article.pyfor validating the generated HTML content against the source Markdown. - [DYNAMIC_EXECUTION]: The script
scripts/wechat_images.pyutilizes__import__("sys")for error reporting tostderr. - [INDIRECT_PROMPT_INJECTION]: The skill processes user-provided Markdown content and converts it into HTML for platform delivery, which presents an attack surface for indirect prompt injection if the content contains malicious instructions designed to be followed during the agent's verification phase.
- Ingestion points: Markdown articles are read as input in
scripts/render_article.pyand validated inscripts/prepare_article.py. - Boundary markers: The skill instructions emphasize working with finalized articles ("定稿") and include a mandatory "回读核对" (back-reading verification) step.
- Capability inventory: The skill can perform network operations (WeChat API), file system writes (image caching, frontmatter updates), and subprocess execution (SSH, validation scripts).
- Sanitization:
scripts/prepare_article.pyimplements a filter for forbidden HTML elements (e.g.,script,style,div) and attributes (e.g.,class,id) to ensure the output remains a clean WeChat-compatible fragment.
Audit Metadata