image-gen
Pass
Audited by Gen Agent Trust Hub on Aug 28, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill has a vulnerability surface for file exfiltration due to unvalidated file path inputs.\n
- Ingestion points: The
--refargument inscripts/generate.pyaccepts arbitrary file paths from the agent's context, which can be influenced by user prompts or data.\n - Boundary markers: The skill lacks technical boundary markers or instructions to isolate potentially malicious embedded commands in processed inputs.\n
- Capability inventory: The
scripts/generate.pyscript possesses the capability to read local files usingopen()and transmit their contents (base64-encoded) to the OpenRouter API viaurllib.request.\n - Sanitization: The script does not perform path validation or file type verification on the reference images, allowing it to read and transmit any file accessible to the agent process if provided as a reference path.\n- [EXTERNAL_DOWNLOADS]: The skill interacts with the well-known service OpenRouter (
openrouter.ai) to generate and retrieve images.\n - The
fetchfunction inscripts/generate.pyretrieves image data from URLs provided by the API response. This is standard functionality for image generation tools.\n- [SAFE]: API key management follows standard security practices.\n - The skill resolves keys from environment variables or a gitignored
key.txtfile, minimizing the risk of accidental credential exposure in version control.
Audit Metadata