T08 · Insecure Dependencies
- Location
clawhub.json:3- Finding
Unpinned Third-Party Dependency Receives Unnecessary Access to a Wallet Private Key
- Content
View full analysis
SDK tab") sys.exit(1) venue = os.environ.get("TRADING_VENUE", "kalshi") _client = SimmerClient(api_key=api_key, venue=venue, live=live) return _client ``` ### Technical Analysis The project declares `simmer-sdk` without an exact version or integrity hash. Consequently, installation can resolve to a package release that differs from the version reviewed by an operator. The Skill also declares `SOLANA_PRIVATE_KEY` as a process-wide required environment variable, although `trader.py` never reads that variable directly. Any imported Python dependency executes in the same process and can access inherited environment variables through `os.environ`. Therefore, the unpinned SDK and its transitive dependencies receive ambient access to a high-value wallet credential beyond what the audited local implementation demonstrably requires. The direct transmission of `SIMMER_API_KEY` to `SimmerClient` is consistent with the declared authenticated trading function. No direct private-key collection or exfiltration was found in the three audited projec ...[truncated 1259 chars]- Remediation
View remediation
