baoyu-post-to-wechat

Fail

Audited by Gen Agent Trust Hub on Mar 28, 2026

Risk Level: HIGHREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSCREDENTIALS_UNSAFE
Full Analysis
  • [REMOTE_CODE_EXECUTION]: The skill dynamically downloads and executes JavaScript from a remote third-party CDN.\n
  • File: scripts/vendor/baoyu-md/src/utils/languages.ts contains await import(/* @vite-ignore */ grammarUrlFor(language)) where the URL points to https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com. This allows for the execution of remote code that bypasses static package analysis.\n- [COMMAND_EXECUTION]: The skill uses various system utilities to control the host environment and simulate user input.\n
  • File: scripts/copy-to-clipboard.ts uses osascript (macOS), PowerShell (Windows), and xclip (Linux) to modify the system clipboard.\n
  • File: scripts/paste-from-clipboard.ts simulates keyboard events (Cmd+V/Ctrl+V) using osascript, xdotool, and PowerShell.\n
  • File: scripts/cdp.ts and scripts/wechat-article.ts utilize the Chrome DevTools Protocol to execute arbitrary JavaScript within browser pages via Runtime.evaluate.\n- [EXTERNAL_DOWNLOADS]: The skill downloads content from arbitrary external sources.\n
  • File: scripts/vendor/baoyu-md/src/images.ts contains a downloadFile function that fetches images from any URL provided in the markdown source.\n
  • File: scripts/vendor/baoyu-md/src/extensions/plantuml.ts fetches and embeds SVG content from remote PlantUML servers.\n- [CREDENTIALS_UNSAFE]: The skill processes sensitive WeChat API credentials.\n
  • Files: scripts/wechat-extend-config.ts and scripts/wechat-api.ts read WECHAT_APP_ID and WECHAT_APP_SECRET from environment variables and local .env files. While following standard practices for local tools, these secrets are accessible to the agent and transit via the skill's network requests to WeChat.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Mar 28, 2026, 12:56 AM