youmind-wechat-article
Pass
Audited by Gen Agent Trust Hub on Sep 16, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The toolkit executes shell commands via
execSyncto render diagrams. Specifically,toolkit/src/mermaid-processor.tsinvokes themmdc(Mermaid CLI) utility to convert diagram code into PNG images for publication. It also usesexecSyncfor environment checks (checking tool versions). - [INDIRECT_PROMPT_INJECTION]: The skill has an indirect injection surface due to its data ingestion pipeline.
- Ingestion points:
scripts/fetch_hotspots.pyfetches trending topics from Weibo, Toutiao, and Baidu search suggestions.toolkit/src/youmind-api.tsretrieves content from the user's YouMind knowledge base boards. - Boundary markers: The skill lacks explicit boundary markers or instructions to ignore embedded commands within the fetched hotspot data.
- Capability inventory: The skill possesses capabilities including
createDraft(publishing content to a remote platform) andexecSync(operating system command execution). - Sanitization: While the LLM processes this data during the topic selection and writing steps, there is no deterministic sanitization of the input strings before they enter the agent context.
- [EXTERNAL_DOWNLOADS]: The skill makes several network requests to well-known services and the vendor's infrastructure.
- Fetches real-time hotspot data from
weibo.com,toutiao.com, andbaidu.com. - Downloads predefined cover assets from the vendor's CDN (
marketing-assets.youmind.com). - Communicates with the YouMind OpenAPI for knowledge retrieval and image generation tasks.
- [AUTONOMY_CONCERN]: The instructions in
SKILL.mdcontain directives that reduce user oversight, such asCritical Quality Rule #11, which mandates automatic publishing to WeChat drafts without asking the user for confirmation.
Audit Metadata