T08 · Insecure Dependencies
- Location
SKILL.md:13- Finding
Unpinned Third-Party CLI Dependency
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 13–17
Vulnerability Type: Supply-chain risk from an unpinned executable dependency
Risk Level: MediumVulnerable Code
yaml install: - kind: brew formula: runapi-ai/tap/runapi bins: - runapiTechnical Analysis
The skill instructs the environment to install the
runapiexecutable from the third-party Homebrew taprunapi-ai/tapwithout specifying an immutable version, formula revision, checksum, signature, or source commit.The installed CLI occupies a security-sensitive position: subsequent instructions allow it to process authentication material, read local media paths, upload user content, submit potentially billable jobs, and download results. Because the dependency is mutable and lacks an integrity constraint, a compromise of the tap, formula, release artifact, or publisher account could cause later installations to execute code that differs from the version originally audited.
This is a supply-chain exposure rather than evidence that the current
runapipackage is malicious. The reviewed file contains no embedded malicious scripts, hardcoded credentials, persistence mechanism, or command that directly downloads remote content and pipes it into a shell.Attack Path
- An attacker compromises the third-party Homebrew tap, its release infrastructure, or an associated publisher account.
- The attacker modifies the mutable
runapiformula or referenced binary artifact. - An agent follows the skill metadata and installs
runapi-ai/tap/runapiwithout enforcing an audited version or artifact digest. - The substituted executable runs with the privileges of the invoking user.
- During normal skill use, the executable receives access to authentication state and local media selected for upload.
- The compromised executable could read accessible files, disclose credentials or media, alter requests, initiate unauthori ...[truncated 701 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin the CLI to a reviewed, explicit version rather than installing the latest mutable release.
- Pin the Homebrew formula or tap to an immutable source revision where the installation framework permits it.
- Verify the downloaded artifact using a publisher-provided cryptographic checksum or signature before execution.
- Document the expected package source, version, signing identity, and digest in the skill metadata or installation procedure.
- Require explicit user approval before installing or upgrading the executable.
- Run the CLI with least privilege and restrict its filesystem and environment access to the media and credentials required for the current task.
- Re-audit dependency updates before changing the pinned version, including verification of the formula and upstream release provenance.
