T08 · Insecure Dependencies
- Location
README.md:23- Finding
Unpinned Third-Party CLI Execution During Installation
- Content
View full analysis
Vulnerability Details
File Location:
README.md, lines 23–25
Vulnerability Type: Unpinned third-party dependency execution
Risk Level: Mediumbash npx skills add dexhunter/seedance2-skillTechnical Analysis
The documented installation method invokes
npxto retrieve and execute the third-partyskillsCLI without specifying a package version or integrity hash. The effective code executed by this command is therefore mutable and cannot be fully assessed from the files included in this project.If the CLI package, its transitive dependencies, or the referenced skill package is compromised or changes unexpectedly, the installation command may execute attacker-controlled code. This behavior exceeds the minimum privileges required for a documentation-only prompt-writing skill because installation can involve executing external code rather than simply copying the reviewed
SKILL.mdfile.The audit did not establish that the current external package is malicious. The vulnerability is the unsafe, unpinned supply-chain trust model documented by the project.
Attack Path
- An attacker compromises the unpinned
skillspackage, one of its dependencies, its distribution account, or another mutable component resolved by the command. - A user follows the installation instructions and runs
npx skills add dexhunter/seedance2-skill. npxretrieves the currently resolved package version rather than a fixed, previously audited version.- Package initialization or CLI execution runs attacker-controlled code with the permissions of the invoking user.
- That code may access or modify resources available to the user, including project files, agent configuration, skill directories, environment variables, and user-owned credentials.
Impact Assessment
Successful exploitation could provide arbitrary code execution under the installing user’s account. The resulting scope is limited by that account’s ...[truncated 475 chars]
- An attacker compromises the unpinned
- Remediation
View remediation
Remediation Suggestions
- Pin the
skillsCLI to an explicitly reviewed version, for example by using an exact package version rather than the latest registry resolution. - Publish and verify a cryptographic integrity hash or signed release before execution.
- Document the expected package registry and package publisher so users can verify provenance.
- Audit and lock transitive dependencies where the package ecosystem supports lockfiles.
- Prefer a non-executable installation method that copies the reviewed
SKILL.mdinto the appropriate skill directory. - Correct the manual installation instructions so all referenced paths correspond to files actually included in the package.
- Advise users to inspect the resolved package and installation scripts before running the CLI, particularly in environments containing sensitive credentials.
- Run installation in a restricted environment with minimal filesystem access, no unnecessary secrets, and no elevated privileges.
- Pin the
