T09 · Insecure Skill Coding Practices
- Location
scripts/check_sensitive_words.py:177- Finding
Server-Side Request Forgery Through Unrestricted Webpage Extraction
- Content
View full analysis
100: text = extracted break except Exception: continue if not text: text = page.inner_text('body') browser.close() return text.strip() except Exception: pass response = _http_request(url, method="GET", timeout=30) if response["status_code"] >= 400: raise Exception(f"Webpage request failed: HTTP {response['status_code']}") soup = BeautifulSoup(response["body"], 'html.parser') ``` ### Technical Analysis The `--url` input is accepted as an arbitrary HTTP or ...[truncated 2413 chars]- Remediation
View remediation
