ai-image-generator

Pass

Audited by Gen Agent Trust Hub on Jul 31, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
  • [PROMPT_INJECTION]: The enhancePrompt function in SKILL.md creates an indirect prompt injection surface where user-supplied or project-specific data is interpolated into a prompt for the Gemini LLM to refine image descriptions.
  • Ingestion points: Variables rawPrompt and brandContext are incorporated into a template within SKILL.md that is sent to the Gemini API.
  • Boundary markers: The template uses double quotes as delimiters for the rawPrompt variable, though brandContext is interpolated directly without surrounding markers.
  • Capability inventory: The skill has the capability to perform network requests to external AI providers and write objects to Cloudflare R2 storage.
  • Sanitization: There is no evidence of input validation or sanitization logic to prevent malicious instructions within the raw prompt from influencing the enhancement process.
  • [EXTERNAL_DOWNLOADS]: The skill is configured to download LoRA (Low-Rank Adaptation) model weight files from remote URLs (e.g., https://storage.example.com/brand-lora.safetensors). These files are used by image providers to maintain consistent brand styling during the generation process.
  • [COMMAND_EXECUTION]: Instructions in SKILL.md direct the user to execute a local utility script, node tools/crawl-az-references.mjs, which automates the collection and classification of reference imagery from brand websites.
Audit Metadata
Risk Level
SAFE
Analyzed
Jul 31, 2026, 03:02 AM