T08 · Insecure Dependencies
- Location
SKILL.md:9- Finding
Unpinned Third-Party Dependency Creates a Supply-Chain Risk
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 9 and 57
Vulnerability Type: Unpinned third-party dependency
Risk Level: MediumVulnerable Code
yaml install: python: "uv pip install faster-whisper"bash # Install faster-whisper uv pip install faster-whisperTechnical Analysis
The installation instructions retrieve
faster-whisperwithout specifying an audited version, dependency lockfile, package hashes, or an explicitly trusted package index. Consequently, the installed package and its transitive dependencies can change without any corresponding modification to the reviewed skill.Although the audit found no evidence that
faster-whisperis currently malicious, this installation pattern provides insufficient protection against a compromised future release, compromised transitive dependency, package-index account takeover, or malicious package resolution from an untrusted configured index.Python package installation may execute build-system code when a source distribution must be built. Package-controlled code is also executed when the installed library is imported and used.
Attack Path
- An attacker compromises the specified package, one of its transitive dependencies, or a package source trusted by the user's package manager.
- The attacker publishes a malicious release that satisfies the unrestricted installation request.
- A user follows the documented
uv pip install faster-whisperinstruction. - The package manager resolves and installs the attacker-controlled release.
- Malicious code executes during package building, package import, or transcription.
- The payload acts with the privileges of the user running the installation or transcription process.
Impact Assessment
Successful exploitation could permit arbitrary code execution under the installing user's account. Depending on that account's access, the attacker could read local f ...[truncated 255 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin
faster-whisperto a specifically reviewed version rather than installing the latest available release. - Generate and distribute a dependency lockfile that pins all transitive dependencies.
- Require cryptographic hashes for downloaded packages, such as through a hash-verified requirements file.
- Explicitly configure an approved package index and disable unintended supplemental indexes.
- Prefer prebuilt, verified wheels where practical to reduce exposure to package build scripts.
- Document a controlled process for reviewing and updating dependency versions.
- Verify the provenance and integrity of automatically downloaded model artifacts.
- Install and run transcription inside a dedicated virtual environment with minimal filesystem and network permissions.
- Pin
