T08 · Insecure Dependencies
- Location
SKILL.md:37- Finding
Unpinned Remote Package Execution Through npx
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:37-42
Vulnerability Type:T08: Insecure Dependencies
Risk Level: Mediummarkdown ClawHub does **not** install the replacement automatically. When you download this outdated skill, install the consolidated one by running: ```bash npx clawhub install auth0text The same unpinned command is advertised in the Skill metadata at `SKILL.md:3-7`: ```yaml description: >- Deprecated — use the `auth0` skill instead (run `npx clawhub install auth0`). Use when adding Auth0 login, logout, protected routes, or user sessions to a React SPA. Integrates @auth0/auth0-react — use even if the user says "add login to my React app" or "protect my React routes" without naming the SDK.Technical Analysis
The documented
npx clawhub install auth0command does not pin theclawhubpackage to an audited version or verify its integrity. Depending on the local npm environment,npxcan download the currently resolved package from a configured registry and execute its package entry point. The command subsequently installs additional remotely maintained Skill content identified only asauth0.Consequently, the code and Skill instructions ultimately loaded by the user can differ from the content that existed when this repository was reviewed. Compromise of the npm package, package ownership, configured registry, or replacement Skill could convert this installation instruction into a supply-chain execution path.
Attack Path
- An attacker compromises the resolved
clawhubnpm package, its publisher account, the relevant registry path, or the remotely hostedauth0Skill. - The attacker publishes a malicious package version or modifies the replacement Skill content.
- A user follows the instruction and runs
npx clawhub install auth0. npxresolves and executes the unpinned package using the invoking user's privileges.- Malici ...[truncated 990 chars]
- An attacker compromises the resolved
- Remediation
View remediation
Remediation Suggestions
- Pin the installer to a specific reviewed version, for example
npx clawhub@<audited-version> install auth0. - Use npm lockfiles and integrity metadata where the installation workflow supports them.
- Explicitly identify the trusted npm registry and avoid relying on arbitrary user-level registry configuration.
- Prefer a locally installed, reviewed installer invoked with a mode that prevents implicit downloads.
- Pin the replacement Skill to an immutable release, commit, or cryptographic digest.
- Verify package signatures or checksums before executing the installer.
- Review the downloaded replacement Skill before enabling it.
- Run installation with least privilege and avoid executing it in environments containing production credentials or high-value CI secrets.
- Pin the installer to a specific reviewed version, for example
