Back to skill

Security audit

npm-package-health-lite

Security checks for vulnerabilities and agentic risk

Overview

The verdict is benign because the results describe a package-health skill, but flag mismatches in its stated purpose and a version-unpinned installation command; the scan is incomplete.

Before installing, consider that the setup command fetches a skill from a remote repository using an unpinned CLI and revision. The scanner reports a benign verdict, not a guarantee of safety: Skillspector inspected only half of the components fully, and some script analysis was partial.

Vulnerability Patterns
  • 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
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (3)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied command is a skill installation instruction, not a package health-check implementation. It contains no logic to retrieve or evaluate package metadata. Although the installed skill might implement the described checks, that behavior is not shown and cannot be inferred from this code chunk.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
88% confidence
Finding

The registry request and health calculations match the description. However, the code additionally inspects maintainer and dependency metadata to generate a recommendation for another skill and advertise its capabilities. This promotional output is not disclosed in the declared purpose. The code does not itself contact api.npmjs.org, install packages, or make additional network requests.

Content

No source excerpt is available for this finding.

MCP server referenced without pinned version: 'npx skills'.

Medium
Category
MCP Rug Pull
Confidence
88% confidence
Finding

The installation command invokes an unpinned npm CLI through npx and selects a remote skill without an immutable revision. A compromised future CLI release or repository revision could therefore introduce attacker-controlled code or skill instructions during installation; this is a supply-chain exposure, not evidence of malicious intent or an MCP server.

Content

No source excerpt is available for this finding.