T08 · Insecure Dependencies
- Location
README.md:12- Finding
Unpinned npm CLI Execution During Installation
- Content
View full analysis
Vulnerability Details
File Location:
README.md, line 12
Vulnerability Type: Unpinned third-party executable dependency
Risk Level: MediumVulnerable Code
bash npx skills add AntreasAntoniou/pulseTechnical Analysis
The installation instructions invoke the third-party
skillsnpm CLI throughnpxwithout specifying an exact package version or integrity value. Depending on the local npm environment,npxmay retrieve and execute the currently resolved release from the npm registry.Because the CLI implementation is not included in this repository and the command does not pin a reviewed artifact, the code executed by users can differ from the code available when this skill was audited. This creates a supply-chain trust boundary in which a compromised package release, maintainer account, or registry response could result in arbitrary code execution during installation.
The repository itself contains no embedded executable payload, and this finding concerns the documented external installation process rather than malicious code confirmed inside the audited package.
Attack Path
- An attacker compromises the npm package, its publisher account, or another part of the package distribution chain for the package resolved as
skills. - The attacker publishes or serves a modified release containing malicious lifecycle or CLI behavior.
- A user follows the documented unpinned
npx skills add AntreasAntoniou/pulsecommand. npxretrieves the mutable package version selected by npm resolution.- The package's CLI executes with the permissions of the user running the installation.
- The malicious process can access or modify resources available to that user.
Impact Assessment
Successful exploitation could provide arbitrary code execution under the installing user's account. The resulting scope may include reading user-accessible files, modifying local configuration, accessing credentials exposed to that process, in ...[truncated 280 chars]
- An attacker compromises the npm package, its publisher account, or another part of the package distribution chain for the package resolved as
- Remediation
View remediation
Remediation Suggestions
-
Pin the installer CLI to an exact, reviewed version:
bash npx --yes skills@<reviewed-exact-version> add AntreasAntoniou/pulse -
Do not use a floating tag such as
latestor a semver range for security-sensitive installation documentation. -
Document the expected npm package publisher, registry, version, and package provenance so users can verify that they resolved the intended artifact.
-
Publish and document a trusted integrity digest or signature verification procedure where the distribution mechanism supports it.
-
Review the pinned CLI release, including lifecycle scripts and transitive dependencies, before recommending it.
-
Prefer a trusted host-native skill installation mechanism that does not execute a mutable remote CLI when one is available.
-
Retest and deliberately update the pinned version after reviewing future releases rather than silently inheriting them.
-
