T09 · Insecure Skill Coding Practices
- Location
minimax_token_plan_tool.js:291- Finding
Remote Image Fetching Is Vulnerable to SSRF Through DNS Rebinding and Incomplete IPv6 Filtering
- Content
View full analysis
5) { throw new Error('Too many redirects while fetching remote image'); } const url = await validateRemoteImageUrl(imageUrl); return new Promise((resolve, reject) => { const client = url.protocol === 'http:' ? http : https; const req = client.request(url, { method: 'GET', timeout: 15000, headers: { 'User-Agent': 'MiniMax-Token-Plan-Tool/1.0' } }, (res) => { ``` Successfully retrieved image data is subsequently transmitted to the MiniMax API: ```js const p ...[truncated 3063 chars]- Remediation
View remediation
