T08 · Insecure Dependencies
- Location
README.md:89- Finding
Unpinned Third-Party Installation Creates a Supply-Chain Risk
- Content
View full analysis
Vulnerability Details
File Location:
README.md, lines 89-91
Vulnerability Type: Unpinned package execution and mutable repository installation
Risk Level: MediumVulnerable Code
bash npx skills add hotcoffeeshake/tong-jincheng-skillTechnical Analysis
The documented installation procedure invokes the third-party
skillsnpm package throughnpxwithout specifying an audited version. It also identifies the Skill repository by a mutable owner/repository reference rather than an immutable commit.When a package is not pinned,
npxmay obtain and execute a newer package release than the one assessed by the user or project maintainer. Likewise, repository contents associated with a branch or default reference can change after this audit. The effective installation behavior and installed Skill content are therefore controlled by upstream state at installation time rather than by this reviewed artifact.No malicious behavior was found in the audited project files. This finding concerns the trust and integrity of the documented installation path.
Attack Path
- An attacker compromises the npm package, its publisher account, the referenced repository, or a relevant maintainer account.
- The attacker publishes a malicious installer release or modifies the repository’s mutable contents.
- A user follows the README and executes the unpinned
npx skills addcommand. npxdownloads and runs the current upstream package, which may differ from the reviewed version.- The compromised installer or repository supplies malicious code or Skill instructions to the user’s environment.
- Any resulting access depends on the privileges granted to the installation process and the capabilities available to the installed Skill.
Impact Assessment
A compromised installer could execute code with the invoking user’s operating-system privileges. Depending on that user’s permissions and environment, this could permit modification of u ...[truncated 409 chars]
- Remediation
View remediation
Remediation Suggestions
-
Pin the
skillsinstaller to a specific audited version instead of allowingnpxto resolve the current release:bash npx skills@<audited-version> add hotcoffeeshake/tong-jincheng-skill -
Pin the Skill source to an immutable Git commit or signed release tag, provided the installer supports such references.
-
Publish a checksum or signed provenance record for the expected Skill artifact and require integrity verification before activation.
-
Use npm lockfiles, integrity metadata, and trusted registries where applicable.
-
Recommend downloading and reviewing the installer and Skill contents before execution, particularly in environments where the agent can access credentials or sensitive files.
-
Run installation with least privilege in an isolated environment. Do not use
sudoor an administrator account. -
Enable repository branch protection, signed commits or releases, mandatory multifactor authentication, and restricted publishing permissions for upstream maintainer accounts.
-
