T08 · Insecure Dependencies
- Location
SKILL.md:139- Finding
Unpinned Third-Party Speech-to-Text Dependency
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 139-144
Vulnerability Type: Unpinned third-party dependency installation
Risk Level: MediumVulnerable Code:
bash python3 -m venv ~/.openclaw/venvs/stt-tools source ~/.openclaw/venvs/stt-tools/bin/activate pip install faster-whisperTechnical Analysis
The installation instructions retrieve and install the latest version of
faster-whisperand its transitive dependencies without version constraints or integrity hashes. Consequently, the effective code installed on a user's system can change after this Skill has been reviewed.Python package installation may execute package build or installation logic. The package is also subsequently imported by the supplied transcription example, providing another opportunity for compromised dependency code to execute. This is a supply-chain weakness; the audit found no evidence that
faster-whisperitself is currently malicious.Attack Path
- An attacker compromises the named package, one of its transitive dependencies, or an associated publishing account.
- The attacker publishes a malicious release that remains compatible with the unrestricted package specification.
- A user follows the Skill and runs
pip install faster-whisper. pipresolves and downloads the attacker-controlled release or dependency.- Malicious code executes during package installation or when the transcription script imports and uses the package.
Impact Assessment
Malicious dependency code would execute with the privileges of the user running
pipor the transcription process. It could access files available to that account, including OpenClaw configuration and locally stored credentials, alter user-owned files, execute additional processes, or communicate with external systems. The scope would normally be limited to the installing user's permissions unless installation is performed under an elevated ac ...[truncated 6 chars]- Remediation
View remediation
Remediation Suggestions
- Pin
faster-whisperand every transitive dependency to reviewed versions in a lock file. - Record and verify cryptographic hashes using a requirements file and
pip install --require-hashes -r requirements.txt. - Generate the lock file from a trusted package index and review dependency changes before updating it.
- Install dependencies in the documented isolated virtual environment under a non-privileged account.
- Avoid
sudo pipand other elevated installation methods. - Consider scanning locked packages and their artifacts with software-composition and malware-analysis tools before distribution.
- Pin
