gemini-imagegen
Pass
Audited by Gen Agent Trust Hub on Feb 17, 2026
Risk Level: SAFEPROMPT_INJECTION
Full Analysis
- [Indirect Prompt Injection] (LOW): The skill ingests untrusted text prompts to drive image generation and editing across several scripts (e.g., generate_image.py, edit_image.py). \n- Ingestion points: CLI arguments
promptandinstructionentering the agent context. \n- Boundary markers: Absent; user instructions are interpolated directly into API contents. \n- Capability inventory: Includes file system writes (image.save) and network requests to Gemini API. \n- Sanitization: User input is not validated, filtered, or escaped before being sent to the model.\n- [Data Exposure & Exfiltration] (SAFE): No hardcoded secrets were found; the skill correctly retrieves theGEMINI_API_KEYfrom the environment. No access to sensitive local files was detected.\n- [External Downloads] (SAFE): Dependenciesgoogle-genaiandPilloware standard and sourced from trusted organizations.
Audit Metadata