generate-image
Pass
Audited by Gen Agent Trust Hub on Sep 8, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill dynamically fetches an authoritative model catalogue from OpenRouter's metadata endpoint (
https://openrouter.ai/api/v1/images/models) to ensure request parameters are valid before submitting a billed request. - [EXTERNAL_DOWNLOADS]: The bundled script includes functionality to download image data from HTTPS URLs returned by the API if the content is not inlined, with specific security controls including protocol enforcement and a 64MB file size limit.
- [INDIRECT_PROMPT_INJECTION]: The skill acts as a surface for processing user-supplied instructions and reference media which are formatted and sent to an external inference provider.
- Ingestion points: The skill accepts a text
promptand multiple reference images via the--inputflag inscripts/generate_image.py. - Boundary markers: Untrusted data is encapsulated within a structured JSON request body.
- Capability inventory: The skill possesses network communication capabilities via
urllib.requestand local filesystem write access for saving generated results. - Sanitization: All external inputs are serialized using the standard Python
jsonlibrary, preventing malformed payload structures.
Audit Metadata