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.ts script contains an embedded Swift source string that is written to a temporary directory and executed using the swift command to handle rich text and image clipboard data on macOS.
  • [DYNAMIC_EXECUTION]: The paste-from-clipboard.ts script dynamically generates and executes AppleScript (via osascript on 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, and ydotool to manage environment state and clipboard operations.
  • [COMMAND_EXECUTION]: The weibo-utils.ts script includes logic to find and terminate specific Chrome processes using ps aux and process.kill (SIGTERM) based on the profile directory path.
  • [EXTERNAL_DOWNLOADS]: The skill instructions and internal utility functions (runBunScript) utilize npx -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.ts and weibo-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-md package before being transferred to the browser editor.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 2, 2026, 09:45 AM