google-image-creator

Pass

Audited by Gen Agent Trust Hub on Oct 9, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSCREDENTIALS_UNSAFEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill executes local TypeScript scripts (generate-image.ts and list-models.ts) using npx tsx to manage API requests and file operations.\n- [EXTERNAL_DOWNLOADS]: Fetches image data from Google's official API (generativelanguage.googleapis.com). This is a well-known service provided by a trusted organization.\n- [CREDENTIALS_UNSAFE]: The skill requires the use of GOOGLE_API_KEY or GEMINI_API_KEY. It follows security best practices by recommending the use of environment variables and providing instructions for safe key management rather than hardcoding credentials.\n- [INDIRECT_PROMPT_INJECTION]: The skill provides an attack surface by ingesting external prompts and file paths for image generation and storage.\n
  • Ingestion points: The prompt and outputPath arguments in scripts/generate-image.ts.\n
  • Boundary markers: No explicit delimiters are used in the interpolation of the prompt into the API request.\n
  • Capability inventory: The script uses fs.writeFile to persist generated images to the local filesystem.\n
  • Sanitization: No validation or sanitization is performed on the outputPath parameter, which could theoretically allow file overwrites if the agent is provided with an unintended path.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 9, 2026, 03:45 AM