T08 · Insecure Dependencies
- Location
SKILL.md:17- Finding
Unpinned Vercel Skills CLI and repository source are executed during installation
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:17-21andREADME.md:4-8
Vulnerability Type: Unpinned third-party executable and mutable repository dependency
Risk Level: MediumVulnerable Code
bash npx skills add prompt-security/clawsec --skill clawsec-clawhub-checker -a openclaw -yTechnical Analysis
The documented installation command invokes the
skillsnpm package throughnpxwithout specifying an exact package version or integrity hash. It also identifies the skill source asprompt-security/clawsecwithout pinning it to an immutable commit or signed release artifact.Consequently, the code executed or installed by this command can differ from the version reviewed during this audit. If the npm package, package maintainer account, repository, default branch, or publishing pipeline is compromised, a future invocation could retrieve attacker-controlled content. npm lifecycle behavior or the invoked CLI could execute code with the privileges of the user running the command.
The
-yoption also makes the documented flow non-interactive, reducing the opportunity for the operator to notice an unexpected package version or source change.Attack Path
- An attacker compromises the npm package used by
npx skills, its maintainer account, or the referenced repository and publishing pipeline. - The attacker publishes a malicious version of the package or replaces content at the mutable repository reference.
- A user follows the documented installation command.
npxresolves the currently available package rather than an audited, exact version.- The compromised CLI or retrieved skill content executes or is installed under the user's OpenClaw environment.
- Malicious code can then act with the permissions available to that user.
Impact Assessment
Successful supply-chain exploitation could provide arbitrary code execution with the privileges of the invoking user. This ...[truncated 351 chars]
- An attacker compromises the npm package used by
- Remediation
View remediation
Remediation Suggestions
- Pin the
skillsnpm package to a reviewed exact version instead of relying on implicit resolution, for examplenpx skills@X.Y.Z. - Pin
prompt-security/clawsecto an immutable commit SHA or a cryptographically verified release tag. - Publish and verify checksums or signatures for the exact skill archive before installation.
- Avoid non-interactive approval in security-sensitive installation instructions unless package identity, version, and integrity have already been verified.
- Recommend running the installer in a restricted environment without unnecessary credentials or filesystem permissions.
- Document the expected npm package name, version, integrity digest, repository commit, and signing-key fingerprint.
- Pin the
