T08 · Insecure Dependencies
- Location
SKILL.md:210- Finding
Unpinned Global Installation of an Unaudited npm Package
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:210-211
Vulnerability Type: Supply-chain exposure through an unpinned global dependency
Risk Level: MediumVulnerable Code
bash npm install -g orderflow-cli orderflow initTechnical Analysis
The setup instructions install
orderflow-cliglobally without specifying an exact version or verifying its integrity. The project contains no lockfile, checksum, package signature, vendored source, or other mechanism that binds installation to a reviewed artifact.npm installation can execute package lifecycle scripts. Global installation also adds package-provided executables to the user's environment and potentially to
PATH. Consequently, the effective code executed by these instructions can change after this skill has been reviewed.The audit did not establish that
orderflow-cliis malicious. The confirmed weakness is that the instructions place trust in an unpinned and unaudited external package.Attack Path
- An attacker compromises the package, a maintainer account, or the relevant package-distribution path.
- The attacker publishes a malicious or backdoored release under the expected package name.
- A user follows the documented command, which resolves the package version available at installation time.
- Malicious lifecycle code may execute during installation, or malicious behavior may run when
orderflow initis invoked. - The installed program executes with the privileges of the installing user and may later receive access to the integration credentials described by the skill.
Impact Assessment
Successful exploitation could provide arbitrary code execution with the installing user's privileges. Depending on that user's access, the compromised package could read user-accessible files and environment variables, alter local configuration, install or replace executables, and capture credentials subsequently provided to the ...[truncated 155 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin the dependency to an exact, independently reviewed version rather than resolving the latest release.
- Supply and enforce a lockfile and verify package integrity using trusted hashes or signatures.
- Document the authoritative package registry, publisher identity, source repository, and release-verification process.
- Prefer a project-local installation over
npm install -g. - Disable or carefully review lifecycle scripts where operationally feasible.
- Execute the dependency in a sandbox or isolated service account with minimal filesystem, network, and credential access.
- Review package ownership and source changes before upgrading.
- Integrate dependency scanning and provenance verification into the release process.
