T09 · Insecure Skill Coding Practices
- Location
scripts/url-prototype-analyzer.sh:111- Finding
SSRF Protection Can Be Bypassed Through DNS Resolution and HTTP Redirects
- Content
View full analysis
"$output_file" 2>/dev/null; then log_info "网页内容已保存到: $output_file" return 0 else log_error "下载网页失败" log_error "请检查URL是否可访问,或是否需要认证" return 1 fi else log_info "使用缓存的网页内容: $output_file" return 0 fi } ``` The downloader is initialized with redirect following enabled: ```bash DOWNLOADER="curl -sL" ``` ### Technical Analysis The URL validator only compares the literal hostname against a regular expression. It does not resolve the hostname and inspect the resulting ...[truncated 2120 chars]- Remediation
View remediation
