T09 · Insecure Skill Coding Practices
- Location
scripts/fetch_xhs_interview.py:31- Finding
Unvalidated image URLs and feed identifiers enable SSRF and arbitrary file writes
- Content
View full analysis
{output_path}") ``` ### Technical Analysis The script treats image URLs returned by the MCP service as trusted and passes them directly to `urllib.request.urlopen`. It does not restrict the URI scheme, destination hostname, resolved IP address, redirect destination, response type, or response size. Consequently, a compromised or malicious MCP response could direct the script to an attacker-controlled server or to services r ...[truncated 2375 chars]- Remediation
View remediation
