baoyu-post-to-wechat
Fail
Audited by Gen Agent Trust Hub on May 9, 2026
Risk Level: HIGHEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]:
- The skill instructions suggest installing the Bun runtime via a shell script piped from
https://bun.sh/install. Note: This targets a well-known service. scripts/md/utils/languages.tsperforms dynamic loading of JavaScript modules from an external AliCloud OSS bucket using dynamicimport()calls.- [COMMAND_EXECUTION]:
- The skill uses system-level commands to interact with the clipboard and automate GUI actions, including
osascripton macOS,powershell.exeon Windows, andxdotool/ydotoolon Linux. scripts/check-permissions.tsdynamically generates and compiles Swift code at runtime to verify system clipboard capabilities.- Controls browser instances via Chrome DevTools Protocol (CDP), which includes evaluating arbitrary JavaScript in the browser context.
- [EXTERNAL_DOWNLOADS]:
- Dynamically fetches highlight.js language grammars from
https://cdn-doocs.oss-cn-shenzhen.aliyuncs.comat runtime. scripts/md-to-wechat.tsis capable of downloading images from arbitrary URLs found in the input markdown.- Fetches diagram assets from
www.plantuml.com. - [PROMPT_INJECTION]:
- The skill possesses an indirect prompt injection surface as it ingests and processes untrusted markdown data for rendering and publishing.
- Ingestion points: Markdown files are read and converted into HTML in
scripts/md-to-wechat.ts. - Boundary markers: Absent. Untrusted content is not clearly isolated from agent instructions.
- Capability inventory: Subprocess execution, filesystem access, and browser control via CDP.
- Sanitization: Relies on standard parsing libraries (
marked) without additional security filtering for potential injection markers.
Recommendations
- HIGH: Downloads and executes remote code from: https://bun.sh/install - DO NOT USE without thorough review
Audit Metadata