generate-image
Pass
Audited by Gen Agent Trust Hub on Jun 29, 2026
Risk Level: SAFEPROMPT_INJECTIONDATA_EXFILTRATIONCOMMAND_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill exhibits an indirect prompt injection surface as it ingests untrusted user content and passes it to an external AI model.
- Ingestion points: User-provided text prompts and local image files loaded in
scripts/generate_image.py. - Boundary markers: None identified; inputs are directly included in the API request payload.
- Capability inventory: Script has network access via the
requestslibrary and file system read/write access. - Sanitization: No input validation or sanitization is performed on user-supplied prompts or image data.
- [DATA_EXFILTRATION]: The script
scripts/generate_image.pytransmits user data to the OpenRouter API athttps://openrouter.ai/api/v1/chat/completions. This is the intended behavior for image generation. - [COMMAND_EXECUTION]: The skill requires running the
scripts/generate_image.pyscript locally to perform its functions.
Audit Metadata