Back to skill

Security audit

Global Perspectives News Openclaw

Security checks for vulnerabilities and agentic risk

Overview

The skill is a coherent news-briefing prompt, but its README recommends an unpinned npx installer that can execute mutable package code during installation.

Review the installation path before installing. Prefer a pinned ClawHub CLI version or manual installation from a trusted, reviewed source, and avoid running the npx command with elevated privileges. Be aware that saved topics and language/depth preferences may be stored locally under your Claw data directory.

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
README.md:65
Finding

Unpinned Third-Party Package Execution During Installation

Content
View full analysis

Vulnerability Details

File Location: README.md, lines 65–69
Vulnerability Type: Mutable third-party dependency execution
Risk Level: Medium

Vulnerable Code

markdown
This is an [OpenClaw](https://openclaw.ai) skill. Install it via ClawHub CLI:

```bash
npx clawhub@latest install global-perspectives-news
text

### Technical Analysis

The documented installation procedure directs users to execute the `clawhub` npm package through `npx` using the mutable `latest` distribution tag. `npx` can download and execute package code immediately, while `@latest` does not identify a fixed, previously reviewed release.

As a result, the package code executed during installation may differ from the code that existed when this skill was audited. The command provides no exact version pin, lockfile, integrity hash, or explicit artifact-verification step. This creates a supply-chain trust dependency on the npm registry, the package publisher account, and every future package version assigned to the `latest` tag.

The issue does not establish that the current `clawhub` package is malicious. It establishes that the documented command can execute a subsequently compromised or malicious release without giving users reproducible dependency selection.

### Attack Path

1. An attacker compromises the `clawhub` publisher account, package release process, or another component of its software supply chain.
2. The attacker publishes a malicious package version and causes the npm `latest` tag to resolve to it.
3. A user follows the installation instructions and runs:
   ```bash
   npx clawhub@latest install global-perspectives-news
  1. npx retrieves the attacker-controlled package selected at that time.
  2. The downloaded package executes with the privileges and environment of the invoking user.
  3. The malicious package can perform actions allowed by that user before or during installation, independently of the audited Markdown skill content.

Impact Ass

...[truncated 604 chars]

Remediation
View remediation

Remediation Suggestions

  1. Replace @latest with an exact, reviewed package version:
    bash
    npx clawhub@X.Y.Z install global-perspectives-news
    
  2. Document the expected npm package name, publisher identity, and approved version so users can detect typosquatting or publisher changes.
  3. Provide package integrity information and instruct users to verify the downloaded artifact where supported.
  4. Use a lockfile or another reproducible dependency mechanism for automated installation workflows.
  5. Prefer an installation method that downloads a versioned artifact for inspection and verification before executing any installer code.
  6. Establish a controlled update process in which new CLI versions are reviewed before the documented version is changed.
  7. Warn users not to execute the installation command with elevated privileges unless explicitly required and justified.
Vulnerability Patterns
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (4)

Rp1

Medium
Category
MCP Rug Pull
Confidence
94% confidence
Finding

The README instructs users to run npx clawhub@latest install global-perspectives-news, which fetches and executes the latest package version at install time. Because the version is not pinned, users may receive unexpected or compromised code if the upstream package changes or the supply chain is attacked.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The README says users can invoke the skill by 'just naturally' asking 'Give me today's global news briefing.' This is a common conversational request rather than a narrowly scoped trigger, and the document does not provide exclusion conditions or constraints to distinguish intentional skill activation from ordinary chat about news.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
91% confidence
Finding

The README again references npx clawhub@latest, which causes execution of whatever version is current at the time a user follows the instructions. Unpinned executable package references increase supply-chain risk and make builds/installations non-reproducible.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

The markdown states that the skill 'Remembers your preferences' by saving settings to '~/.claw/data/global-perspectives-news-prefs.json'. While the behavior is mentioned, there is no explicit warning or disclosure about local persistence of user preference data, its implications, or how users can opt out or delete it.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.