T08 · Insecure Dependencies
- Location
SKILL.md:40- Finding
Unpinned MediaPipe Python Dependency
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:40
Vulnerability Type: Unpinned third-party dependency installation
Risk Level: LowVulnerable Code
bash pip install mediapipeTechnical Analysis
The installation command does not pin
mediapipeto a reviewed version and does not verify the package with a cryptographic hash. Consequently, the installed artifact depends on the package registry state at installation time. A future compromised, malicious, or unexpectedly incompatible release could therefore be installed without further review.Exploitation requires control over or compromise of the legitimate package distribution channel, publisher account, dependency chain, or selected release. There is no evidence that the named package is currently malicious.
Attack Path
- An attacker compromises the package publisher, registry distribution path, or a transitive dependency.
- The attacker publishes a malicious release that satisfies the unbounded installation request.
- A user follows the Skill instruction and runs
pip install mediapipe. - pip downloads and installs the attacker-controlled artifact.
- Malicious installation or runtime behavior executes with the permissions of the user or environment performing the installation.
Impact Assessment
Successful exploitation could execute code with the invoking user's privileges. Depending on that user's access, the payload could read or modify project files, access environment variables and user-readable credentials, tamper with the Python environment, or affect applications importing the package. The instruction does not request elevated privileges, so it does not independently provide administrator or root access.
- Remediation
View remediation
Remediation Suggestions
- Pin the dependency to an explicitly reviewed version, for example
mediapipe==0.10.35. - Use a lockfile or fully hashed requirements file generated from reviewed artifacts.
- Install with hash verification, such as
pip install --require-hashes -r requirements.txt. - Configure an approved package index and prevent unintended fallback to untrusted registries.
- Run dependency vulnerability and provenance checks before updating the pinned version.
- Perform installation in an isolated virtual environment without elevated privileges.
- Pin the dependency to an explicitly reviewed version, for example
