Back to skill

Security audit

Find Skill

Security checks for vulnerabilities and agentic risk

Overview

The skill has a legitimate purpose, but it encourages unpinned external CLI execution and global, non-interactive installation of third-party skills.

Install only skills and publishers you trust. Before using this skill, prefer pinned CLI versions, inspect the target skill source, avoid `-g -y` unless you intentionally want a persistent global install, and approve the exact command and package being installed.

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
SKILL.md:25
Finding

Unpinned Third-Party CLI and Unreviewed Global Skill Installation

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, lines 25-30, 50, and 83-88
Vulnerability Type: Supply-chain risk caused by unpinned third-party tooling and unattended global installation
Risk Level: Medium

Complete Code Snippet:

markdown
**Key commands:**

- `npx skills find [query]` - Search for skills interactively or by keyword
- `npx skills add <package>` - Install a skill from GitHub or other sources
- `npx skills check` - Check for skill updates
- `npx skills update` - Update all installed skills
bash
npx skills find [query]
markdown
### Step 4: Offer to Install

If the user wants to proceed, you can install the skill for them:

```bash
npx skills add <owner/repo@skill> -g -y

The -g flag installs globally (user-level) and -y skips confirmation prompts.

text

### Technical Analysis

The skill directs the agent to execute `npx skills` without pinning the npm CLI to a reviewed version or integrity-verified artifact. `npx` can resolve and execute package content obtained from an external package registry, meaning the code executed at audit time may differ from the code executed later.

The workflow also permits skills from GitHub or other sources to be installed globally with `-g`, while `-y` suppresses interactive confirmation. The documented process does not require an immutable commit reference, source allowlist, package-content review, lifecycle-script review, checksum validation, or provenance verification before installation.

This creates a supply-chain boundary in which a compromised, replaced, dependency-confused, typo-squatted, or intentionally malicious CLI or skill package could introduce attacker-controlled code or instructions. Global user-level installation increases the affected scope beyond a temporary project environment.

### Attack Path

1. An attacker compromises the unpinned `skills` npm package, one of its dependencies, or
...[truncated 1383 chars]
Remediation
View remediation

Remediation Suggestions

  1. Pin the CLI to an explicitly reviewed version, such as npx skills@<approved-version>, and enforce package-lock or integrity verification where supported.
  2. Resolve skill sources to immutable commit hashes rather than mutable branches, tags, or unversioned repository references.
  3. Remove -g and -y from the default workflow. Prefer isolated, project-local installation and retain an explicit confirmation prompt.
  4. Require informed user approval that displays the exact package, version, repository, commit hash, installation scope, and commands that will be executed.
  5. Restrict installation to an allowlist of verified publishers and repositories.
  6. Download packages into a quarantine directory and inspect all files, manifests, dependencies, executable scripts, hooks, and lifecycle scripts before installation.
  7. Disable package lifecycle scripts unless they are strictly required and separately reviewed.
  8. Perform installation in a sandbox with minimal filesystem, network, credential, and tool access.
  9. Verify checksums, signatures, and publisher provenance before execution, and fail closed if validation is unavailable or unsuccessful.
  10. Record the approved version and integrity metadata so later updates cannot silently replace reviewed content.
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (17)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The top-level description uses broad natural-language triggers like 'how do I do X' and general interest in extending capabilities, which can cause the skill to activate in many ordinary conversations. In this skill, unintended activation is more dangerous than usual because activation leads toward searching for and installing external skills, creating unnecessary exposure to third-party code and package operations.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The activation conditions are ambiguous and overlap with routine requests for help, so the skill may trigger when the user simply wants advice rather than package discovery. Given this skill’s install-oriented behavior, accidental invocation can push users toward unnecessary external package execution and broaden the attack surface without clear consent.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
92% confidence
Finding

The skill repeatedly directs use of npx skills without pinning a specific package version, which means execution is delegated to whatever package version the registry serves at runtime. In a skill whose purpose is discovering and installing more skills, this creates a supply-chain risk path where a compromised, typosquatted, or newly-malicious package version could be executed by users or agents.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
92% confidence
Finding

Referencing npx skills without version pinning causes the command to fetch and run the latest resolved package, which can change over time without review. Because this skill is a distribution mechanism for additional capabilities, the unpinned execution point materially increases the blast radius of a package compromise.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
92% confidence
Finding

An unpinned npx skills command allows mutable remote code to be executed at the time of use. In this context, users are being guided to install tooling and potentially more third-party content, so compromise of the package source could directly lead to unauthorized code execution and downstream installation of malicious skills.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
92% confidence
Finding

Using npx skills without pinning gives no stability or integrity guarantees about which code will run. Since the command is positioned as a routine maintenance action (check/update nearby), it could normalize repeated execution of mutable remote code and make compromise harder to detect.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
92% confidence
Finding

This unpinned CLI invocation creates a supply-chain trust gap: the package content may differ between runs and over time. In a skill that encourages extension and installation of new capabilities, that trust gap is more dangerous because it sits at the front door of further package acquisition and execution.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
92% confidence
Finding

The search command uses npx skills without pinning, so even a seemingly read-only discovery step can execute unreviewed package code fetched at runtime. That means a user trying only to browse skills is still exposed to arbitrary code execution if the package or dependency chain is compromised.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
92% confidence
Finding

This example normalizes unpinned npx skills usage for a common workflow, enabling execution of whatever package version is current at the time. Because users are likely to copy-paste examples, the pattern materially increases risk of supply-chain compromise through habitual unsafe command execution.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
92% confidence
Finding

This command again relies on a mutable npx package resolution path, which can execute changed code without any modification to the skill file. The danger is amplified here because the skill is teaching a repeatable operational pattern that could be widely adopted by users and agents.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
92% confidence
Finding

An unpinned npx skills invocation in example output/workflow guidance preserves the risk that remote package contents may change and become malicious. In aggregate with the other instances, it indicates systemic unsafe package execution guidance rather than an isolated typo.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
92% confidence
Finding

The installation instruction references npx skills without version pinning, introducing the risk that the installer itself is fetched and executed from a mutable upstream source. Because this path leads directly into installing additional skills, compromise could result in chained execution of attacker-controlled content.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
92% confidence
Finding

This copy-pasteable install command uses an unpinned CLI, so the trusted boundary is unclear and code fetched at runtime may differ between invocations. In a discovery/install skill, users are especially likely to execute such examples directly, making exploitation practical if the upstream package is compromised.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The skill explicitly recommends installing third-party skills globally and non-interactively using -g -y without prominent warnings about trust, provenance, or system impact. This reduces user friction around executing and persisting unreviewed third-party content, which materially raises the risk of supply-chain compromise, privilege expansion, and difficult-to-notice persistence.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
95% confidence
Finding

The command npx skills add <owner/repo@skill> -g -y is especially risky because it combines unpinned remote CLI execution with immediate installation behavior. If the CLI package is compromised, the attack can execute without prompts and install globally, significantly increasing persistence and system impact.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
92% confidence
Finding

The guidance to create a skill via unpinned npx skills still executes mutable upstream package code and therefore carries supply-chain execution risk. Although initialization may appear lower risk than installation, it still relies on unreviewed remote code at runtime.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
92% confidence
Finding

This final unpinned npx skills reference reinforces a pervasive unsafe pattern across the skill. The cumulative context makes it more dangerous because the skill’s whole purpose is to bootstrap additional software acquisition, so trust in the toolchain is central and currently weak.

Content

No source excerpt is available for this finding.