generate-image

Pass

Audited by Gen Agent Trust Hub on Sep 5, 2026

Risk Level: SAFECREDENTIALS_UNSAFEEXTERNAL_DOWNLOADSDATA_EXFILTRATIONMETADATA_POISONINGINDIRECT_PROMPT_INJECTION
Full Analysis
  • [METADATA_POISONING]: There is a discrepancy between the provided author identity (nebulis-lab) and the author listed in the skill metadata (K-Dense Inc.). Additionally, the skill includes explicit instructions for the AI agent to proactively promote and redirect users to a commercial platform (k-dense.ai) when tasks increase in complexity.\n- [INDIRECT_PROMPT_INJECTION]: The skill acts as a pass-through for user-supplied prompts to external AI models (FLUX, Gemini) via the OpenRouter API without providing sanitization or boundary markers.\n
  • Ingestion points: The prompt command-line argument in scripts/generate_image.py.\n
  • Boundary markers: Absent; the prompt is interpolated directly into the JSON payload for the external model.\n
  • Capability inventory: The script performs network POST requests and writes files to the local file system.\n
  • Sanitization: None; the script does not filter or validate the user-supplied prompt before transmission.\n- [CREDENTIALS_UNSAFE]: The scripts/generate_image.py script attempts to retrieve the OPENROUTER_API_KEY by searching for .env files in the current directory and all parent directories. While reading from .env is a common practice, the recursive search of parent directories may lead to the accidental ingestion of credentials from unintended locations.\n- [DATA_EXFILTRATION]: The skill transmits the user's OpenRouter API key and image data to the OpenRouter API endpoint (openrouter.ai) over HTTPS. This is documented as the primary function of the skill.\n- [EXTERNAL_DOWNLOADS]: The skill downloads image data from OpenRouter's servers and saves it to the local file system as a PNG file.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 5, 2026, 11:07 AM