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 echo "=== 1/3 API Key ===" && [ -f "$HOME/.cue/config.json" ] && echo "已配置" || echo "未配置!" echo "=== 2/3 Cue 服务 ===" && curl -sS --max-time 10 "https://cuecue.cn/api/health" echo "=== 3/3 搭子 ===" && curl -sS --max-time 10 "https://cuecue.cn/api/playbook" | python3 -c "import sys,json;data=json.load(sys.stdin).get('data',{});scenes=data.get('scenes',[]) if data else [];total=sum(len(s.get('buddies',[])) for s in scenes);print(f'可用:{total}个搭子') if scenes else print('暂不可用')"| 检查 | 预期 | 异常处理 |
