generate-image
Pass
Audited by Gen Agent Trust Hub on Sep 25, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDATA_EXFILTRATIONCREDENTIALS_UNSAFE
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes external text prompts that are sent to the OpenRouter API, creating a surface for indirect instructions to influence agent behavior if the prompt source is untrusted.\n
- Ingestion points: The
promptpositional argument inscripts/generate_image.pyand thepromptinstructions inSKILL.md.\n - Boundary markers: None present; the prompt is interpolated directly into the API request payload.\n
- Capability inventory: The skill has network capabilities (POST requests to OpenRouter) and file system access (reading input images, writing output PNGs).\n
- Sanitization: No content filtering or validation is implemented on the prompt string.\n- [COMMAND_EXECUTION]: The skill instructions direct the agent to execute a local Python script (
scripts/generate_image.py) with user-provided arguments.\n- [DATA_EXFILTRATION]: The script transmits text prompts and base64-encoded image data to the OpenRouter API endpoint athttps://openrouter.ai/api/v1/chat/completions. This is the intended behavior for image processing via a well-known service.\n- [CREDENTIALS_UNSAFE]: The scriptscripts/generate_image.pyand the instructions inSKILL.mdfacilitate the retrieval of theOPENROUTER_API_KEYfrom.envfiles located in the current or parent directories. This follows standard development practices for secret management.
Audit Metadata