T08 · Insecure Dependencies
- Location
SKILL.md:30- Finding
Unpinned External CLI Installation and Execution
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:30-36
Vulnerability Type: Unpinned third-party executable dependency
Risk Level: MediumVulnerable Code
bash npm install -g pixverseOr run without installing:
bash npx pixverseThe same unpinned global installation is repeated in
SKILL.md:50-55andcapabilities/auth-and-account.md:363-370.Technical Analysis
The Skill directs users and AI agents to download and execute the
pixversenpm package without specifying an exact version or integrity value. In particular,npx pixversemay retrieve and immediately execute the version currently resolved by the npm registry.The implementation of that package is not included in the audited project. Consequently, this project cannot independently establish the external executable's network destinations, installation scripts, credential-storage permissions, upload behavior, or handling of local files.
This dependency operates in a sensitive context: it receives OAuth authorization, accesses local media selected for upload, interacts with paid account or workspace credits, and stores credentials under
~/.pixverse/. A compromised, replaced, or unexpectedly changed npm release would execute with the invoking user's local privileges and authorized PixVerse account access.Attack Path
- An attacker compromises the npm package, its publisher account, or a newly published mutable release.
- A user or agent follows the Skill and runs
npm install -g pixverseornpx pixverse. - npm retrieves and executes the attacker-controlled package, including any applicable installation or runtime code.
- The malicious package accesses resources available to the invoking process, potentially including the persisted PixVerse token and user-selected local media.
- It may then transmit data, issue unauthorized account operations, consume credits, or execute additional commands under the user's operating-system identity.
Impact
...[truncated 607 chars]
- Remediation
View remediation
Remediation Suggestions
-
Pin the package to an exact reviewed version in every installation and execution example, such as:
bash npm install -g pixverse@1.5.0 npx --yes pixverse@1.5.0 -
Publish and document the expected package integrity digest and provenance information.
-
Require verification of the npm publisher identity and package provenance before execution.
-
Avoid invoking an unversioned package through
npx, which combines retrieval and immediate execution. -
Provide a verifiable mapping between the npm artifact and the public source repository, ideally with reproducible builds and signed releases.
-
Review and pin transitive dependencies in the external CLI distribution.
-
Run the CLI with only the filesystem and account access needed for the requested media operation.
-
