gemini-3-image-generation
Pass
Audited by Gen Agent Trust Hub on Feb 17, 2026
Risk Level: SAFEPROMPT_INJECTION
Full Analysis
- Prompt Injection (LOW): The scripts
scripts/edit-image.pyandscripts/generate-image.pyaccept direct user input and pass it to the generative model without implementing sanitization or boundary markers. This exposes the agent to prompt injection attacks where a user might attempt to bypass safety filters or manipulate model behavior. - Indirect Prompt Injection (LOW): In
scripts/grounded-gen.pyandscripts/generate-image.py, the skill enables thegoogle_search_retrievaltool, which retrieves data from the live web to ground image generation. This introduces a surface for indirect prompt injection from malicious external content. Ingestion points: Data retrieved viagoogle_search_retrievalinscripts/grounded-gen.pyandscripts/generate-image.py. Boundary markers: Not present in the implementation. Capability inventory: The scripts possess file-write capabilities (open().write()) to save generated images to the local filesystem. Sanitization: There is no evidence of sanitization or validation of the content retrieved from search results before it is processed by the model.
Audit Metadata