infsh-cli
Fail
Audited by Gen Agent Trust Hub on Aug 28, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONDATA_EXFILTRATIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill promotes an installation pattern in
SKILL.mdandreferences/authentication.mdwhere a remote script is fetched and piped directly into the shell:curl -fsSL https://cli.inference.sh | sh. This method allows for arbitrary remote code execution without prior inspection of the script's contents. - [DATA_EXFILTRATION]: The skill's primary functionality includes the
belt app runcommand, which is designed to upload local files (e.g., images, audio, video) to theinference.shinfrastructure for processing. This creates a documented path for local system data to be transmitted to external servers. - [PRIVILEGE_ESCALATION]: The
references/cli-reference.mdfile provides instructions for setting up shell completions that write to system-level directories, such as/etc/bash_completion.d/infsh. Modifying these paths typically requires elevated (root) privileges, and malicious modifications to shell completion scripts can lead to persistent privilege escalation. - [INDIRECT_PROMPT_INJECTION]: The skill possesses a surface for indirect prompt injection by ingesting data from external AI models and web search tools.
- Ingestion points: Data enters the agent context through the outputs of
belt app run(e.g.,tavily/search-assistantorx/post-tweet). - Boundary markers: The instructions do not define delimiters or specific warnings to ignore instructions embedded within the retrieved data.
- Capability inventory: The skill has the capability to execute shell commands (
belt), read local files for upload, and perform network requests. - Sanitization: There is no evidence of sanitization or filtering applied to the external content before it is processed by the agent.
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