Skip to content

docs: pin npx package versions to mitigate rug-pull risk (RP1) #14

Closed

Description

@Xxx91n

Context

SkillSpector (2.12.0, reported via CodeRabbit on PR #11) flags every version-less npx invocation in the docs as [RP1]: npx commands without a version suffix create a rug-pull risk — a compromised or breaking new release of the package would be executed automatically by anyone (especially AI agents) following the docs.

Affected commands

  • npx skills add ... (README.md, README_EN.md) — resolves to latest at run time
  • npx wrangler login | kv namespace create | deploy | tail | secret put (README.md, README_EN.md, skills/cf-email-api-setup/SKILL.md)

Proposed change

Pin the major version on every documented npx command:

  • npx wrangler@4 ... — matches the setup skill's compatibility floor (Wrangler: ">=4") and the wrangler@^4.81.0 devDependency major
  • npx skills@1 add ... — current latest is 1.7.4

A follow-up PR will close this issue.

Activity

  1. added a commit that references this issue on Nov 1, 2026
    9a90d10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions