generate-image
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill communicates with the OpenRouter API service to perform image generation and editing tasks.
- The script
scripts/generate_image.pymakes POST requests tohttps://openrouter.ai/api/v1/chat/completions. - [DATA_EXFILTRATION]: The skill accesses local configuration files to retrieve API credentials.
- The
check_env_filefunction inscripts/generate_image.pysearches the current and parent directories for a.envfile to read theOPENROUTER_API_KEY. - While this involves reading a sensitive file path and sending the content to an external API, it is the intended primary purpose of the skill for authentication and follows standard secret management practices.
- [INDIRECT_PROMPT_INJECTION]: The skill processes user-supplied prompts and image data which are subsequently passed to an external AI model.
- Ingestion points: User-provided
promptargument and the contents of theinput_imagefile inscripts/generate_image.py. - Boundary markers: The data is transmitted within a structured JSON object but lacks explicit delimiters or instructions to the model to ignore embedded commands.
- Capability inventory: The skill has network access (via the
requestslibrary) and file system access (reading inputs and writing the generatedgenerated_image.png). - Sanitization: No specific sanitization or filtering is applied to the user input before transmission to the API.
Audit Metadata