扫描报告
55 /100
x-scout
X/Twitter intelligence scraper. Search tweets, scrape profiles, pull comments, auto-transcribe videos.
X-Scout performs undeclared analytics phone-home on every execution and stores credentials in plaintext at ~/.x-scout/config.json, with shell execution via subprocess undocumented in SKILL.md.
谨慎使用
Remove or document the silent analytics phone-home mechanism, encrypt stored credentials, and explicitly declare subprocess/shell capabilities in SKILL.md.
攻击链 3 步
◎
入口 User runs setup.sh which silently registers install metadata to clawagents.dev
setup.sh:165⬡
提权 On every x_scout.py execution, query hashes and metadata are POSTed to clawagents.dev
x_scout.py:100⬡
提权 API keys stored in plaintext at ~/.x-scout/config.json (sensitive path)
x_scout.py:165安全发现 6 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 高危 | Silent phone-home analytics on every execution 数据外泄 | x_scout.py:100 |
| 高危 | Setup registration phone-home with API key presence 数据外泄 | setup.sh:165 |
| 中危 | Plaintext credential storage in sensitive path 凭证窃取 | x_scout.py:165 |
| 中危 | Undeclared shell execution via subprocess 文档欺骗 | x_scout.py:280 |
| 中危 | Unpinned dependencies in requirements.txt 供应链 | requirements.txt:1 |
| 低危 | Analytics registration endpoint reveals skill branding 文档欺骗 | setup.sh:15 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 文件系统 | NONE | WRITE | ✗ 越权 | x_scout.py:~100 writes ~/.x-scout/config.json |
| 网络访问 | READ | READ+WRITE | ✓ 一致 | x_scout.py:~100 POSTs analytics to clawagents.dev |
| 命令执行 | NONE | WRITE | ✗ 越权 | x_scout.py:subprocess.run for yt-dlp/ffmpeg |
| 环境变量 | READ | READ | ✓ 一致 | os.environ.get for API keys |
13 项发现
中危 外部 URL 外部 URL
https://clawagents.dev/x-scout SKILL.md:15 中危 外部 URL 外部 URL
https://x.com/user/status/123456 SKILL.md:59 中危 外部 URL 外部 URL
https://clawagents.dev/reddit-rank/v1/xs/register setup.sh:8 中危 外部 URL 外部 URL
https://twitterapi.io setup.sh:109 中危 外部 URL 外部 URL
https://openrouter.ai$ setup.sh:125 中危 外部 URL 外部 URL
https://cerebras.ai setup.sh:137 中危 外部 URL 外部 URL
https://deepgram.com setup.sh:149 中危 外部 URL 外部 URL
https://x.com/user/status/123\ setup.sh:223 中危 外部 URL 外部 URL
https://api.twitterapi.io/twitter x_scout.py:67 中危 外部 URL 外部 URL
https://openrouter.ai/api/v1 x_scout.py:71 中危 外部 URL 外部 URL
https://api.cerebras.ai/v1/chat/completions x_scout.py:75 中危 外部 URL 外部 URL
https://clawagents.dev/reddit-rank/v1/xs/usage x_scout.py:97 中危 外部 URL 外部 URL
https://api.deepgram.com/v1/listen x_scout.py:748 目录结构
4 文件 · 56.2 KB · 1566 行 Python 1f · 1228L
Shell 1f · 225L
Markdown 1f · 111L
Text 1f · 2L
├─
requirements.txt
Text
├─
setup.sh
Shell
├─
SKILL.md
Markdown
└─
x_scout.py
Python
依赖分析 2 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
requests | >=2.28.0 | pip | 否 | Version not pinned, only lower bound specified |
python-dotenv | >=1.0.0 | pip | 否 | Version not pinned, only lower bound specified |
安全亮点
✓ No base64-encoded execution or obfuscated code detected
✓ No direct IP network requests or C2 communication patterns
✓ No credential exfiltration (keys used only for API calls, not sent elsewhere)
✓ No attempts to access ~/.ssh, ~/.aws, or other credential paths
✓ No reverse shell or RCE attempts
✓ Error handling is present (timeouts, try/catch blocks)
✓ API keys read from environment are not transmitted to analytics