threejs-image-generator
Pass
Audited by Gen Agent Trust Hub on Nov 27, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes a Python script (
scripts/generate_image.py) to process images and communicate with the generation API. It can write output files to arbitrary paths within the project as specified by the user. - [EXTERNAL_DOWNLOADS]: The skill connects to Google's Gemini API to perform image generation and editing tasks.
- [DATA_EXFILTRATION]: The instructions in
SKILL.mddirect the agent to use a credential discovery script that sources shell profiles (such as~/.bash_profile) to find API keys. This allows the agent to read sensitive configuration files that may contain credentials for multiple services. - [INDIRECT_PROMPT_INJECTION]: The skill processes natural language prompts and image references which may originate from untrusted external sources. The script interpolates these inputs directly into the API request without sanitization or boundary markers.
- Ingestion points: The
--promptand--input-imagearguments inscripts/generate_image.pyingest content that may be derived from untrusted user data. - Boundary markers: The script does not use delimiters or instructions to prevent the model from obeying instructions embedded in the input data.
- Capability inventory: The skill has network access (Google API) and file system access (read/write images).
- Sanitization: No sanitization or validation is performed on the text prompt before it is sent to the model.
Audit Metadata