Back to skill

Security audit

Budget Planner

Security checks for vulnerabilities and agentic risk

Overview

This is a small Chinese-language budget-planning skill with no bundled executable code; the main caution is a mutable installer command in the README.

Before installing, consider using a pinned ClawHub installer version instead of @latest if you need reproducibility. Expect Chinese documentation and budget-related commands; no bundled code, persistence, credential use, or automatic financial data access was found in the inspected artifact.

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

Unpinned Package Runner Executes the Latest Published Installer

Content
View full analysis

Vulnerability Details

File Location: README.md, lines 5–7
Vulnerability Type: Unpinned third-party package execution
Risk Level: Medium

bash
npx clawhub@latest install budget-planner

Technical Analysis

The documented installation command instructs users to execute the mutable latest release of the third-party clawhub npm package. Because the latest distribution tag can be reassigned after this skill has been reviewed, the command does not guarantee that users execute the same installer version that was originally assessed.

npx may download the selected package and execute its command-line entry point. If the package, publisher account, release process, or npm distribution tag is compromised, an attacker could publish a malicious release and point latest to it. Following the documented installation instructions would then execute attacker-controlled package code.

No evidence in the audited files establishes that the current clawhub package is malicious. The issue is the unsafe, mutable dependency reference and the resulting supply-chain exposure.

Attack Path

  1. An attacker compromises the upstream package publisher, publishing pipeline, or npm account associated with clawhub.
  2. The attacker publishes a malicious package release and assigns the latest distribution tag to that release.
  3. A user follows the README and runs npx clawhub@latest install budget-planner.
  4. npx retrieves the attacker-controlled release and invokes its executable.
  5. The malicious package executes with the permissions and environmental access of the invoking user.

Impact Assessment

Successful exploitation could permit arbitrary code execution under the account running the installation command. Depending on that account's privileges and environment, exposed resources could include user files, project credentials, environment variables, authentication tokens, and writable application config ...[truncated 246 chars]

Remediation
View remediation

Remediation Suggestions

  • Replace @latest with a specifically reviewed, immutable version, for example:
    bash
    npx clawhub@X.Y.Z install budget-planner
    
  • Establish a process for reviewing and deliberately updating the pinned version rather than accepting automatic distribution-tag changes.
  • Where supported, verify package provenance, signatures, and registry integrity metadata before execution.
  • Use a trusted registry and enforce lockfile or package-manager integrity controls when integrating the installer into an automated workflow.
  • Run installation with the minimum required privileges and avoid exposing unrelated secrets in the process environment.
  • For higher-assurance environments, download and inspect the package artifact before running it rather than combining retrieval and execution in one command.
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
93% confidence
Finding

The README instructs users to run npx clawhub@latest install budget-planner, which pulls and executes the latest published package version rather than a pinned, reviewed release. This creates a supply-chain risk: if the upstream package is compromised or a malicious version is published, users could execute attacker-controlled code during installation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The manifest description and body text are written entirely in Chinese, and the file does not indicate that the skill supports other languages or that Chinese-only operation is an intentional, justified regional constraint. This creates a natural-language policy concern because the skill appears to enforce a specific language without user opt-in.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill description and all user-facing sections are written in Chinese, but the file does not indicate that the skill is region-specific or provide any language/locale opt-in. Under the policy rules, forcing a specific language without user choice can be a natural-language policy violation.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.