T09 · Insecure Skill Coding Practices
- Location
scripts/video_gen.js:148- Finding
Unrestricted Local File Read and Upload Through Image Parameters
- Content
View full analysis
controller.abort(), 60_000); let res; try { res = await fetch(MODELS_BASE_URL + UPLOAD_API_PATH, { method: 'POST', headers: { Authorization: `Bearer ${apiKey}`, }, body: form, signal: controller.signal, }); } catch (err) { clearTimeout(timer); if (err.name === 'AbortError') { throw new Error(`Upload timeout: ${filePath}`); } throw err; } clearTimeout(timer); ...[truncated 4666 chars]- Remediation
View remediation
