Back to skill

Security audit

Skill Lookup

Security checks for vulnerabilities and agentic risk

Overview

This skill has a coherent purpose, but it steers users toward unpinned remote CLI execution and unattended global skill installation.

Install only if you are comfortable with a skill that may run `npx` to fetch tooling and add other skills. Prefer pinned versions, inspect the target skill source first, avoid `-g -y` by default, and use local or isolated installation unless you intentionally want user-level persistence.

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

Unpinned Third-Party Package Execution and Unattended Global Skill Installation

Content
View full analysis
` - Install a skill from GitHub or other sources - `npx skills check` - Check for skill updates - `npx skills update` - Update all installed skills ``` Lines 92–98: ```markdown ### Step 6: Offer to Install If the user wants to proceed, you can install the skill for them: ```bash npx skills add -g -y ``` ``` ### Technical Analysis The instructions invoke `npx skills` without pinning the npm package to an exact, reviewed version or verifying package integrity. Consequently, the executable package resolved by npm can change after this skill has been audited. The installation target may also originate from search results, user input, GitHub, or other third-party sources. Although the document recommends checking install counts, repository stars, and source reputation, these signals do not establish code integrity and do not protect against repository compromise, publisher-account compromise, typosquatting, malicious updates, or deceptive popularity metrics. The recommended installation command adds two security-sensitive options: - `-g` installs the selected skill globally at the user level, increasing its reach across projects and later agent sessions. - `-y` suppresses confirmation prompts, reducing the opportunity for a user to inspect and reject an unsafe installation. Depending on the behavior of the npm package and selected skill installer, package lifecycle behavior or other installation logic may execute with the permissions of the account running the agent. The repository does not itself contain a malicious payload, but its workflow creates an unsafe third-party supply-chain execution path. ### Attac ...[truncated 1756 chars]
Remediation
View remediation
skills add ``` Enforce the expected package integrity through a lockfile, trusted internal registry, or equivalent checksum-verification mechanism. 2. Restrict installation sources to an explicit allowlist of reviewed repositories and publishers. Do not treat stars, install counts, or recognizable organization names as substitutes for source review. 3. Pin each selected skill to an immutable commit SHA or signed release rather than a mutable branch, tag, or unversioned repository reference. 4. Download the candidate into an isolated staging directory and inspect its instructions, scripts, manifests, lifecycle hooks, dependencies, and network behavior before installation. 5. Remove `-y` from the recommended command. Present the exact source, revision, requested installation scope, and review results, then require explicit user confirmation. 6. Avoid `-g` by default. Prefer project-local or isolated installation with the minimum filesystem and session scope necessary for the requested task. 7. Disable dependency lifecycle scripts where supported, or perform installation in a sandbox with restricted network access, filesystem access, environment variables, credentials, and operating-system permissions. 8. Verify release signatures or checksums and record the approved source and immutable revision for future audits and updates. 9. Apply the same controls to `npx skills check` and `npx skills update`; updates must not automatically replace reviewed content with an unreviewed remote version. ]]>
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • 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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (16)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The activation description is broad enough to trigger on many generic requests such as 'how do I do X' or 'can you do X'. In this skill, over-broad activation is risky because invocation steers the agent toward discovering and installing third-party skills, increasing the chance of unnecessary exposure to external packages and remote execution workflows.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The 'When to Use' conditions are ambiguous and overlap with routine assistance requests, making accidental invocation likely. Because the skill then recommends external CLI use and package installation, unnecessary activation increases the probability of users being pushed into risky supply-chain actions when direct assistance would suffice.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
92% confidence
Finding

The skill repeatedly tells the agent/user to execute npx skills without pinning an exact package version. npx can fetch and run the latest package at execution time, creating a supply-chain risk where a compromised or newly malicious release could execute arbitrary code on the host.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
92% confidence
Finding

This command reference uses unpinned npx skills, which executes whatever version is current at runtime. That exposes the environment to arbitrary code execution if the upstream package is compromised, typosquatted, or replaced with a harmful update.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
92% confidence
Finding

Referencing npx skills without a version means the package manager may download and run unreviewed code from the registry at the moment of use. In a skill whose purpose is to discover/install more capabilities, this materially increases supply-chain exposure and can lead to host compromise.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
92% confidence
Finding

An unpinned npx invocation allows non-deterministic execution of registry-hosted code. If the skills package or its dependencies are compromised, the agent/user could unknowingly execute attacker-controlled code.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
92% confidence
Finding

This command encourages runtime execution of the latest skills package via npx, which is a classic supply-chain risk. Because the command is framed as normal operational guidance, users may run it without realizing it can execute arbitrary code from the network.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
92% confidence
Finding

The search command still relies on unpinned npx skills, so even a seemingly harmless 'find' action can execute newly fetched package code. The risk is not limited to installation commands; any npx invocation can trigger arbitrary code execution.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
90% confidence
Finding

This example normalizes the use of npx skills without version pinning, creating a repeated unsafe pattern throughout the skill. Repetition increases the chance that users or agents invoke remote code casually and inherit any upstream compromise.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
90% confidence
Finding

The example command invokes the CLI through unpinned npx, enabling execution of whatever version is published at runtime. In a discovery/install workflow, that can be exploited to pivot from a search action into full code execution on the machine.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
90% confidence
Finding

Even though this is only an illustrative example, it teaches unsafe operational behavior: running unpinned remote packages via npx. If copied into practice, a compromised package release could execute arbitrary code and modify the environment.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
95% confidence
Finding

The install command npx skills add ... is especially sensitive because it both executes the CLI and causes additional package installation. Without version pinning, an attacker controlling a new skills release could run arbitrary code and influence what gets installed.

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 npx skills add <owner/repo@skill> -g -y, which performs a global install and suppresses confirmation prompts without warning about system modification. Combined with third-party package installation, this can lead to silent environment changes, broader persistence, and easier exploitation if the package or source is malicious or compromised.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
96% confidence
Finding

This command combines multiple risky properties: unpinned npx, global installation, and disabled confirmations. A compromised upstream package could immediately execute with broad effect on the user environment while the workflow suppresses friction that might otherwise prompt review.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
90% confidence
Finding

The fallback guidance still instructs use of npx skills init without version pinning, preserving the same supply-chain execution risk. Because this appears in a recovery/helpful context, users may trust it and run it without scrutiny.

Content

No source excerpt is available for this finding.

Rp1

Medium
Category
MCP Rug Pull
Confidence
90% confidence
Finding

Another unpinned npx skills reference reinforces an unsafe execution pattern across the skill. Broad repetition in documentation makes the issue more dangerous because the skill's whole purpose is to funnel users toward running external package-manager commands.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.