T08 · Insecure Dependencies
- Location
SKILL.md:49- Finding
Unpinned Global Installation of a Third-Party CLI
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 49-52
Vulnerability Type:T08: Insecure Dependencies
Risk Level: MediumVulnerable Code Snippet:
bash # Install brew install tidyapp/tap/tidy-request # or: npm i -g @tidydotcom/cliTechnical Analysis
The Skill directs users to install the
tidy-requestexecutable globally from a third-party Homebrew tap or npm package without pinning a reviewed version or verifying a cryptographic signature or checksum.Consequently, the installed implementation is not fixed to the content reviewed in this Skill. A subsequent release, compromised publisher account, altered Homebrew formula, or compromised package-distribution channel could cause users to retrieve and execute different code while following the same instructions.
Global installation increases exposure because package installation logic and the resulting executable run with the privileges of the user performing the installation. The Skill subsequently expects this executable to access the
TIDY_API_TOKENenvironment variable or TIDY credential storage.Attack Path
- An attacker compromises the npm publisher, Homebrew tap, upstream package, or another relevant distribution component.
- The attacker publishes a malicious release under the expected package name.
- A user follows the Skill instructions without specifying a version.
- Homebrew or npm resolves and installs the attacker-controlled release.
- Installation hooks or the installed CLI execute with the installing user's privileges.
- The malicious dependency can read resources available to that user, including the TIDY token when the CLI is invoked, and transmit or misuse them.
Impact Assessment
Successful exploitation could provide code execution with the privileges of the user who installs or invokes the CLI. Depending on local permissions, this could expose the TIDY API token, property addresses, acces ...[truncated 280 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin the CLI to a specifically reviewed version rather than installing the latest available release.
- Publish and verify cryptographic checksums or signatures for the package and Homebrew artifacts.
- Document the authoritative package publisher and repository so users can verify provenance.
- Avoid global installation where practical; use an isolated environment or restricted package execution mechanism.
- Disable or review npm lifecycle scripts when the installation process permits it.
- Run the CLI under a dedicated, least-privileged account or sandbox with access only to required resources.
- Establish an update-review process before recommending newer dependency versions.
