T09 · Insecure Skill Coding Practices
- Location
scripts/imagegen.py:91- Finding
Arbitrary API Base URL Can Expose the Bearer API Key
- Content
View full analysis
` header to every request made to the configured endpoint. An attacker who can influence a command, environment variable, or configuration file can therefore redirect authenticated requests to an attacker-controlled HTTP server. Plaintext HTTP is also accepted, allowing credentials and request data to be intercepted in transit. The implementation also relies on the HTTP client's default redirect behavior without explicitly ensuring that authen ...[truncated 1219 chars]- Remediation
View remediation
