T08 · Insecure Dependencies
- Location
SKILL.md:26- Finding
Unpinned Globally Installed CLI Dependency
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 26–30
Vulnerability Type: Supply-chain risk from an unpinned third-party executable
Risk Level: Mediummarkdown ## Installation ```bash npm install -g @kiipu/clitext ### Technical Analysis The skill directs users or AI agents to install the latest version of `@kiipu/cli` globally without specifying a reviewed version, lockfile, integrity hash, or signed provenance requirement. The package is then trusted to process authentication credentials, API keys, post content, and destructive post-management operations. Because npm resolves the version dynamically from the configured registry, the code installed during one invocation may differ from the code available when the skill was audited. The CLI implementation and its transitive dependencies are not included in this repository, so their installation hooks, network behavior, credential handling, and runtime actions could not be verified. There is no evidence in the audited files that `@kiipu/cli` is currently malicious. The vulnerability is the unsafe trust model: a compromised package release, maintainer account, registry, or dependency could introduce attacker-controlled installation or runtime code. ### Attack Path 1. A user or agent follows the skill instruction and runs `npm install -g @kiipu/cli`. 2. npm resolves the current package version and transitive dependencies from the configured registry. 3. A compromised release or dependency executes malicious installation hooks or runtime code with the invoking user's privileges. 4. The malicious code reads locally available Kiipu credentials, API keys, post content, or other data accessible to the user. 5. It may exfiltrate that information, alter Kiipu resources, execute unrelated local commands, or persist changes within locations writable by the user. ### Impact Assessment Successful exploitation could grant att ...[truncated 678 chars]- Remediation
View remediation
Remediation Suggestions
-
Pin the CLI to a specifically reviewed version:
bash npm install -g @kiipu/cli@<reviewed-version> -
Prefer a project-local, lockfile-controlled installation over a global installation:
bash npm install --save-exact @kiipu/cli@<reviewed-version> -
Commit and enforce an npm lockfile so the complete transitive dependency graph is reproducible.
-
Verify npm package integrity and provenance before installation, including publisher identity, registry origin, package signatures or attestations, and expected integrity hashes.
-
Audit the CLI package, lifecycle scripts, and transitive dependencies independently because their implementation is outside this repository.
-
Run the CLI with the minimum necessary operating-system and Kiipu permissions. Avoid exposing unrelated secrets through environment variables.
-
Establish a controlled update process in which new versions are reviewed and tested before the pinned version is changed.
-
