generate
Pass
Audited by Gen Agent Trust Hub on Sep 28, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted user input via the
--promptargument which is directly interpolated into the prompt sent to the Gemini API.\n - Ingestion points: The
--promptargument inSKILL.mdandscripts/image.py(line 155).\n - Boundary markers: The script prefixes the user prompt with internal instructions regarding aspect ratios (lines 101-110), but lacks strict delimiters to prevent the user input from overriding these instructions.\n
- Capability inventory: The skill can create directories (
os.makedirsline 144), write generated images to disk (openline 153), and read local image files (Image.openline 117).\n - Sanitization: There is no validation or sanitization of the prompt string before it is sent to the model API.\n- [COMMAND_EXECUTION]: The skill instructions involve executing shell commands to manage environment variables and run the generation script.\n
- The instructions provide a specific
grepcommand to load theGEMINI_API_KEYfrom a.envfile in the project root. This is a targeted access to a sensitive configuration file, though the instructions include safety warnings to avoid accidental leakage of other environment variables.
Audit Metadata