image-gen
Fail
Audited by Gen Agent Trust Hub on Oct 7, 2026
Risk Level: HIGHPERSISTENCEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [PERSISTENCE]: The skill documentation recommends that users add their
OPENAI_API_KEYto shell profile files such as~/.zshrcor~/.bashrcto ensure the credential persists across sessions. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest untrusted user input in the form of image prompts and interpolate this data into Bash commands.
- Ingestion points: User-provided
<prompt>strings used in API requests. - Boundary markers: The skill does not define specific delimiters or instructions to treat the interpolated prompt as literal data, increasing the risk of the agent executing unintended shell sequences.
- Capability inventory: The skill uses
Bashto executecurlcommands andWriteto save output files to theworkspace/directory. - Sanitization: There are no explicit instructions or examples for sanitizing or escaping user input before it is embedded in the shell command strings.
- [EXTERNAL_DOWNLOADS]: The skill connects to the OpenAI API at
api.openai.comto generate image assets and subsequently downloads the resulting files from the generated URLs to the localworkspace/directory. - [COMMAND_EXECUTION]: The skill relies on executing
curlandjqcommands via theBashtool to perform its primary function of generating and downloading images.
Recommendations
- AI detected serious security threats
Audit Metadata