baoyu-post-to-weibo
Pass
Audited by Gen Agent Trust Hub on Nov 2, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The
copy-to-clipboard.tsscript contains an embedded Swift source string that is written to a temporary directory and executed using theswiftcommand to handle rich text and image clipboard data on macOS. - [DYNAMIC_EXECUTION]: The
paste-from-clipboard.tsscript dynamically generates and executes AppleScript (viaosascripton macOS) and PowerShell commands (on Windows) to simulate paste keystrokes and activate the browser window. - [COMMAND_EXECUTION]: The skill executes multiple system utilities across different platforms, including
ps,which,where,swift,osascript,powershell.exe,xclip,wl-copy,xdotool, andydotoolto manage environment state and clipboard operations. - [COMMAND_EXECUTION]: The
weibo-utils.tsscript includes logic to find and terminate specific Chrome processes usingps auxandprocess.kill(SIGTERM) based on the profile directory path. - [EXTERNAL_DOWNLOADS]: The skill instructions and internal utility functions (
runBunScript) utilizenpx -y bun, which may download the Bun runtime from the npm registry if it is not available locally. - [INDIRECT_PROMPT_INJECTION]: The skill ingests user-provided text and Markdown files, which are processed and injected into a live browser session on Weibo.com.
- Ingestion points: Positional arguments in
weibo-post.tsandweibo-article.ts(<text>,<markdown_file>). - Boundary markers: Absent; content is processed directly for web injection.
- Capability inventory: File system read access, system clipboard manipulation, browser control via Chrome DevTools Protocol, and subprocess execution.
- Sanitization: Markdown content is rendered into HTML using the
baoyu-mdpackage before being transferred to the browser editor.
Audit Metadata