T08 · Insecure Dependencies
- Location
clawhub.json:6- Finding
Unpinned Third-Party Dependency
- Content
View full analysis
Vulnerability Details
File Location:
clawhub.json:6
Additional Location:SKILL.md:20-23
Vulnerability Type: Unpinned package dependency and supply-chain exposure
Risk Level: MediumVulnerable Code
clawhub.json:6:json "pip": ["simmer-sdk"]SKILL.md:20-23:bash pip install simmer-sdk export SIMMER_API_KEY="sk_live_..."Technical Analysis
The project installs
simmer-sdkwithout specifying an exact, reviewed version or verifying an integrity hash. Consequently, installations may resolve to different package versions over time. If the package distribution account, package registry, or a future release is compromised, package installation or subsequent import could execute attacker-controlled Python code.This risk is especially relevant because
research.pyimportsSimmerClientfrom the dependency and gives the resulting client the value ofSIMMER_API_KEY. The audited project itself contains no confirmed malicious behavior, but its dependency declaration does not guarantee that the code installed in the future will be the same code that was reviewed.Attack Path
- An attacker compromises the package publisher, package distribution process, or registry entry for
simmer-sdk. - The attacker publishes a malicious release under the same package name.
- A user or managed installer processes the unpinned dependency declaration or follows the documented
pip install simmer-sdkcommand. - The package manager retrieves the malicious release because no exact version or trusted hash is required.
- Attacker-controlled code runs during package installation or when
research.pyimports and uses the package. - The malicious dependency reads
SIMMER_API_KEY, manipulates research results, accesses other data available to the process, or executes commands under the user's account.
Impact Assessment
Successful exploitation could provide code execution with the privileges of the user installing o ...[truncated 556 chars]
- An attacker compromises the package publisher, package distribution process, or registry entry for
- Remediation
View remediation
Remediation Suggestions
-
Pin
simmer-sdkto an exact, reviewed version in the package metadata and installation documentation. -
Generate a dependency lockfile containing cryptographic hashes for the package and all transitive dependencies.
-
Install dependencies with hash verification, such as:
bash pip install --require-hashes -r requirements.txt -
Obtain packages only from an explicitly configured, trusted package index and document the expected publisher and source.
-
Review dependency updates before changing the pinned version, including source changes, release provenance, and transitive dependency changes.
-
Run the skill in a least-privileged environment with access only to the required API key and files.
-
Avoid exposing unrelated credentials to the process, and rotate
SIMMER_API_KEYimmediately if dependency compromise is suspected.
-
