T09 · Insecure Skill Coding Practices
- Location
scripts/client.js:27- Finding
Authentication Credentials Can Be Sent to an Arbitrary HTTPS Host
- Content
View full analysis
{ const req = https.request(url, { method, headers }, (res) => { let data = ''; res.on('data', (chunk) => (data += chunk)); res.on('end', () => { if (res.statusCode >= 400) { return reject(new Error(normalizeError(res.statusCode, data))); } resolve(data ? JSON.parse(data) : {}); ...[truncated 2534 chars]- Remediation
View remediation
