Banana Pro Image Generation
Fail
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: HIGHCREDENTIALS_UNSAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: Hardcoded API keys were identified in the release documentation (
release/bananapro-image-gen/SKILL.md) and within the help text of the main execution script (scripts/generate_image.py). Specifically, the keyssk-HoyC9xe8aB0CRC6j4EvuM0zRcN9TTYnIMjACMCeGvd95tuhQandsk-WY9Rx5caemo39xIMN2OCNQ4cD3L0RDtKmC9Q1rot9rcKxgoware exposed. - [INDIRECT_PROMPT_INJECTION]: The skill exhibits a significant attack surface for indirect prompt injection and path traversal.
- Ingestion points: The
--promptand--filenamearguments inscripts/generate_image.pytake direct user input from the agent's command line. - Boundary markers: No boundary markers or validation logic are present to distinguish between instructions and data.
- Capability inventory: The
generate_image.pyscript possesses capabilities to perform network requests and write files to the local file system. - Sanitization: There is no sanitization or path validation for the
--filenameargument. The script usesPath(filename)andPath.mkdir(parents=True)which allows a malicious prompt to specify relative paths (e.g.,../../.ssh/id_rsa) to overwrite sensitive system files. - [EXTERNAL_DOWNLOADS]: The skill makes network requests to
https://apipro.maynor1024.liveand other dynamic URLs returned by the API to fetch and download image content. - [COMMAND_EXECUTION]: The skill operates by executing the
scripts/generate_image.pyPython script, which handles network communication and file system operations.
Recommendations
- AI detected serious security threats
Audit Metadata