aliyun-qwen-image
Pass
Audited by Gen Agent Trust Hub on Oct 15, 2026
Risk Level: SAFECREDENTIALS_UNSAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The script
scripts/generate_image.pyimplements logic to read sensitive authentication keys from the standard Alibaba Cloud credentials file located at~/.alibabacloud/credentials. It also includes functionality to load environment variables from.envfiles in the current working directory and the repository root. - [EXTERNAL_DOWNLOADS]: The skill requires the installation of the
dashscopePython library via pip. Additionally, thescripts/generate_image.pyscript uses theurllib.requestmodule to download generated image files from remote URLs provided by the DashScope API response. - [INDIRECT_PROMPT_INJECTION]: The skill accepts arbitrary text prompts for image generation, creating a surface for indirect prompt injection where instructions embedded in processed data could influence the agent's behavior.
- Ingestion points: The
promptandnegative_promptfields in theimage.generaterequest, processed inSKILL.mdandscripts/generate_image.py. - Boundary markers: No delimiters or boundary markers are used to isolate user-provided prompts from the execution context.
- Capability inventory: Network access via
urllib.requestand the DashScope API, and file system write access to theoutput/directory (scripts/generate_image.py). - Sanitization: No sanitization or validation of the prompt content is performed before transmission to the API.
- [COMMAND_EXECUTION]: The skill provides instructions for executing shell commands to install dependencies, validate scripts using
py_compile, and run a Python helper script to perform image generation and download operations.
Audit Metadata