generate-image
Fail
Audited by Gen Agent Trust Hub on Sep 25, 2026
Risk Level: HIGHCREDENTIALS_UNSAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The documentation explicitly reveals the location of a sensitive environment file at
~/.agents/tools/.envand confirms that it containsOPENAI_API_KEYandSTABILITY_API_KEY. - [INDIRECT_PROMPT_INJECTION]: The skill takes untrusted user input via the
--promptargument and interpolates it into a shell command, which is a classic injection surface. - Ingestion points: User-provided text via the
--promptor-pCLI arguments inSKILL.md. - Boundary markers: None; the documentation shows prompts being passed directly as string arguments without delimiters or escaping instructions.
- Capability inventory: Execution of arbitrary shell commands through the
Bash(*)tool to run the image generation script. - Sanitization: No evidence of input validation, sanitization, or escaping is provided in the skill instructions.
- [COMMAND_EXECUTION]: The skill's primary function is the execution of a local Python script (
~/.agents/tools/generate-image.py) via the shell, which significantly increases the risk if arguments are not handled securely.
Recommendations
- AI detected serious security threats
Audit Metadata