ai-studio-image
Pass
Audited by Gen Agent Trust Hub on Oct 26, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONMETADATA_POISONING
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it interpolates raw user input into larger narrative prompt templates.
- Ingestion points: The
user_promptargument inscripts/prompt_engine.py(viahumanize_prompt) andscripts/generate.py. - Boundary markers: None. User-provided text is directly concatenated with system-level instructions in
prompt_engine.pywithout delimiters or 'ignore embedded instructions' warnings. - Capability inventory: The resulting prompt is sent to Google's Generative AI API (
generate_with_geminiandgenerate_with_imageninscripts/generate.py). The skill also has the capability to write generated images and metadata to the local file system. - Sanitization: No sanitization or filtering is performed on the user-provided prompt before interpolation.
- [EXTERNAL_DOWNLOADS]: The skill requires external dependencies and makes network calls to legitimate services.
- The
scripts/requirements.txtfile specifies standard, well-known libraries:google-genai,Pillow, andpython-dotenv. - The
scripts/generate.pyscript communicates with Google's official AI Studio endpoints using thegoogle-genaiclient library to generate images. - [COMMAND_EXECUTION]: The documentation provides instructions for local command execution to operate the skill.
SKILL.mdinstructs the user to execute local Python scripts (generate.py,prompt_engine.py,templates.py) and install dependencies viapip.- [METADATA_POISONING]: The
SKILL.mdfrontmatter contains arisk: criticalfield. - While this appears to be a local configuration or classification field for the author, such high-severity markers in metadata can be used to mislead automated scanners or users about the actual safety profile of the skill.
Audit Metadata