T09 · Insecure Skill Coding Practices
- Location
scripts/utils/validator.js:3- Finding
Server-Side Request Forgery Through Unrestricted Video URLs and Redirects
- Content
View full analysis
{ if (this.__isRequireRedirect(response)) { redirectCount++; if (redirectCount > this.__opts.maxRedirects) { const err = new Error("Too many redirects"); this.__setState(this.__states.FAILED); this.emit("error", err); return reject(err); } const redirectedURL = /^https?:\/\//.test(response.headers.locatio ...[truncated 2382 chars]- Remediation
View remediation
