T08 · Insecure Dependencies
- Location
scripts/main.py:8- Finding
Unpinned Third-Party Dependency Installation Guidance
- Content
View full analysis
The displayed message is an English translation of the localized source string. The installation command is unchanged. ### Technical Analysis When `psutil` is unavailable, the program directs the user to execute `pip install psutil` without specifying a reviewed version, a package hash, a lockfile, or an explicitly trusted package index. The skill does not automatically execute the installation command, and `psutil` is a legitimate dependency consistent with the declared process-management functionality. Nevertheless, the recommended command resolves whichever package release and index response are current at installation time. Consequently, the dependency code installed by a user can differ from the code that existed when the skill was audited. Exploitation would require a separate supply-chain event, such as compromise of the relevant package distribution account, package repository, index configuration, or selected package release. ### Attack Path 1. The environment does not have `psutil` installed. 2. The skill prints the unpinned `pip install psutil` instruction. 3. A user follows that instruction in an environment whose package index or selected release has been compromised or improperly configured. 4. `pip` downloads and installs package-controlled code without a verified version and hash. 5. The package's installation or import-time code executes with the privileges of the user running `pip` or the skill. ### Impact Assessment A compromised dependency could execute arbitrary Python code under the installing or invoking user's account. The accessible scope could include that user's files, environment variables, proc ...[truncated 308 chars]- Remediation
View remediation
