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 swift interpreter to run a local Vision-based background removal script (assets/cutout.swift) and invokes Google Chrome in 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.im and loli.net via assets/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
Risk Level
SAFE
Analyzed
Nov 15, 2026, 03:54 PM