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
enhancePromptfunction inSKILL.mdcreates 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
rawPromptandbrandContextare incorporated into a template withinSKILL.mdthat is sent to the Gemini API. - Boundary markers: The template uses double quotes as delimiters for the
rawPromptvariable, thoughbrandContextis 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.mddirect 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