xiaohongshu-layout-factory
Pass
Audited by Gen Agent Trust Hub on Nov 15, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to utilize local system binaries to process images and render layout templates. Specifically, it executes the
swiftinterpreter to run a local Vision-based background removal script (assets/cutout.swift) and invokesGoogle Chromein headless mode to capture screenshots of generated HTML pages at high resolution (2160 x 2880). - [EXTERNAL_DOWNLOADS]: The skill references and loads font resources from the official Google Fonts CDN as well as reputable mirrors such as
font.imandloli.netviaassets/font-loader.html. These are well-known services used to facilitate consistent typography rendering for web-based content. - [DYNAMIC_EXECUTION]: The skill functions as a 'meta-skill' or factory that dynamically generates a new file structure, including a customized
SKILL.md, HTML templates, and local scripts. This allows users to create persistent, specialized sub-skills for their specific branding and IP assets. - [INDIRECT_PROMPT_INJECTION]: The skill processes user-supplied text to populate layout cards. While it lacks explicit boundary markers or sanitization for this ingested content, the vulnerability surface is mitigated because the final output is a static image file (PNG), preventing any embedded instructions from influencing subsequent agent actions or system behavior.
Audit Metadata