T09 · Insecure Skill Coding Practices
- Location
vendor/geeklink-lan-cli.js:3470- Finding
Gateway Credentials May Be Sent over Plaintext HTTP to an Unrestricted Destination
- Content
View full analysis
controller.abort(), timeoutMs); try { const response = await fetch(`${this.baseUrl}${API_BASE}${path}`, { method, headers, body: body !== void 0 ? JSON.stringify(body) : void 0, signal: controller.signal }); ``` ### Technical Analysis The gateway host is supplied through configuration or command-line input. If the host has no scheme, the code automatically prefixes it with `http://`. Explicit HTTP and HTTPS URLs are both accepted, and there is no check that the destination is a private, link-local, or otherwise approved LAN address. During authenticat ...[truncated 1957 chars]- Remediation
View remediation
