generate-image

Pass

Audited by Gen Agent Trust Hub on Oct 31, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill represents a surface for indirect prompt injection as it ingests untrusted data from external URLs via the -i/--input parameter and writes model-generated binary data to the local filesystem.
  • Ingestion points: Reference images can be fetched from arbitrary HTTP(S) URLs provided by the user or an external source (e.g., in scripts/generate_image.py via urllib.request).
  • Boundary markers: The skill uses structured JSON payloads (json.dumps) to communicate with the API, preventing accidental command injection into the request body.
  • Capability inventory: The skill possesses network-read (fetching URLs), network-write (OpenRouter API), and file-system-write (saving generated images) capabilities.
  • Sanitization: The script performs base64 encoding on local files and validates that remote URLs used for fetches are HTTPS and do not exceed 64MB, providing basic resource protection.
  • [CREDENTIALS_UNSAFE]: The skill implements a robust secret management strategy. The find_api_key function correctly prioritizes environment variables and CLI arguments over local .env files, and it explicitly instructions users to ignore .env files in version control. No hardcoded keys are present.
  • [EXTERNAL_DOWNLOADS]: The skill communicates with openrouter.ai, which is recognized as a well-known service for LLM and image model aggregation. These operations are essential to the skill's primary function and are documented neutrally.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 31, 2026, 03:29 PM