External Script Fetching
- Category
- Supply Chain
- Confidence
- 90% confidence
- Finding
Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
- Content
sh if [ -z "$IP" ]; then # 获取本机公网 IP IP=$(curl -fsSL --max-time 15 "https://api.ip.sb/geoip" 2>/dev/null | python3 -c "import json,sys; print(json.load(sys.stdin).get('ip',''))" 2>/dev/null) || true [ -z "$IP" ] && { echo "获取本机 IP 失败,请检查网络,或直接指定: ip-lookup 8.8.8.8" >&2; exit 1; } LABEL="本机公网 IP" else
