T08 · Insecure Dependencies
- Location
install.sh:3- Finding
Unpinned and Unverified Third-Party Package Installation
- Content
View full analysis
Vulnerability Details
File Locations:
install.sh:3README.md:66SKILL.md:36
Vulnerability Type: Supply-chain exposure through an unpinned and unverified external dependency
Risk Level: MediumVulnerable Code Snippets
install.sh:3:bash pip install golden-seedREADME.md:66:bash pip install golden-seedSKILL.md:36:bash pip install golden-seedTechnical Analysis
The installation script and documentation direct users to install
golden-seedfrom the default Python package index without an exact version, package hash, lockfile, or other integrity control. The project does not include the dependency's implementation, so its behavior cannot be audited from the supplied files.Because the requirement is unpinned, package resolution can select a release published after this project was reviewed. Python packages may execute package-controlled build or installation logic, and their modules execute code when imported. Consequently, compromise of the upstream project, its publishing credentials, the package index, or the dependency-resolution path could introduce code that was not present during this audit.
This finding does not establish that the current
golden-seedpackage is malicious. It identifies an unsafe dependency installation mechanism whose effective code can change independently of the reviewed project.Attack Path
- An attacker compromises the upstream package, a maintainer account, or another relevant package distribution channel.
- The attacker publishes a malicious release under the package name resolved by
pip. - A user or agent executes
install.shor follows the installation command in the documentation. pipresolves the mutable package release without checking an audit-approved version and cryptographic hash.- Malicious code can run during package build or installation, or later when the documented
gq...[truncated 814 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin the dependency to an explicitly reviewed version rather than installing the latest available release:
text golden-seed==<reviewed-version> - Record cryptographic hashes in a requirements file and enforce them during installation:
bash python -m pip install --require-hashes -r requirements.txt - Generate and retain a lockfile or hash-pinned requirements file through a controlled dependency-review process.
- Install the package in a dedicated virtual environment and avoid running
pipas root or withsudo. - Audit the selected package artifact, including its build configuration, installation hooks, imported modules, and transitive dependencies.
- Prefer including or vendoring the minimal deterministic generator implementation when licensing and maintenance requirements permit, allowing the effective code to be reviewed with the skill.
- Update
install.sh,README.md, andSKILL.mdso every installation path uses the same pinned and hash-verified dependency specification.
- Pin the dependency to an explicitly reviewed version rather than installing the latest available release:
