story-cover
Pass
Audited by Gen Agent Trust Hub on Oct 20, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from local project files (e.g., '正文.md', '设定.md') and interpolates it directly into LLM prompt templates for image generation without boundary markers or sanitization.
- Ingestion points: SKILL.md Step 1 searches for and reads content from various project files to determine the book title and summary.
- Boundary markers: Absent; the skill uses simple string interpolation (e.g., "Title text '{书名}'") which can be exploited to inject instructions into the image generator's prompt.
- Capability inventory: The skill can invoke the 'image_gen' tool and execute shell commands including 'curl', 'magick', and 'sips'.
- Sanitization: None; user-controlled text from book files is used verbatim in prompt construction.
- [EXTERNAL_DOWNLOADS]: The skill supports downloading image files from arbitrary remote URLs when a reference image is provided.
- Evidence: references/api-fallback.md utilizes 'curl -fsSL' to download images from the 'REF_IMAGE' URL for use in image-to-image generation tasks.
- [COMMAND_EXECUTION]: The skill relies on several external system utilities to perform its tasks, including image manipulation and API interaction.
- Evidence: SKILL.md Step 5 and references/api-fallback.md contain shell scripts that execute 'magick', 'convert', 'sips', 'curl', 'jq', and 'base64' via subprocess calls.
Audit Metadata