post-to-xhs
Pass
Audited by Gen Agent Trust Hub on Sep 27, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes shell commands to manage the browser lifecycle and publication pipeline. \n
scripts/chrome_launcher.pyusessubprocess.Popento start Google Chrome with remote debugging enabled.\nscripts/chrome_launcher.pyusessubprocess.runto executenetstatandtaskkillon Windows for process management.\n- The
SKILL.mdinstructions guide the agent to execute various Python scripts (publish_pipeline.py,cdp_publish.py) with user-influenced arguments.\n- [EXTERNAL_DOWNLOADS]: Thescripts/image_downloader.pyscript downloads image files from arbitrary URLs provided by the user or found on webpages using therequestslibrary. These files are stored in a temporary local directory before being uploaded to the social media platform.\n- [DYNAMIC_EXECUTION]: Thescripts/cdp_publish.pyscript interacts with the Chrome browser by executing JavaScript snippets via theRuntime.evaluatemethod of the Chrome DevTools Protocol. This allows the skill to manipulate the webpage DOM, fill forms, and click buttons programmatically. The skill mitigates risks by usingjson.dumpsto escape content before interpolation.\n- [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process data from external URLs, creating a surface for indirect prompt injection.\n - Ingestion points:
SKILL.md(Step 2: URL 提取模式) instructs the agent to useWebFetchto extract content and image URLs from a user-provided webpage.\n - Boundary markers: None identified; instructions do not specify the use of delimiters or warnings to ignore instructions within the fetched content.\n
- Capability inventory: The skill has capabilities to execute shell commands (
subprocess), write and delete files (shutil,os), and control a web browser instance (websockets/CDP).\n - Sanitization: The skill instructions rely on the agent to "summarize" content but do not provide explicit sanitization or filtering logic for the extracted text.
Audit Metadata