Context-Inappropriate Capability
High
- Confidence
- 99% confidence
- Finding
- The code explicitly sets `rejectUnauthorized: false` on the HTTPS agent, which disables TLS certificate validation for the `CreateModel` API call. This allows a man-in-the-middle attacker or malicious proxy on the network path to intercept or modify the request and response, including the bearer token and `ApiKey` being transmitted in this security-sensitive asset-creation workflow.
