T08 · Insecure Dependencies
- Location
SKILL.md:5- Finding
Unpinned Third-Party CLI Dependency
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 5 and 14
Vulnerability Type: Supply-chain risk caused by a mutable dependency reference
Risk Level: MediumVulnerable Code
text metadata: {"clawdbot":{"emoji":"📣","requires":{"bins":["meta"]},"install":[{"id":"go","kind":"go","module":"github.com/bilalbayram/metacli/cmd/meta@latest","bins":["meta"],"label":"Install meta (go)"}]}}bash go install github.com/bilalbayram/metacli/cmd/meta@latestTechnical Analysis
The Skill directs users or agents to download, compile, and install an executable from a third-party GitHub repository using the mutable
@latestversion. The project does not pin the dependency to a reviewed version or immutable commit, vendor its source, specify an expected binary checksum, or otherwise establish the provenance of the executable installed in the future.This does not prove that the current upstream package is malicious. However, it creates an unsafe supply-chain boundary because the effective executable can change after this Skill has been reviewed. A malicious release, compromised maintainer account, or compromised upstream repository could therefore introduce arbitrary behavior without requiring any modification to the audited
SKILL.md.Attack Path
- An attacker compromises the upstream repository, a maintainer account, or its release process.
- The attacker publishes a modified version that resolves through
@latest. - A user or agent follows the Skill and runs the documented
go installcommand. - Go retrieves and compiles the attacker-controlled source and installs it as the local
metaexecutable. - The user invokes the executable for authentication or Meta account operations.
- The compromised executable can run with the user's local privileges and access credentials or API data supplied to it.
Impact Assessment
Successful exploitation permits arbitrary code executio ...[truncated 653 chars]
- Remediation
View remediation
Remediation Suggestions
- Replace
@latestwith a reviewed, explicitly pinned semantic version or, preferably, an immutable commit identifier. - Record and verify expected source or binary checksums before installation.
- Verify upstream release provenance, including signed tags or artifacts where available.
- Vendor the reviewed source or distribute a reproducibly built binary from a trusted internal artifact repository.
- Establish a controlled dependency-update process in which new versions are reviewed and tested before changing the pin.
- Run the CLI with least privilege and isolate its configuration and credentials from unrelated user files.
- Grant only the minimum Meta OAuth scopes required for the intended operation and rotate credentials if an installed version is later found to be compromised.
- Replace
