ai-image-generation
Fail
Audited by Gen Agent Trust Hub on Sep 21, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill provides instructions to install a command-line tool using
curl -fsSL https://cli.inference.sh | sh. This is a high-risk pattern that executes a remote shell script directly in the terminal, allowing for potential code execution from an external source. - [EXTERNAL_DOWNLOADS]: The skill initiates downloads from
cli.inference.shanddist.inference.shfor the tool installation and binary retrieval. It also references external skills vianpx skills addwhich downloads code from remote registries. - [COMMAND_EXECUTION]: The skill requires the
Bashtool to executeinfshcommands as defined in theallowed-toolsmetadata field. These commands are used to interact with various AI models. - [INDIRECT_PROMPT_INJECTION]: The skill takes untrusted user input (prompts) and interpolates them into shell commands for the image generation tool.
- Ingestion points: User-provided prompts are placed within the
--inputargument ofinfsh app runcommands. - Boundary markers: The skill uses JSON string structures (e.g.,
'{"prompt": "..."}') to encapsulate the input, which provides structural delimitation but does not inherently sanitize the content for instructions. - Capability inventory: The agent has the capability to execute
infshcommands via theBashtool, which can interact with multiple external AI providers. - Sanitization: There are no explicit instructions for the agent to sanitize or validate the user-provided prompt before interpolation into the command line.
Recommendations
- HIGH: Downloads and executes remote code from: https://cli.inference.sh - DO NOT USE without thorough review
- AI detected serious security threats
Audit Metadata