generate-image

Pass

Audited by Gen Agent Trust Hub on Oct 2, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted input from user-supplied prompts and external image URLs, creating a surface for injection attacks.
  • Ingestion points: The prompt argument and the -i/--input parameter (which supports remote URLs) in scripts/generate_image.py ingest data directly into the agent's context.
  • Boundary markers: There are no explicit delimiters or system instructions used to separate untrusted inputs from the agent's internal logic.
  • Capability inventory: The skill possesses the capability to perform network POST requests to openrouter.ai, read local files (Path.read_bytes), and write to the local filesystem (Path.write_bytes).
  • Sanitization: The skill does not perform sanitization, filtering, or validation on the prompt text or the content of referenced images before they are transmitted to the external API.
  • [DATA_EXFILTRATION]: The reference image feature allows the script to read local files and transmit their base64-encoded contents to the OpenRouter API.
  • Evidence: In scripts/generate_image.py, the encode_reference function reads local files based on paths provided via the --input flag. While a suffix check is performed, the script does not validate the file content, which could allow for the exfiltration of sensitive data if an agent is manipulated into reading non-image files.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 2, 2026, 05:01 PM