T08 · Insecure Dependencies
- Location
SKILL.md:292- Finding
Unpinned Third-Party Dependency Installation
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 292–296; related dependency guidance at lines 329–330 and 377
Vulnerability Type: Unpinned and mutable third-party dependencies
Risk Level: MediumThe skill instructs the Agent to install third-party Python packages without exact version constraints, integrity hashes, a lockfile, or an explicitly trusted package index.
bash 2. Install the professional-edition dependencies (optional, for advanced format conversion): pip install pyarrow pandasRelated dependency declarations specify only minimum versions:
text | pyarrow | Third-party library | Optional | `pip install pyarrow` | 10.0+ | | pandas | Third-party library | Optional | `pip install pandas` | 1.5+ |The troubleshooting guidance repeats the mutable installation command:
text | Parquet conversion fails | pyarrow is missing | `pip install pyarrow` | P2 |Technical Analysis
Running
pip install pyarrow pandasresolves package versions dynamically using the Python package indexes configured in the execution environment. The documentation does not pin reviewed versions, verify distribution hashes, provide a lockfile, or require a trusted index.Consequently, the code installed during one invocation may differ from the code installed during a later invocation. Exploitation would require compromise or manipulation of the configured package source, dependency resolution process, or a future package release. Python package installation can execute package build logic, while imported dependencies execute with the privileges of the Agent process.
No evidence was found that this skill intentionally uses a typosquatted package, malicious repository, remote script, or embedded payload. The risk arises from mutable supply-chain inputs rather than a confirmed malicious dependency.
Attack Path
- A user invokes the skill and requests functionality requiring
pyarrow...[truncated 1239 chars]
- A user invokes the skill and requests functionality requiring
- Remediation
View remediation
Remediation Suggestions
- Pin dependencies to exact, reviewed versions instead of allowing pip to select the latest release:
text pyarrow==REVIEWED_VERSION pandas==REVIEWED_VERSION - Generate a reviewed lockfile containing cryptographic hashes and install with hash verification:
bash python -m pip install --require-hashes -r requirements.lock - Configure pip to use an organization-approved package index or an internally controlled mirror.
- Prefer prebuilt, verified wheels and disable source builds where operationally feasible.
- Run dependency installation and CSV processing in an isolated environment with minimal filesystem, network, and credential access.
- Add automated dependency vulnerability and provenance checks to the release process.
- Keep the setup and troubleshooting examples consistent with the pinned, hash-verified installation procedure.
- Pin dependencies to exact, reviewed versions instead of allowing pip to select the latest release:
