T08 · Insecure Dependencies
- Location
SKILL.md:14- Finding
Unpinned Third-Party Package Execution via npx
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 14
Vulnerability Type: Unpinned and immediately executed third-party dependency
Risk Level: MediumVulnerable Code Snippet:
markdown The `veezee` CLI (`npx @veezee/sdk init`) mints and stores the same key.Technical Analysis
The documented
npx @veezee/sdk initcommand resolves and executes a third-party npm package without specifying a reviewed version or verifying its integrity. If the package is not already installed locally,npxcan download its currently published version and immediately run its CLI code, including applicable package or dependency lifecycle behavior.Because package resolution is mutable, the code executed when a user follows this instruction may differ from the code available when the Skill was audited. Exploitation would require compromise or malicious publication within
@veezee/sdkor its transitive dependency chain. The project contains no evidence that the package is presently malicious; the finding concerns unsafe supply-chain execution.Attack Path
- An attacker compromises the npm package, a maintainer account, the publication process, or a transitive dependency.
- The attacker publishes a malicious version that satisfies the unpinned package reference.
- A user follows the Skill's setup instructions and runs
npx @veezee/sdk init. npxresolves and downloads the attacker-controlled package version.- The malicious CLI or package code executes with the permissions of the invoking user.
Impact Assessment
Successful exploitation could execute arbitrary code with the invoking user's privileges. Depending on the environment and available permissions, this could expose local files, environment variables, credentials, API keys, and source code; alter user-owned files; make network requests; or install additional malicious components. The immediate scope is the user account or container runn ...[truncated 131 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin the CLI to a specifically reviewed version, for example
npx @veezee/sdk@<reviewed-version> init, rather than resolving the latest available release. - Commit a package manifest and lockfile where practical, and use deterministic installation such as
npm ci. - Verify package provenance, publisher identity, signatures or attestations, and registry integrity metadata before execution.
- Review the pinned package and its transitive dependencies, and use automated dependency and malware scanning.
- Run initialization in a restricted environment with minimal filesystem access, no unnecessary secrets, and limited network permissions.
- Document the expected package version and integrity hash so users can detect unexpected upstream changes.
- Pin the CLI to a specifically reviewed version, for example
