External Script Fetching
High
- Category
- Supply Chain
- Content
elif [ -n "${GH_TOKEN:-}" ]; then auth=(-H "Authorization: Bearer $GH_TOKEN") fi curl -fsSL "${auth[@]}" -H "Accept: application/vnd.github+json" "$API" | node -e ' const fs = require("node:fs"); const items = JSON.parse(fs.readFileSync(0, "utf8")); const candidates = items- Confidence
- 90% confidence
- Finding
- Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
