T08 · Insecure Dependencies
- Location
SKILL.md:9- Finding
Unpinned Third-Party CLI Dependency
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 9–12
Vulnerability Type: Unpinned third-party package installation
Risk Level: Mediumyaml install: - kind: node package: poink-cli bins: - poinkTechnical Analysis
The skill instructs the platform to install
poink-clifrom the Node.js package ecosystem without specifying an exact version or an integrity hash. Consequently, installation may resolve to package contents that differ from those originally reviewed. The referenced GitHub homepage does not cryptographically bind the installed registry artifact to a particular reviewed source revision.This creates a supply-chain trust risk: compromise of the package publisher account, registry package, release process, or a subsequently published package version could introduce malicious installation or runtime behavior. Package lifecycle scripts, if enabled by the installer, may execute during installation, while the installed
poinkexecutable runs when the skill uses it.Attack Path
- An attacker compromises the
poink-clipublishing account, release pipeline, or package distribution channel. - The attacker publishes a malicious version under the expected package name.
- A user or agent installs the skill after that version becomes the version selected by the package resolver.
- Because no exact version or integrity digest is declared, the installer retrieves the attacker-controlled release.
- Malicious package lifecycle code may execute during installation, or malicious logic may execute when the agent invokes
poink. - That code operates with the permissions of the account performing the installation or running the CLI.
Impact Assessment
Successful exploitation could allow arbitrary code execution with the privileges of the installing or invoking user. Within those privileges, a malicious release could access local documents processed by the skill, read user-accessible credentials and con ...[truncated 348 chars]
- An attacker compromises the
- Remediation
View remediation
Remediation Suggestions
- Pin
poink-clito an exact, reviewed version rather than allowing mutable version resolution. - Verify the package with a trusted integrity digest or lockfile and fail installation when verification does not match.
- Validate package provenance, publisher ownership, and the relationship between the registry artifact and the referenced source repository.
- Review the selected release and its transitive dependency tree before distribution.
- Disable package lifecycle scripts during installation where operationally feasible.
- Execute installation and the resulting CLI under a sandboxed, least-privileged account with access only to documents required for the task.
- Establish a controlled update process in which new versions are reviewed and integrity metadata is updated explicitly.
- Pin
