Back to skill

Security audit

Habit Tracker Pro

Security checks for vulnerabilities and agentic risk

Overview

This is a simple habit-tracking skill with no hidden code or unsafe runtime instructions, though its install docs use a mutable npm latest tag.

Install only if you are comfortable running the current `clawhub` npm release; a pinned installer version would be safer. Expect Chinese-language documentation and note that the metadata asks for `curl` even though this artifact does not show any curl-based behavior.

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:6
Finding

Execution of an Unpinned npm Package During Installation

Content
View full analysis

Vulnerability Details

File Location: README.md, line 6
Vulnerability Type: Supply-chain risk caused by executing a mutable npm package version
Risk Level: Medium

Vulnerable Code

bash
npx clawhub@latest install habit-tracker-pro

Technical Analysis

The documented installation command instructs users to execute the latest version of the third-party npm package clawhub. The latest distribution tag is mutable and can resolve to different package contents over time. Consequently, the code executed by users may differ from the version that was reviewed or expected when this project was published.

When the package is not already available locally, npx can retrieve it from the configured npm registry and execute its command. Package execution may also involve npm lifecycle behavior. The instruction does not pin an exact reviewed version, provide an integrity digest, or otherwise establish a reproducible trust boundary.

This issue does not establish that the current clawhub package is malicious. It creates an exploitable supply-chain path if the package, publisher account, registry resolution, or mutable release tag is compromised.

Attack Path

  1. An attacker compromises the clawhub publisher account, package release process, or another component involved in npm package resolution.
  2. The attacker publishes a malicious release and assigns it to the latest distribution tag.
  3. A user follows the installation command from README.md.
  4. npx retrieves the attacker-controlled release resolved by clawhub@latest.
  5. The package executes with the privileges and environment of the invoking user.
  6. The malicious package can access resources available to that user, subject to operating-system and runtime restrictions.

Impact Assessment

Successful exploitation could permit arbitrary code execution with the privileges of the user running the installation command. Depending on that user's environment, the reachable s ...[truncated 436 chars]

Remediation
View remediation

Remediation Suggestions

  1. Replace the mutable latest tag with an exact, reviewed package version, for example:

    bash
    npx clawhub@<reviewed-exact-version> install habit-tracker-pro
    
  2. Verify the selected package version's publisher, provenance, release history, and registry integrity metadata before recommending it.

  3. Where the surrounding package workflow supports it, use a committed lockfile and integrity hashes to make dependency resolution reproducible.

  4. Avoid executing newly downloaded packages directly in privileged environments. Perform installation under a least-privileged account or in a sandboxed environment.

  5. Establish an update-review process so the pinned version is changed only after the new release has been inspected and approved.

  6. Document the expected package source and version so users can detect unexpected registry or dependency resolution.

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
96% confidence
Finding

The README instructs users to run npx clawhub@latest install habit-tracker-pro, which pulls and executes the latest published package version at install time rather than a reviewed, pinned version. This creates a supply-chain risk: if the package or one of its resolution paths is compromised, users may execute attacker-controlled code simply by following the installation instructions.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The file’s user-facing description and usage headings are predominantly in Chinese, which imposes a specific language on users without any stated opt-in or alternative. The policy allows locale or language constraints only when users are given a choice or when the constraint is clearly justified.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The README content is written entirely in Chinese, including the product description and feature list, with no indication that the skill is region-specific or that other languages are supported. This creates a natural-language policy concern because it imposes a specific language without user opt-in.

Content

No source excerpt is available for this finding.