Back to skill

Security audit

卫星云图

Security checks for vulnerabilities and agentic risk

Overview

This skill downloads a public satellite cloud image, OCRs its timestamp, caches a few local image files, and does not show hidden or destructive behavior.

Install it only if you are comfortable with a skill that downloads a public satellite image and caches it under ~/.openclaw. For safer use, install dependencies in a dedicated virtual environment, pin package versions, and review the sudo package-install commands before running them.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (1)

T08 · Insecure Dependencies

Warning
Location
requirements.txt:1
Finding

Unpinned Third-Party Python Dependencies

Content
View full analysis

Vulnerability Details

File Location: requirements.txt:1-3; installation instructions in skill.md:33, skill.md:40, skill.md:47, and skill.md:54
Vulnerability Type: T08: Insecure Dependencies
Risk Level: Medium

Affected code in requirements.txt:1-3:

text
requests
pillow
pytesseract

Affected installation commands in skill.md:

powershell
pip install requests pillow pytesseract
bash
pip3 install requests pillow pytesseract

Technical Analysis

The project declares and documents installation of three third-party Python packages without exact version constraints or cryptographic hashes. Consequently, each installation resolves mutable package releases from the configured Python package index at installation time.

This prevents reproducible dependency resolution and provides no project-level integrity verification. If a dependency release or its package-index publishing account is compromised, installation or imported runtime code could execute attacker-controlled code. Python packages can execute build-backend or setup logic during installation, while this project also imports all three dependencies when get_satellite.py runs.

The reviewed package names match the script's expected imports, and the project does not specify an untrusted package index, dependency URL, or known malicious package. Therefore, this finding represents supply-chain exposure rather than evidence that the currently named packages are malicious.

Attack Path

  1. An attacker compromises a dependency maintainer account, publishing pipeline, package-index account, or a future dependency release.
  2. A user follows skill.md or installs the unpinned requirements.txt.
  3. pip resolves the attacker-controlled or otherwise compromised release because no reviewed version or hash is enforced.
  4. Malicious package installation logic executes during installation, or malicious runtim ...[truncated 693 chars]
Remediation
View remediation

Remediation Suggestions

  1. Pin every direct dependency to an explicitly reviewed version using exact constraints:
    text
    requests==<reviewed-version>
    pillow==<reviewed-version>
    pytesseract==<reviewed-version>
    
  2. Generate a fully resolved lock file that also pins transitive dependencies.
  3. Record SHA-256 hashes for approved distributions and enforce them with:
    bash
    python3 -m pip install --require-hashes -r requirements.txt
    
  4. Update every installation example in skill.md to use the locked, hash-verified requirements file rather than installing mutable package names directly.
  5. Install dependencies inside a dedicated virtual environment under a non-privileged account; do not run pip with sudo or administrator privileges.
  6. Review and test dependency updates before changing pins, and use automated vulnerability and provenance scanning in the update process.
Vulnerability Patterns
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (11)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The HTTP headers explicitly force Accept-Language to prefer zh-CN, and the file-level documentation/OCR configuration also assumes Chinese language handling. Under the policy, forcing a specific language or locale without offering user choice or documenting a justified region-specific constraint is a natural-language policy violation.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The description says the skill triggers when users mention keywords like "云图", "卫星云图", "实时云图", and especially "天气图". "天气图" is broad and the file does not provide limiting conditions or negative examples, so the activation scope is ambiguous and may cause unintended invocation.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The trigger section says to execute the skill when the user expresses intent to view cloud imagery or similar intent, but it does not define clear boundaries for what counts as "similar". Without explicit scope constraints or non-trigger examples, the invocation rule is underspecified for a markdown skill description.

Content

No source excerpt is available for this finding.

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

Scanner excerpt · skill.md (reported line 39)May include surrounding context.

Linux (Ubuntu/Debian)

bash
sudo apt install tesseract-ocr tesseract-ocr-chi-sim python3-pip
pip3 install requests pillow pytesseract

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

Scanner excerpt · skill.md (reported line 46)May include surrounding context.

Linux (Ubuntu/Debian)

bash
sudo apt install tesseract-ocr tesseract-ocr-chi-sim python3-pip
pip3 install requests pillow pytesseract

Unpinned Dependencies

Low
Category
Supply Chain
Confidence
97% confidence
Finding

The dependency 'requests' is unpinned, so installs may resolve to different versions over time, including versions with known security flaws or breaking behavior. In a skill that automatically downloads remote satellite imagery, this increases supply-chain risk because a vulnerable or unexpected version could affect outbound HTTP handling and credential safety.

Content

Scanner excerpt · requirements.txt (reported line 1)May include surrounding context.

text
requests
pillow
pytesseract

Unverifiable Dependency: requests has 16 known advisory(ies) (CVE-2014-1830 (Exposure of Sensitive Information to an Unauthorized Actor in Requests); CVE-2024-47081 (Requests vulnerable to .netrc credentials leak via malicious URLs); CVE-2024-35195 (Requests `Session` object does not verify requests after making first request wi) +13 more), but the manifest does not pin a version, so it is unknown whether the installed release is affected

Low
Category
Supply Chain
Confidence
96% confidence
Finding

The manifest does not pin a version of 'requests', and the package has multiple known advisories across versions. That makes it impossible to verify from this file whether the installed version is safe; in a network-fetching skill, this matters because HTTP client flaws can expose credentials, weaken TLS/session behavior, or mishandle attacker-controlled URLs.

Content

No source excerpt is available for this finding.

Unpinned Dependencies

Low
Category
Supply Chain
Confidence
97% confidence
Finding

The dependency 'pillow' is unpinned, allowing an arbitrary newer or older release to be installed. Because this skill processes downloaded images, using an unpinned image-parsing library is more dangerous than usual: vulnerable Pillow versions have historically included memory corruption, code execution, and denial-of-service issues reachable through crafted image files.

Content

Scanner excerpt · requirements.txt (reported line 2)May include surrounding context.

text
requests
pillow
pytesseract

Unverifiable Dependency: pillow has 16 known advisory(ies) (CVE-2016-2533 (Pillow buffer overflow in ImagingPcdDecode); CVE-2023-50447 (Arbitrary Code Execution in Pillow); CVE-2021-27922 (Pillow Uncontrolled Resource Consumption) +13 more), but the manifest does not pin a version, so it is unknown whether the installed release is affected

Low
Category
Supply Chain
Confidence
98% confidence
Finding

The manifest does not pin a version of 'pillow', which has a history of image parsing vulnerabilities in some releases. Since this skill downloads and likely opens remote satellite images, an affected Pillow version could be exposed to crafted image payloads, making denial of service or even code execution more plausible in context.

Content

No source excerpt is available for this finding.

Unpinned Dependencies

Low
Category
Supply Chain
Confidence
92% confidence
Finding

The dependency 'pytesseract' is unpinned, which makes builds non-reproducible and can pull in unexpected releases with security or stability regressions. While the package itself is a Python wrapper, unpinned OCR-related dependencies can still expand attack surface and operational risk, especially if later code feeds it untrusted image content.

Content

Scanner excerpt · requirements.txt (reported line 3)May include surrounding context.

text
requests
pillow
pytesseract