baoyu-post-to-x
Pass
Audited by Gen Agent Trust Hub on Mar 28, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes platform-specific commands to automate the browser and system environment. It uses
osascripton macOS andpowershell.exeon Windows to send real keystrokes (Cmd+V/Ctrl+V), andswiftto compile and run temporary scripts for advanced clipboard operations. It also usespkillto manage Chrome processes. - [EXTERNAL_DOWNLOADS]: The
md-to-html.tsscript fetches remote images from HTTPS URLs specified within user-provided Markdown files, saving them to a local temporary directory for processing. - [REMOTE_CODE_EXECUTION]: The skill uses the Chrome DevTools Protocol (CDP) to execute arbitrary JavaScript within the browser context. This allows it to programmatically interact with the X (Twitter) web application, fill in textareas, and trigger UI elements.
- [PROMPT_INJECTION]: There is an indirect prompt injection surface because the skill processes external Markdown files and remote URLs. Malicious content within these files could influence the automated browser session or lead to unintended actions on the X platform, although the script is designed to wait for user review before final submission.
Audit Metadata