image-gen
Pass
Audited by Gen Agent Trust Hub on Jul 16, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: Insecure SSL Configuration. The
download_urlfunction inscripts/generate_image.pyexplicitly disables SSL certificate verification by settingssl.CERT_NONE. This practice makes the connection vulnerable to man-in-the-middle (MITM) attacks, allowing a network-level attacker to intercept or replace the downloaded image data. - [PROMPT_INJECTION]: Indirect Prompt Injection Surface. The skill ingests and processes prompts from external Markdown files provided via the
--prompts-fileparameter. If the input file is sourced from untrusted data (e.g., user-submitted content or web-scraped articles), it can be used to inject malicious instructions into the image generation pipeline. - Ingestion points:
extract_prompts_from_markdownandload_image_plan_from_markdowninscripts/generate_image.pyread content from files passed via the--prompts-fileargument. - Boundary markers: The script uses headings (e.g.,
##) and code blocks as delimiters, but lacks explicit "ignore instructions" safety boundaries for the extracted prompt text. - Capability inventory: The script has the capability to perform network requests (image generation APIs) and write to the local file system (saving images and modifying existing Markdown files via
insert_images_to_markdown). - Sanitization: The script performs no sanitization or validation of the prompt text extracted from the Markdown files before passing it to the API providers.
Audit Metadata