Back to skill

Security audit

Bmi Tracker

Security checks for vulnerabilities and agentic risk

Overview

This BMI-tracking skill is a small, disclosed health utility, with install and documentation cautions but no artifact evidence of hidden, destructive, or unrelated behavior.

Before installing, make sure you trust the ClawHub installer source and consider using a pinned installer version if available. Because the skill tracks BMI history and goals, avoid entering sensitive health details unless you understand where the tool stores them and how to delete 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
README.md:8
Finding

Unpinned Third-Party Package Is Downloaded and Executed During Installation

Content
View full analysis

Vulnerability Details

File Location: README.md:8
Vulnerability Type: T08: Insecure Dependencies
Risk Level: Medium

Vulnerable Code:

bash
npx clawhub@latest install bmi-tracker

Technical Analysis

The documented installation command instructs npx to retrieve and execute the mutable latest release of the third-party clawhub npm package. The dependency is not pinned to a reviewed version, and the command does not enforce an integrity hash or another verification mechanism.

Because npx can download and immediately execute package code, the effective installer may change after this skill has been reviewed. The installer source is not included in the audited artifact, so its behavior cannot be validated from the project files. Exploitation depends on compromise or malicious replacement of the upstream package, its publishing account, or the package distribution channel.

Attack Path

  1. An attacker compromises the clawhub npm package, a maintainer account, or its distribution channel.
  2. The attacker publishes a malicious release that becomes the package's latest version.
  3. A user follows the installation command in README.md.
  4. npx downloads and executes the attacker-controlled package.
  5. The malicious package runs with the privileges and environmental access of the user who invoked the command.

Impact Assessment

Successful exploitation could permit arbitrary code execution under the installing user's account. The resulting scope may include reading or modifying files accessible to that user, accessing environment variables and credentials available to the process, making network requests, and installing additional user-level components. Elevated system-wide impact would require the command to be run from an already privileged account or combined with a separate privilege-escalation vulnerability.

Remediation
View remediation

Remediation Suggestions

  • Replace @latest with an exact, reviewed package version.
  • Publish and verify the expected package integrity digest before execution.
  • Use a trusted, explicitly configured package registry.
  • Review the selected installer version and document its expected behavior and required permissions.
  • Prefer a lockfile-backed installation workflow where applicable.
  • Avoid automatically executing newly downloaded package code when a non-executing installation or locally reviewed installer is available.
  • Establish a controlled update process in which newer versions are reviewed and integrity-pinned before the documentation is updated.
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (3)

Rp1

Medium
Category
MCP Rug Pull
Confidence
92% confidence
Finding

The installation command uses npx clawhub@latest, which pulls the latest published package version at execution time rather than a pinned, reviewed version. This creates a supply-chain risk: if the package is compromised or a malicious release is published, users installing the BMI tracker could execute untrusted code on their systems.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
92% confidence
Finding

The skill description and all user-facing documentation are written in Chinese, with no indication that the language is optional or that the skill is intended only for a Chinese-speaking or region-specific audience. This can violate a language/locale policy when users are not given a language choice or opt-in.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
93% confidence
Finding

The manifest description and user-facing content are written entirely in Chinese, and the file does not indicate that language choice is optional or that the skill is intended only for a Chinese-speaking or region-specific context. Under the policy, forcing a specific language without user opt-in is a natural-language policy violation.

Content

No source excerpt is available for this finding.