RedBookSkills
Pass
Audited by Gen Agent Trust Hub on Aug 26, 2026
Risk Level: SAFECOMMAND_EXECUTIONDATA_EXFILTRATIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill launches a Google Chrome process via
subprocess.Popeninscripts/chrome_launcher.pywith the--remote-debugging-portflag enabled. It subsequently uses the Chrome DevTools Protocol (CDP) to execute arbitrary JavaScript within the browser context viaRuntime.evaluateinscripts/cdp_publish.pyto automate form interactions and data extraction. - [DATA_EXPOSURE_AND_EXFILTRATION]: The
add_accountfunction inscripts/account_manager.pyconstructs local file paths for Chrome profiles using thenameparameter without adequate sanitization. By providing a crafted account name containing path traversal sequences (e.g.,../../name), a user or agent could potentially create or access directories outside the intendedXiaohongshuProfilesdirectory. - [UNVERIFIABLE_DEPENDENCIES_AND_REMOTE_CODE_EXECUTION]: The
scripts/image_downloader.pymodule facilitates the download of images and videos from arbitrary, user-provided URLs to a local temporary directory. While the downloader uses custom headers to bypass simple hotlink protection, it does not perform deep validation of the downloaded media files, which are later processed by the browser during the upload phase. - [INDIRECT_PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection due to its core functionality of ingesting public content.
- Ingestion points: The skill extracts note content, search results, comments, and user profiles from Xiaohongshu via
scripts/feed_explorer.pyandscripts/cdp_publish.py. - Boundary markers: There are no explicit boundary markers or instructions to the agent to treat platform data as untrusted, increasing the risk that adversarial text found in comments or notes could influence agent behavior.
- Capability inventory: The skill has significant capabilities, including posting content, commenting, and interacting with other users' posts via an authenticated browser session.
- Sanitization: Although the skill implements basic HTML escaping for its internal editor interactions, it processes large amounts of untrusted platform data which is then reflected in the agent's context.
Audit Metadata