T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:16- Finding
Mutable Remote Installer Is Piped Directly into a Shell
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This RAG skill is mostly coherent, but its primary setup path asks users to execute a mutable remote installer directly in a shell.
Review before installing. Prefer a manual, pinned, checksum- or signature-verified CLI installation instead of running the pipe-to-shell Quick Start, and avoid sending secrets, private documents, or confidential URLs through the example search and LLM workflows unless those providers are approved for that data.
SKILL.md:16Mutable Remote Installer Is Piped Directly into a Shell
SKILL.md:286Unpinned Third-Party Skill Installation Through npx
The command curl -fsSL https://cli.inference.sh | sh downloads and immediately executes a remote script, which is a classic unsafe installation pattern. If the host, transport path, or served script is compromised, users will execute attacker-controlled shell code on their machine; this skill is especially sensitive because allowed-tools includes broad Bash access, normalizing shell execution for users.
curl -fsSL https://cli.inference.sh | sh && infsh login
# Simple RAG: Search + LLM
SEARCH=$(infsh app run tavily/search-assistant --input '{"query": "latest AI developments 2024"}')
The manifest description includes many broad trigger phrases such as generic research, fact-checking, citation, and knowledge retrieval terms that could match ordinary user requests and cause the skill to activate unexpectedly. In this skill, unexpected activation is more dangerous because the workflow routes prompts and retrieved content to multiple external services, increasing unintended data exposure and tool use.
The skill presents examples that send user queries, extracted web content, and generated prompts to external providers including search services and LLM APIs, but it does not clearly warn users about that data flow. In a research-oriented skill, users may paste sensitive internal questions, URLs, or documents, so missing disclosure materially increases the risk of accidental data exfiltration to third parties.
npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.