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/.env and confirms that it contains OPENAI_API_KEY and STABILITY_API_KEY.
  • [INDIRECT_PROMPT_INJECTION]: The skill takes untrusted user input via the --prompt argument and interpolates it into a shell command, which is a classic injection surface.
  • Ingestion points: User-provided text via the --prompt or -p CLI arguments in SKILL.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
Risk Level
HIGH
Analyzed
Sep 25, 2026, 08:08 PM