python-executor
Fail
Audited by Gen Agent Trust Hub on Jun 30, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill provides installation instructions (
curl -fsSL https://cli.inference.sh | sh) that pipe a remote script directly into the shell. This pattern is highly risky as the contents of the script are executed immediately without verification or user review. - [EXTERNAL_DOWNLOADS]: The skill relies on fetching an executable binary and an installation script from external domains (
cli.inference.shanddist.inference.sh) which are not recognized as trusted sources. - [COMMAND_EXECUTION]: The skill uses the
Bashtool to executeinfshcommands. While theallowed-toolsfrontmatter restricts the command scope, the execution of arbitrary code via these commands is the core functionality. - [DATA_EXFILTRATION]: By design, this skill sends Python code and potentially local data to the
inference.shremote API for execution. This creates a surface for exfiltrating sensitive environment variables or local files if the agent is directed to do so. - [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection (Category 8).
- Ingestion points: The
codefield in the input schema forinfsh app runinSKILL.mdaccepts arbitrary strings. - Boundary markers: None. There are no instructions to the agent to validate or sanitize the code before execution.
- Capability inventory: The skill facilitates arbitrary Python execution including networking (
requests,httpx) and file manipulation through theinfshtool. - Sanitization: Absent. The skill passes the raw input directly to the external execution environment.
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