baoyu-post-to-wechat
Pass
Audited by Gen Agent Trust Hub on Mar 16, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONCREDENTIALS_UNSAFEPROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill instructions in
SKILL.mdand the environment check scriptscripts/check-permissions.tssuggest installing the Bun runtime using the commandcurl -fsSL https://bun.sh/install | bash. This targets the official distribution site for a well-known developer tool. - [EXTERNAL_DOWNLOADS]: The conversion script
scripts/md-to-wechat.tsdownloads remote images specified in user-provided markdown files using thehttpsandhttpmodules for local processing. - [EXTERNAL_DOWNLOADS]: The syntax highlighting utility
scripts/md/utils/languages.tsdynamically imports language grammars from an external CDN (cdn-doocs.oss-cn-shenzhen.aliyuncs.com) at runtime. - [COMMAND_EXECUTION]: The skill uses
node:child_processutilities (spawn,spawnSync,execSync) across multiple scripts to launch Google Chrome with a dedicated debugging port and profile directory, execute internal rendering and clipboard management scripts, and trigger system-level keystrokes (osascripton macOS,xdotoolon Linux,PowerShellon Windows) to simulate pasting in the WeChat editor. - [CREDENTIALS_UNSAFE]: The skill manages WeChat API credentials (
WECHAT_APP_ID,WECHAT_APP_SECRET). It prompts users to store these secrets in a.envfile within the.baoyu-skills/directory.scripts/wechat-api.tsreads these credentials to obtain access tokens from the official WeChat API endpoint (api.weixin.qq.com). - [PROMPT_INJECTION]: The skill processes user-provided markdown files to extract metadata such as titles and summaries (
scripts/md-to-wechat.ts,scripts/wechat-browser.ts). This serves as an indirect prompt injection surface where malicious instructions within a processed file could potentially target the agent's logic during the article preparation workflow.
Audit Metadata