generate-image
Pass
Audited by Gen Agent Trust Hub on Jul 12, 2026
Risk Level: SAFE
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill downloads generated image data from OpenRouter's official API endpoint (
openrouter.ai), which is a well-known and legitimate service for AI model access. - [DATA_EXFILTRATION]: The skill reads an API key from a
.envfile or environment variables and sends it toopenrouter.aifor authentication. This is the intended behavior for utilizing the service as described in the documentation. - [COMMAND_EXECUTION]: The skill utilizes a Python script (
scripts/generate_image.py) to handle user prompts and manage file operations. The script logic is transparent and lacks any dangerous subprocess or shell execution patterns. - [PROMPT_INJECTION]: The skill accepts user-provided prompts and images for processing by external AI models, creating a standard surface for indirect prompt injection common to AI-integrated tools.
- Ingestion points:
promptandinputcommand-line arguments inscripts/generate_image.py. - Boundary markers: Absent. The input is directly passed into the message content for the API request.
- Capability inventory: Network access (
requests.post) and file system operations (read/write) are present inscripts/generate_image.py. - Sanitization: No explicit sanitization or filtering of the input prompt is performed before it is sent to the model.
Audit Metadata