T08 · Insecure Dependencies
- Location
SKILL.md:19- Finding
Unpinned Third-Party CLI Execution in Primary Installation Instructions
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:19
Vulnerability Type: Unpinned third-party dependency execution
Risk Level: MediumVulnerable Code
bash npx skills add prompt-security/clawsec --skill picoclaw-traffic-guardian -a openclaw -yTechnical Analysis
The installation command invokes the third-party
skillspackage throughnpxwithout specifying a reviewed package version or integrity digest. Consequently, the code executed during installation is resolved from the package registry at invocation time and may differ from the version that was available when this project was audited.The
-yoption suppresses the interactive installation confirmation that might otherwise alert the operator that an absent package is about to be downloaded and executed. AlthoughSKILL.mdalso provides a signed standalone artifact-verification procedure, that verification does not authenticate or constrain the separately resolvedskillsCLI package used by this command.This creates a supply-chain boundary outside the audited repository. A malicious or compromised publication of the resolved package, registry-account compromise, or an unexpected future release could introduce code that executes during installation.
Attack Path
- An attacker compromises the registry package, its publisher account, or a future release resolved by
npx skills. - The attacker publishes a malicious version under the package name resolved by the command.
- An operator follows the documented installation instructions.
npxdownloads the currently resolved package because no version or integrity value is pinned.- The package's lifecycle scripts or CLI entry point execute with the operator's privileges.
- The malicious code can access or modify resources available to that user before or while ostensibly installing the Skill.
Impact Assessment
Successful exploitation could execute arbitrary code wit ...[truncated 416 chars]
- An attacker compromises the registry package, its publisher account, or a future release resolved by
- Remediation
View remediation
Remediation Suggestions
- Pin the CLI to an explicitly reviewed version, for example by using the package manager's supported exact-version syntax.
- Record and verify the expected package integrity digest or use a lockfile-backed installation process.
- Remove
-yso operators receive confirmation beforenpxdownloads and executes a package that is not already installed. - Document the exact registry, package publisher, reviewed version, and expected integrity metadata.
- Prefer a locally installed, lockfile-pinned CLI over dynamic registry resolution.
- Where practical, make the signed standalone release flow the recommended installation method because it verifies the pinned release key, manifest signature, archive hash, and relevant file hashes before extraction.
