T03 · Remote Payload Retrieval and Execution
- Location
examples.py:91- Finding
Unverified Remote Installer Piped Directly into a Shell
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a disclosed security-audit tool, but its remote audit, cache, and setup examples create meaningful data-exposure and execution risks users should review before installing.
Install only if you understand these limits: avoid the curl-to-shell Ollama command, run the local scanner on a narrow trusted project path, do not use remote or multi-model modes on private repositories unless you have reviewed what will be sent, and disable enhanced caching or avoid the enhanced auditor until the pickle cache and fail-open SAFE summary are fixed.
examples.py:91Unverified Remote Installer Piped Directly into a Shell
vibe_audit_tools.py:330Whole-Project Source and Sensitive Files Can Be Sent to OpenRouter
vibe_audit_enhanced.py:99Unsafe Pickle Deserialization from a Project-Relative Cache
vibe_audit_enhanced.py:626Enhanced Auditor Returns a Hard-Coded SAFE Result Without Performing File Analysis
Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
## 🎯 Next Steps
1. ✅ Create 8-language README files
2. ✅ Update SKILL.md with multi-language links
3. ✅ Verify all translations
4. ✅ Publish updated version (v2.0.1)
The README instructs users to pipe a remotely fetched script directly into a shell, which creates a classic supply-chain and remote code execution risk. If the remote server, transport path, or script content is compromised, users may execute arbitrary code immediately with their shell privileges.
# Ollama installieren
curl -fsSL https://ollama.com/install.sh | sh
# Modell herunterladen
ollama pull llama2
The explicit use of shell piping ('| sh') compounds the danger by immediately executing untrusted network content without validation or user review. In README context this is especially risky because users are likely to copy-paste commands verbatim, turning documentation into an execution vector.
# Ollama installieren
curl -fsSL https://ollama.com/install.sh | sh
# Modell herunterladen
ollama pull llama2
The README recommends installing software via 'curl ... | sh', which executes a remotely fetched script without prior verification. If the upstream host, network path, or DNS/TLS trust chain is compromised, users could execute arbitrary attacker-controlled code on their machine.
# Install Ollama
curl -fsSL https://ollama.com/install.sh | sh
# Pull model
ollama pull llama2
Piping downloaded content directly into 'sh' creates an unsafe command chain that removes the opportunity for validation and increases the blast radius of any compromise. In agent or copy-paste workflows, this pattern is especially risky because users may run it reflexively, leading to immediate remote code execution.
# Install Ollama
curl -fsSL https://ollama.com/install.sh | sh
# Pull model
ollama pull llama2
The command 'curl -fsSL https://ollama.com/install.sh | sh' fetches executable content from the network and immediately runs it without review or verification. If the remote host, connection path, or script distribution channel is compromised, users could execute arbitrary code on their systems.
# Instalar Ollama
curl -fsSL https://ollama.com/install.sh | sh
# Descargar modelo
ollama pull llama2
The '| sh' pattern is dangerous because it chains untrusted network output directly into a shell, eliminating any opportunity for inspection and magnifying the risk of command injection or malicious script execution. In a README for a security auditing tool, this is especially concerning because it encourages unsafe trust behavior in a security-sensitive context.
# Instalar Ollama
curl -fsSL https://ollama.com/install.sh | sh
# Descargar modelo
ollama pull llama2
The documentation recommends executing a remote install script directly from the network via 'curl ... | sh', which can lead to arbitrary code execution if the remote server, CDN, DNS, TLS trust chain, or distribution path is compromised. In an agent skill context, users may copy-paste commands with elevated trust, increasing the likelihood of unsafe execution.
# Installer Ollama
curl -fsSL https://ollama.com/install.sh | sh
# Télécharger le modèle
ollama pull llama2
Piping remote content directly into 'sh' creates an immediate execution chain with no review boundary, making any compromise of the fetched content result in shell command execution. This is especially risky in documentation because it normalizes a hazardous operational pattern for end users.
# Installer Ollama
curl -fsSL https://ollama.com/install.sh | sh
# Télécharger le modèle
ollama pull llama2
The README instructs users to execute a remote installer directly via curl ... | sh, which runs network-fetched code without prior inspection or integrity verification. If the remote host, transport, DNS, or installer content is compromised, users could execute arbitrary shell commands on their system.
# Ollamaをインストール
curl -fsSL https://ollama.com/install.sh | sh
# モデルをプル
ollama pull llama2
The | sh construct is the dangerous execution step that turns a remote download into immediate command execution, removing the user's opportunity to inspect what will run. In an agent/tooling context, examples like this are especially risky because users may copy-paste them verbatim into privileged shells.
# Ollamaをインストール
curl -fsSL https://ollama.com/install.sh | sh
# モデルをプル
ollama pull llama2
The documentation instructs users to fetch and immediately execute a remote shell script via curl piped to sh. This pattern is dangerous because any compromise of the remote host, CDN, DNS, TLS trust chain, or served script content results in arbitrary code execution on the user's machine.
# Ollama 설치
curl -fsSL https://ollama.com/install.sh | sh
# 모델 다운로드
ollama pull llama2
The use of a shell pipe into sh removes the user's opportunity to inspect the downloaded content before execution and is a classic command-chaining antipattern. In a README for an AI agent skill, such examples are more dangerous because users may copy-paste them directly, leading to immediate arbitrary code execution if the upstream content is altered.
# Ollama 설치
curl -fsSL https://ollama.com/install.sh | sh
# 모델 다운로드
ollama pull llama2
The documentation instructs users to execute a remote install script directly via 'curl ... | sh', which bypasses normal verification and gives network-delivered code immediate shell execution. If the remote host, transport, or script supply chain is compromised, users can suffer arbitrary code execution on their systems.
# Instalar Ollama
curl -fsSL https://ollama.com/install.sh | sh
# Baixar modelo
ollama pull llama2
Piping fetched network content directly into 'sh' is a classic command-chaining abuse pattern because it eliminates review boundaries between download and execution. In skill documentation, this is especially risky because users may copy-paste it verbatim, turning the README into a code-execution vector if the upstream content changes or is maliciously modified.
# Instalar Ollama
curl -fsSL https://ollama.com/install.sh | sh
# Baixar modelo
ollama pull llama2
The README recommends piping a remotely fetched script directly into a shell via 'curl ... | sh'. This is dangerous because it executes unverified code from the network immediately, allowing server compromise, CDN compromise, MITM in weakened environments, or supply-chain attacks to result in arbitrary code execution on the user's machine. In a developer-facing skill README, this is more dangerous because users may copy-paste it verbatim during setup.
# Install Ollama
curl -fsSL https://ollama.com/install.sh | sh
# Pull model
ollama pull llama2
The shell pipe into 'sh' is a classic chaining pattern that turns a network fetch into immediate command execution. This creates a one-step remote code execution path if the fetched content is malicious or tampered with, and the risk is amplified in setup documentation because it encourages blind execution by readers. The skill context does not justify this pattern; it is unrelated to the audit functionality and represents unsafe installation guidance.
# Install Ollama
curl -fsSL https://ollama.com/install.sh | sh
# Pull model
ollama pull llama2
文档直接建议用户执行“curl ... | sh”从远程站点获取并立刻执行脚本,这会把代码执行信任完全交给网络传输链路和远端内容。一旦安装脚本被篡改、站点受损、DNS/代理遭劫持,用户可能在本机执行任意命令,造成系统沦陷或凭据泄露。
# 安装 Ollama
curl -fsSL https://ollama.com/install.sh | sh
# 拉取模型
ollama pull llama2
“| sh”将外部获取的内容直接送入 shell 执行,属于典型的命令链式滥用模式。在面向智能体/开发工作流的技能文档中,这种一步执行命令更危险,因为用户或自动化流程可能不加审查地复制运行,扩大供应链攻击和远程代码执行风险。
# 安装 Ollama
curl -fsSL https://ollama.com/install.sh | sh
# 拉取模型
ollama pull llama2
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
- Support for npm, pip, maven, cargo, go mod
### ⚙️ Configuration Security Checks
- Exposed .env file detection
- CORS misconfiguration detection
- Authentication configuration review
- Debug mode detection
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
- Support for npm, pip, maven, cargo, go mod
### ⚙️ Configuration Security Checks
- Exposed .env file detection
- CORS misconfiguration detection
- Authentication configuration review
- Debug mode detection
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
- Support for npm, pip, maven, cargo, go mod
### ⚙️ Configuration Security Checks
- Exposed .env file detection
- CORS misconfiguration detection
- Authentication configuration review
- Debug mode detection
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
- Support for npm, pip, maven, cargo, go mod
### ⚙️ Configuration Security Checks
- Exposed .env file detection
- CORS misconfiguration detection
- Authentication configuration review
- Debug mode detection
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
- Support for npm, pip, maven, cargo, go mod
### ⚙️ Configuration Security Checks
- Exposed .env file detection
- CORS misconfiguration detection
- Authentication configuration review
- Debug mode detection
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
- Support for npm, pip, maven, cargo, go mod
### ⚙️ Configuration Security Checks
- Exposed .env file detection
- CORS misconfiguration detection
- Authentication configuration review
- Debug mode detection
No suspicious patterns detected.