T03 · Remote Payload Retrieval and Execution
- Location
references/installation-errors.md:32- Finding
Remote installation scripts are executed directly without integrity verification
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This is a coherent OpenClaw troubleshooting skill, but it includes unsafe setup and repair paths that can expose credentials, weaken host security, or install mutable software.
Review this skill before installing. Use diagnostic/read-only commands first, avoid the setup wizard until credential storage and gateway defaults are fixed, do not follow Docker socket chmod guidance, and require explicit approval for package installs, Docker pulls, remote installer scripts, log deletion, or cache updates.
references/installation-errors.md:32Remote installation scripts are executed directly without integrity verification
scripts/lib/setup_helpers.py:31Setup wizard persists provider API keys in plaintext configuration files and backups
scripts/lib/setup_helpers.py:31Public gateway configuration uses a weak token derived from the provider API key
references/sandbox-errors.md:45Documentation recommends making the Docker control socket world-writable
references/sandbox-errors.md:38Troubleshooting instructions enable Docker as a persistent boot service
references/channel-errors.md:310Signal CLI executable archive is installed without checksum or signature verification
data/fix-recipes.json:227Automatic fixes install mutable global packages and Docker images
The combination of undeclared update-checking and auto-detection/recommendation behavior with absent or overstated diagnostics indicates incomplete and misleading disclosure. Even if not overtly malicious, this weakens user consent and complicates security review because the real operational footprint differs from the advertised one.
The combination of undeclared update-checking and auto-detection/recommendation behavior with absent or overstated diagnostics indicates incomplete and misleading disclosure. Even if not overtly malicious, this weakens user consent and complicates security review because the real operational footprint differs from the advertised one.
The combination of undeclared update-checking and auto-detection/recommendation behavior with absent or overstated diagnostics indicates incomplete and misleading disclosure. Even if not overtly malicious, this weakens user consent and complicates security review because the real operational footprint differs from the advertised one.
The combination of undeclared update-checking and auto-detection/recommendation behavior with absent or overstated diagnostics indicates incomplete and misleading disclosure. Even if not overtly malicious, this weakens user consent and complicates security review because the real operational footprint differs from the advertised one.
The combination of undeclared update-checking and auto-detection/recommendation behavior with absent or overstated diagnostics indicates incomplete and misleading disclosure. Even if not overtly malicious, this weakens user consent and complicates security review because the real operational footprint differs from the advertised one.
The combination of undeclared update-checking and auto-detection/recommendation behavior with absent or overstated diagnostics indicates incomplete and misleading disclosure. Even if not overtly malicious, this weakens user consent and complicates security review because the real operational footprint differs from the advertised one.
The combination of undeclared update-checking and auto-detection/recommendation behavior with absent or overstated diagnostics indicates incomplete and misleading disclosure. Even if not overtly malicious, this weakens user consent and complicates security review because the real operational footprint differs from the advertised one.
The combination of undeclared update-checking and auto-detection/recommendation behavior with absent or overstated diagnostics indicates incomplete and misleading disclosure. Even if not overtly malicious, this weakens user consent and complicates security review because the real operational footprint differs from the advertised one.
The combination of undeclared update-checking and auto-detection/recommendation behavior with absent or overstated diagnostics indicates incomplete and misleading disclosure. Even if not overtly malicious, this weakens user consent and complicates security review because the real operational footprint differs from the advertised one.
The combination of undeclared update-checking and auto-detection/recommendation behavior with absent or overstated diagnostics indicates incomplete and misleading disclosure. Even if not overtly malicious, this weakens user consent and complicates security review because the real operational footprint differs from the advertised one.
The combination of undeclared update-checking and auto-detection/recommendation behavior with absent or overstated diagnostics indicates incomplete and misleading disclosure. Even if not overtly malicious, this weakens user consent and complicates security review because the real operational footprint differs from the advertised one.
The combination of undeclared update-checking and auto-detection/recommendation behavior with absent or overstated diagnostics indicates incomplete and misleading disclosure. Even if not overtly malicious, this weakens user consent and complicates security review because the real operational footprint differs from the advertised one.
The combination of undeclared update-checking and auto-detection/recommendation behavior with absent or overstated diagnostics indicates incomplete and misleading disclosure. Even if not overtly malicious, this weakens user consent and complicates security review because the real operational footprint differs from the advertised one.
A self-updater is a genuine self-modification capability: it can change the skill's local references or cached state after deployment. Even if intended for maintenance, self-modifying behavior increases supply-chain and integrity risk because future behavior may differ from what was originally reviewed.
python3 {baseDir}/scripts/enhanced-doctor.py --json
### Self-Updater
Keep references and caches current.
```bash
# Check what's outdated
The '--update' command is a direct mutating action that can alter local data under control of the skill. In security-sensitive environments, any self-update path is dangerous unless tightly scoped and transparently controlled, because it can introduce unreviewed content or drift from the audited version.
Keep references and caches current.
# Check what's outdated
python3 {baseDir}/scripts/self-updater.py --check
# Update everything
python3 {baseDir}/scripts/self-updater.py --update
Updating the skill cache is still a self-modification pathway because it changes local reference material that may influence future outputs or recommendations. This is especially risky if the cache contents are sourced remotely or later trusted without verification.
python3 {baseDir}/scripts/self-updater.py --check
# Update everything
python3 {baseDir}/scripts/self-updater.py --update
# Update only skill cache
python3 {baseDir}/scripts/self-updater.py --update --skills-only
Documenting self-update-related commands without safeguards indicates a real integrity concern, even if the apparent goal is maintenance rather than exploitation. In this skill context, the danger is elevated because the same tool presents itself as a trusted 'doctor' utility, making users more likely to run mutating commands without scrutiny.
python3 {baseDir}/scripts/self-updater.py --update
python3 {baseDir}/scripts/self-updater.py --update --skills-only
### Setup Wizard
Advising users to add API keys to a .env file can increase credential exposure if the file is committed, copied, or left with weak permissions. In a diagnostic skill centered on fixing auth issues, normalizing local plaintext secret storage is risky unless accompanied by explicit safeguards and safer secret-management options.
"title": "Missing Anthropic API Key",
"description": "ANTHROPIC_API_KEY environment variable is not set",
"causes": ["Environment variable not set", "API key not configured in openclaw.json", "Wrong environment file loaded"],
"fix_steps": ["Set ANTHROPIC_API_KEY environment variable", "Add key to .env file", "Run: openclaw models auth setup-token --provider anthropic"],
"fix_recipe_id": "fix-auth-env",
"related_codes": ["INVALID_REQUEST"],
"doc_url": "https://docs.openclaw.ai/providers/anthropic"
This repeats the same risky pattern for OpenAI credentials by recommending storage in a .env file. Because this file is only documentation/config data, it is not credential theft by itself, but it still encourages a storage practice that can lead to accidental secret disclosure in real deployments.
"title": "Missing OpenAI API Key",
"description": "OPENAI_API_KEY environment variable is not set",
"causes": ["Environment variable not set", "API key not configured in openclaw.json", "Wrong environment file loaded"],
"fix_steps": ["Set OPENAI_API_KEY environment variable", "Add key to .env file", "Run: openclaw models auth setup-token --provider openai"],
"fix_recipe_id": "fix-auth-env",
"related_codes": ["INVALID_REQUEST"],
"doc_url": "https://docs.openclaw.ai/providers/openai"
Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.
"title": "Context Window Exceeded",
"description": "Request exceeds model's context window limit",
"causes": ["Too many tokens in prompt", "Large conversation history", "Big file attachment", "Context accumulation"],
"fix_steps": ["Reduce prompt length", "Clear conversation history", "Use model with larger context window", "Implement context pruning"],
"fix_recipe_id": "fix-config-validate",
"related_codes": ["PAYLOAD_TOO_LARGE"],
"doc_url": "https://docs.openclaw.ai/models/context-limits"
The skill can terminate arbitrary processes on a port using forceful kill commands, including 'kill -9', which can interrupt unrelated applications and cause data loss. For a diagnostic tool, this is unusually destructive because it converts troubleshooting into direct process control without strong safeguards.
This cleanup recipe permanently deletes logs and prunes Docker resources without an explicit warning, making accidental destructive execution more likely. Loss of logs can impede debugging and incident response, while Docker pruning may remove resources other workloads depend on.
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
- Gateway rejects AI provider requests
**Common Causes:**
- Missing API key in .env file
- Incorrect API key value
- API key not activated with provider
- Typo in environment variable name
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
- Gateway rejects AI provider requests
**Common Causes:**
- Missing API key in .env file
- Incorrect API key value
- API key not activated with provider
- Typo in environment variable name
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
- Gateway rejects AI provider requests
**Common Causes:**
- Missing API key in .env file
- Incorrect API key value
- API key not activated with provider
- Typo in environment variable name
Detected: suspicious.destructive_delete_command