Sketch
Pass
Audited by Gen Agent Trust Hub on Mar 11, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill references the
google-genaiPython library for image generation tasks. - Evidence: Found in
references/api-integration.md. This is a well-known official library from Google used for interacting with the Gemini API. - [PROMPT_INJECTION]: The skill processes user-provided descriptions and constraints to generate code, presenting an indirect prompt injection surface.
- Ingestion points:
SKILL.mdindicates the skill parsesdescription,style, andconstraintsfrom_AGENT_CONTEXTto generate Python deliverables. - Boundary markers: The skill employs a structured prompt architecture (
[Subject] + [Style] + [Composition] + [Technical]) as defined inreferences/prompt-patterns.mdto organize user inputs. - Capability inventory: The skill generates Python scripts using the
google-genaiSDK which performs network requests to Google's API. - Sanitization: Implements mandatory Japanese-to-English translation and policy-safe rewriting rules to sanitize user-provided descriptions before they are embedded in the generated code.
- [COMMAND_EXECUTION]: The skill's primary function is to generate code for the user to execute locally.
- Evidence:
SKILL.mdexplicitly states it delivers code and does not execute the API calls directly, reducing the risk of unintended runtime behavior within the agent environment. - [CREDENTIALS_UNSAFE]: The skill documentation provides guidance on secure credential handling.
- Evidence: Instructions in
SKILL.mdandreferences/api-integration.mdrequire reading API keys from environment variables (os.environ["GEMINI_API_KEY"]) and advise using.gitignoreto prevent.envfiles from being committed.
Audit Metadata