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 BASE="${ORACLE_X_URL:-http://localhost:8000}" JOB=$(curl -sf -X POST "$BASE/api/bist/radar/scan" \ -H 'Content-Type: application/json' -d '{}' | python3 -c 'import json,sys;print(json.load(sys.stdin)["job_id"])') curl -sf "$BASE/api/bist/radar/jobs/$JOB" # poll until status is done
