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 geo) NAME=shumai_geo_report; ARGS='{}' ;; *) echo "用法: shumai.sh overview|alerts [high|warn|good]|geo" >&2; exit 2 ;; esac RESP=$(curl -sS --max-time 30 -X POST https://www.shumai.com.cn/mcp \ -H 'content-type: application/json' \ -H "Authorization: Bearer $SHUMAI_API_KEY" \ -d "{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"tools/call\",\"params\":{\"name\":\"$NAME\",\"arguments\":$ARGS}}")
