T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:103- Finding
Unverified Remote Installer Is Piped Directly into a Shell
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill's memory and code-search purpose is clear, but its installation guidance includes unsafe remote-shell and unpinned package installation patterns users should review carefully.
Install only if you are comfortable with a tool that can index project files and store persistent agent memory. Avoid running the curl-to-shell Ollama command as written; use a verified installer or package-manager path instead. Prefer pinned, reviewed versions rather than latest, and review any auto-configured MCP hooks or project agent rules before relying on them.
SKILL.md:103Unverified Remote Installer Is Piped Directly into a Shell
SKILL.md:26Package Installation Instructions Use Unpinned Dependency Versions
curl -fsSL https://ollama.com/install.sh | sh is a classic remote code execution pattern: it fetches shell code over the network and executes it immediately. In a skill designed for coding agents, this is especially risky because agents may follow setup instructions semi-automatically, amplifying the chance of unreviewed code execution on developer systems.
index1 v2 has built-in ONNX embedding (bge-small-en-v1.5). For better multilingual support:
curl -fsSL https://ollama.com/install.sh | sh
ollama pull nomic-embed-text # Standard, 270MB
# or
ollama pull bge-m3 # Best for CJK, 1.2GB
The | sh chaining pattern removes the opportunity for inspection between download and execution, making any compromise of the remote source immediately exploitable. Because this appears in installation guidance, it normalizes unsafe operational behavior and can lead to host compromise, credential theft, or persistence if copied into a real shell.
index1 v2 has built-in ONNX embedding (bge-small-en-v1.5). For better multilingual support:
curl -fsSL https://ollama.com/install.sh | sh
ollama pull nomic-embed-text # Standard, 270MB
# or
ollama pull bge-m3 # Best for CJK, 1.2GB
The installation guidance uses npx index1@latest, which pulls and executes the latest package version at runtime rather than a pinned, reviewed release. In an agent skill context, this increases supply-chain risk because users or agents may automatically run whatever code is currently published under that package name.
The skill instructs users to pipe a remotely fetched shell script directly into sh without any warning, review step, or integrity check. This is dangerous because it executes arbitrary code from a network source immediately, and if the remote endpoint or delivery path is compromised, the host running the command can be fully compromised.
No suspicious patterns detected.