T08 · Insecure Dependencies
- Location
SKILL.md:17- Finding
Unpinned Package Retrieval and Execution Through npx
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:17
Vulnerability Type: Unpinned third-party package execution
Risk Level: Mediumbash npx create-video@latest --yes --blank --no-tailwind my-videoTechnical Analysis
The setup command explicitly retrieves and executes the mutable
latestrelease ofcreate-video. Because the effective package contents can change after this Skill has been reviewed, subsequent users may execute code that was not included in the audited artifact.Package CLIs and installation lifecycle scripts execute with the invoking user's permissions. No exact version, lockfile, cryptographic digest, or provenance requirement is specified. This is a supply-chain weakness rather than evidence that the package is currently malicious.
Attack Path
- An attacker compromises the package registry account, publication pipeline, or a future
create-videorelease. - The compromised release becomes the package's
latestversion. - A user or agent follows the Skill and runs the documented command.
npxdownloads the mutable release and executes its CLI or lifecycle code.- The compromised code gains the same filesystem, network, and process privileges as the invoking user.
Impact Assessment
Successful exploitation could result in arbitrary code execution under the user's account. The accessible scope may include the current project, other user-readable or user-writable files, environment variables available to the process, and network resources reachable from the development environment. The command does not itself request elevated operating-system privileges.
- An attacker compromises the package registry account, publication pipeline, or a future
- Remediation
View remediation
Remediation Suggestions
- Replace
@latestwith an exact, reviewed package version. - Use a lockfile and a package manager mode that rejects unexpected lockfile changes.
- Verify package provenance or integrity through trusted registry metadata and published checksums where available.
- Require explicit user confirmation before downloading and executing a package not already present locally.
- Run project scaffolding in a restricted container or workspace without unnecessary secrets or access to sensitive directories.
- Establish a controlled upgrade process that reviews release notes and package changes before updating the pinned version.
- Replace
