T08 · Insecure Dependencies
- Location
clawhub.json:7- Finding
Unpinned Third-Party Trading SDK Dependency
- Content
View full analysis
Vulnerability Details
File Location:
clawhub.json:7-9
Vulnerability Type: Supply-chain dependency risk
Risk Level: MediumVulnerable Code
json "pip": [ "simmer-sdk" ]Technical Analysis
The project declares
simmer-sdkwithout an exact version or integrity hash. Package installation can therefore resolve to a newer release than the one originally reviewed.The SDK executes in the same process as the trading skill and receives the high-value
SIMMER_API_KEY. It also provides the methods used for market discovery, account context retrieval, configuration loading, and trade submission. A compromised or malicious future release would consequently execute with access to the skill's environment and trading authority.No evidence indicates that the currently referenced package is malicious. The vulnerability is the absence of controls ensuring that deployments continue using a known, audited package artifact.
Attack Path
- An attacker compromises the upstream package publication account, distribution process, or package repository.
- The attacker publishes a malicious
simmer-sdkrelease. - A new installation resolves the unpinned dependency to that release.
- Python imports the malicious package when
trader.pyexecutes. - The package reads
SIMMER_API_KEY, manipulates SDK responses, submits unauthorized trades, or transmits account information externally.
Impact Assessment
Exploitation could expose the Simmer API credential and permit actions available to that credential. In live mode, this could include unauthorized Polymarket trades and financial loss. Malicious dependency code would also inherit the filesystem, network, and process privileges granted to the skill runtime.
- Remediation
View remediation
Remediation Suggestions
- Pin
simmer-sdkto an exact version that has been reviewed, such assimmer-sdk==X.Y.Z. - Use a lock file or hash-verified installation process, such as pip's
--require-hashes. - Obtain packages only from an approved repository and verify publisher and artifact provenance.
- Run dependency vulnerability and integrity checks in CI before deployment.
- Execute the skill with minimal filesystem and network permissions.
- Scope and rotate
SIMMER_API_KEYwhere supported, particularly after any suspected dependency compromise.
- Pin
