nano-banana-pro
Pass
Audited by Gen Agent Trust Hub on Oct 26, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONCREDENTIALS_UNSAFEMETADATA_POISONING
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to execute a local Python script (
generate_image.py) using theuv runcommand. This pattern involves executing shell commands with arguments (--prompt,--filename,--input-image) that are derived from potentially untrusted user input. - [INDIRECT_PROMPT_INJECTION]: The skill processes external data that could contain malicious instructions designed to influence the agent's behavior.
- Ingestion points: The
--promptparameter (user-supplied text) and the--input-imageparameter (path to an external file) serve as the primary entry points for untrusted data inskill.md. - Boundary markers: The instructions do not provide explicit delimiters or instructions to the agent to treat the contents of the image or prompt as untrusted data.
- Capability inventory: The skill possesses the capability to execute shell commands (
uv run), read local files (--input-image), write new files to the filesystem (--filename), and make network requests to an external API. - Sanitization: There is no evidence of input validation or sanitization routines described in the skill instructions to mitigate prompt injection risks.
- [CREDENTIALS_UNSAFE]: The documentation encourages users to provide sensitive API keys directly via the
--api-keycommand-line argument. This practice can lead to the exposure of credentials in agent logs, shell history, or process management tools. - [METADATA_POISONING]: The skill's description and instructions reference "Google's Nano Banana Pro (Gemini 3 Pro Image) API". As Google does not currently offer a model by this name, this represents deceptive metadata that could mislead users or agents about the underlying technology and its safety profile.
Audit Metadata