glm-image-gen

Pass

Audited by Gen Agent Trust Hub on Sep 17, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill executes a local Python script scripts/glm_image_cli.py to communicate with the ZhiPu GLM-Image API. This is the primary intended mechanism of the skill.\n- [EXTERNAL_DOWNLOADS]: The skill downloads images from ZhiPu AI's official domain (open.bigmodel.cn) when the --save parameter is used. As this targets a well-known service infrastructure, it is documented as a standard functional requirement.\n- [INDIRECT_PROMPT_INJECTION]: The skill possesses an ingestion surface for indirect prompt injection as it processes user-provided text to generate images. \n
    1. Ingestion points: The --prompt argument in scripts/glm_image_cli.py.\n
    1. Boundary markers: The skill instructs the agent to pass user-provided descriptions directly to the CLI script.\n
    1. Capability inventory: The script performs network POST requests to the API, network GET requests to download images, and local file writes when the --save flag is specified.\n
    1. Sanitization: The script relies on the ZhiPu API's built-in content_filter to detect and block inappropriate prompt content, and the script includes logic to parse and report these safety levels.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 17, 2026, 10:17 PM