image-generator
Pass
Audited by Gen Agent Trust Hub on Sep 6, 2026
Risk Level: SAFEPERSISTENCECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [PERSISTENCE]: The setup documentation instructs the user to modify persistent shell profile files (
~/.zshrc,~/.bashrc) to store theGEMINI_API_KEYenvironment variable. - [COMMAND_EXECUTION]: The skill relies on Bash commands to perform file system operations, encode binary images into base64 format, and execute network requests to Google's API via
curl. - [INDIRECT_PROMPT_INJECTION]: The skill exposes an attack surface for indirect prompt injection as it ingests untrusted user input and image files to construct API requests.
- Ingestion points: The skill accepts user-provided prompts via the
EDIT_PROMPTvariable and local image files viaIMG_PATHas described inSKILL.md. - Boundary markers: While the skill uses heredocs (
JSONEOF) to structure the JSON payload, it does not include instructions for the model to ignore potentially malicious instructions embedded within the user-provided prompt or image metadata. - Capability inventory: The skill utilizes
Bash(includingcurl,cat, andbase64),Read, andWritetools to process data and interact with external services. - Sanitization: The skill performs basic MIME type detection based on file extensions but does not sanitize the text content of the prompt before interpolating it into the JSON request body.
- [DYNAMIC_EXECUTION]: The skill uses
python3 -cto execute inline Python scripts for parsing JSON API responses and decoding base64 image data into output files.
Audit Metadata