T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:24- Finding
Mutable Quantitative-Trading Repository and Dependencies Are Retrieved and Executed Without Integrity Verification
- Content
View full analysis
- Remediation
View remediation
``` 2. Publish and verify signed release tags. 3. Provide an expected commit identifier and cryptographic checksum through a trusted channel. 4. Lock every Python dependency, including transitive dependencies, to reviewed versions. 5. Generate a hash-locked requirements file and install with: ```bash pip install --require-hashes -r requirements.lock ``` 6. Install into a dedicated virtual environment rather than the user's global Python environment. 7. Perform installation before exposing exchange credentials to the process. 8. Use exchange API keys restricted to required symbols and trading operations, with withdrawals disabled. 9. Default to testnet or paper trading; require explicit confirmation before enabling live trading. 10. Include the executable implementation in the audited artifact, or independently audit the exact pinned external release. ]]>
