T08 · Insecure Dependencies
- Location
SKILL.md:13- Finding
Unpinned Third-Party Package Installation
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 13–18
Vulnerability Type:T08: Insecure Dependencies
Risk Level: MediumComplete Code Snippet:
yaml install: - id: pip kind: pip package: flight-tracker-cli bins: ["flight-tracker"] label: "Install flight-tracker-cli (pip)"Technical Analysis
The skill instructs the framework to install
flight-tracker-clifrom PyPI without specifying an exact version or package hash. The project contains no lockfile or corresponding implementation source that would allow reviewers to verify the code ultimately installed and executed.Consequently, the reviewed artifact does not fully determine its runtime behavior. Package compromise, maintainer-account compromise, ownership transfer, or a malicious future release could cause installations to retrieve supplier-controlled code that differs from the version originally intended. This finding identifies an unsafe dependency-management practice; the available files do not establish that the current package release is malicious.
Attack Path
- An attacker compromises the package publisher or otherwise gains the ability to publish a release under the
flight-tracker-clipackage name. - The attacker publishes a malicious package version or modifies a future release.
- A user or automation framework installs this skill.
- Because no version or hash is pinned, pip resolves the attacker-controlled release.
- Malicious code runs through package installation behavior or when the installed
flight-trackerexecutable is invoked.
Impact Assessment
Successful exploitation could execute arbitrary code with the privileges of the account performing installation or running the CLI. Subject to those privileges, the compromised dependency could access readable files and environment variables, make unauthorized network requests, alter user-owned data, or execute additional proces ...[truncated 173 chars]
- An attacker compromises the package publisher or otherwise gains the ability to publish a release under the
- Remediation
View remediation
Remediation Suggestions
- Pin the dependency to a specific, reviewed version, such as
flight-tracker-cli==X.Y.Z. - Require a cryptographic hash for the approved distribution and install with hash verification.
- Maintain a lockfile or constraints file containing exact transitive dependency versions and hashes.
- Record and verify the package source, publisher, and source repository.
- Include or reference the source revision corresponding exactly to the approved package artifact so its runtime behavior can be audited.
- Review future upgrades before changing the pinned version, and use automated dependency and provenance scanning in the release process.
- Where practical, install the package in a least-privileged isolated environment.
- Pin the dependency to a specific, reviewed version, such as
