T08 · Insecure Dependencies
- Location
SKILL.md:120- Finding
Unpinned Global Installation of a Privileged Third-Party CLI
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:120-126andSKILL.md:248
Vulnerability Type: Supply-chain exposure through an unpinned globally installed dependency
Risk Level: MediumVulnerable Code
bash npm install -g @maton/clibash brew install maton-ai/cli/matonThe installation commands are repeated in the dependency table at
SKILL.md:248.Technical Analysis
The Skill requires users or Agents to install the third-party Maton CLI globally without specifying an audited version or verifying a checksum, signature, lockfile, or package provenance.
A global npm installation can run package-controlled lifecycle scripts with the permissions of the invoking user. The Homebrew alternative similarly installs software from the third-party
maton-ai/clitap without a documented integrity-verification procedure. Because neither installation method pins immutable content, the effective executable can change after this Skill has been reviewed.The CLI is subsequently entrusted with the Maton API key, a Jira OAuth connection, and Jira response data. Consequently, compromise of the package publisher, registry account, distribution tap, or a later package release could place those credentials and data at risk.
Attack Path
- An attacker compromises the package publisher, registry account, Homebrew tap, or a future unpinned release.
- The attacker publishes a modified package or installation artifact under the expected package name.
- A user or Agent follows the Skill instructions and performs the global installation.
- Package installation hooks or the installed executable run attacker-controlled code with the invoking user's privileges.
- When the user authenticates or runs Jira commands, the compromised CLI can access the Maton API key, OAuth-mediated Jira access, returned Jira data, and local resources available to the user.
- The compromised component can exfiltrate c ...[truncated 898 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin the CLI to a specific audited version, such as
@maton/cli@<approved-version>. - Record and verify a cryptographic checksum or package signature before installation.
- Document the expected package publisher, registry, Homebrew tap, and service endpoints so users can verify provenance.
- Prefer a project-local installation with a committed lockfile instead of a global installation.
- Run the CLI in a restricted container or sandbox with only the files, environment variables, and network destinations required for Jira queries.
- Disable npm lifecycle scripts during installation where supported and compatible, then explicitly review any required installation behavior.
- Use short-lived, least-privileged credentials and narrowly scoped Jira OAuth permissions.
- Establish a dependency-update process that reviews new releases before changing the pinned version.
- Provide credential-rotation and connection-revocation instructions for suspected dependency compromise.
- Pin the CLI to a specific audited version, such as
