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 KEY=$(python3 -c "import json;print(json.load(open('$HOME/.cue/config.json'))['api_key'])" 2>/dev/null || echo "$CUE_API_KEY") echo "=== 跑前剩余积分 ===" && curl -sS --max-time 10 'https://cuecue.cn/api/v1/billing/subscriptions/current' -H "Authorization: Bearer $KEY" | python3 -c " import sys,json d=json.load(sys.stdin) or {} d=d.get('data',d) or {}
