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
bash # Kubernetes: Get CPU/memory utilization over 7 days from Prometheus curl -s "$PROMETHEUS_URL/api/v1/query_range" \ --data-urlencode 'query=avg(rate(container_cpu_usage_seconds_total{namespace="production",pod=~"api-.*"}[5m])) by (pod)' \ --data-urlencode "start=$(date -d '7 days ago' +%s)" \ --data-urlencode "end=$(date +%s)" \
