T08 · Insecure Dependencies
- Location
SKILL.md:13- Finding
Unpinned Executable Python Dependency
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 13–17
Vulnerability Type: Supply-chain risk from an unpinned third-party dependency
Risk Level: MediumVulnerable Code
markdown This skill requires **hologres-cli** to be installed first: ```bash pip install hologres-cli export HOLOGRES_SKILL=hologres-uv-computetext ### Technical Analysis The installation instruction resolves and installs the current release of `hologres-cli` from the Python package index configured in the user's environment. It does not pin a reviewed version, verify package hashes, specify a trusted package index, or otherwise validate provenance. Python packages may execute package-controlled code during installation or whenever their installed commands and modules are used. Consequently, the effective code executed by this prerequisite can change after the Skill has been reviewed. This creates exposure to package repository compromise, maintainer compromise, dependency confusion caused by index configuration, and malicious or unexpectedly unsafe future releases. The audit did not establish that `hologres-cli` is currently malicious. The confirmed issue is the unsafe, non-reproducible dependency installation practice. ### Attack Path 1. An attacker publishes or introduces a malicious version of `hologres-cli` through compromise of its distribution channel, maintainer account, or a higher-priority package index configured in the environment. 2. A user or agent follows the prerequisite and runs `pip install hologres-cli`. 3. `pip` resolves the attacker-controlled or compromised release because no exact version, hash, or trusted index is enforced. 4. Package-controlled code executes during installation or subsequent invocation of the Hologres CLI. 5. The malicious dependency operates with the privileges of the installing user or agent and may access resources available to that process. ### Impact Assessment Su ...[truncated 662 chars]- Remediation
View remediation
Remediation Suggestions
- Pin
hologres-clito an exact, reviewed version rather than installing the latest available release:bash python -m pip install "hologres-cli==REVIEWED_VERSION" - Distribute a hash-locked requirements file and require hash verification:
bash python -m pip install --require-hashes -r requirements.txt - Document and explicitly configure the authoritative trusted package index. Avoid relying on unspecified user-level or global index configuration.
- Verify package provenance and integrity before approving upgrades. Review release signatures, publisher identity, source repository, and transitive dependencies where available.
- Install and execute the CLI in an isolated virtual environment or container under a least-privileged account.
- Ensure database credentials supplied to the CLI have only the permissions needed for the documented table, extension, query, and refresh operations.
- Introduce a controlled dependency-update process that reruns security review and tests before changing the pinned version or hashes.
- Pin
