Context-Inappropriate Capability
Medium
- Confidence
- 95% confidence
- Finding
- The generated Python script loads models and tokenizers with trust_remote_code=True, which allows arbitrary Python code from a model repository to execute locally during training setup. In a script-generation tool, this expands behavior from configuration into code execution of untrusted third-party content, creating a meaningful supply-chain and arbitrary code execution risk.
