扫描报告
25 /100
community-os
Simple Telegram Bot management with LLM and knowledge base
A legitimate Telegram bot management skill with minor security flaws (authentication bypass, unpinned dependencies) but no malicious behavior detected.
可以安装
Fix the require_auth() bypass in admin/app.py, pin dependency versions, and add SSRF protection for broadcast API endpoints before production use.
安全发现 5 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 高危 | Authentication Bypass | admin/app.py:278 |
| 中危 | Missing LLM Provider Modules | bot_engine/bot_instance.py:35 |
| 中危 | SSRF Risk in Broadcast Feature | bot_engine/bot_instance.py:223 |
| 低危 | Unpinned Dependencies | requirements.txt:1 |
| 低危 | Missing Harness Integration | bot_engine/bot_instance.py:23 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 文件系统 | WRITE | WRITE | ✓ 一致 | SKILL.md describes knowledge base upload and config management |
| 网络访问 | READ | READ | ✓ 一致 | Telegram API calls in admin/app.py, broadcast API fetch in bot_instance.py |
| 命令执行 | NONE | NONE | — | No subprocess, os.system, exec, or eval found |
| 环境变量 | READ | READ | ✓ 一致 | .env loading in admin/app.py:22-30 for API keys |
| 技能调用 | NONE | NONE | — | No skill invocation observed |
| 剪贴板 | NONE | NONE | — | No clipboard access |
| 浏览器 | NONE | NONE | — | No browser automation |
| 数据库 | READ | READ | ✓ 一致 | ChromaDB for vector search, JSON files for config storage |
5 项发现
中危 外部 URL 外部 URL
https://api.example.com/news admin/app.py:142 中危 外部 URL 外部 URL
https://feeds.example.com/web3 admin/app.py:164 中危 外部 URL 外部 URL
https://api.telegram.org/bot admin/app.py:463 中危 外部 URL 外部 URL
https://your-domain/api/telegram/webhook/ admin/app.py:1169 中危 外部 URL 外部 URL
https://api.example.com/v1 admin/lite.html:161 目录结构
11 文件 · 104.8 KB · 2577 行 Python 5f · 1818L
HTML 1f · 492L
JSON 2f · 139L
Markdown 2f · 121L
Text 1f · 7L
├─
▾
admin
│ ├─
app.py
Python
│ └─
lite.html
HTML
├─
▾
bot_engine
│ ├─
__init__.py
Python
│ ├─
bot_instance.py
Python
│ ├─
config_parser.py
Python
│ └─
manager.py
Python
├─
▾
config
│ └─
openclaw.json
JSON
├─
_meta.json
JSON
├─
README.md
Markdown
├─
requirements.txt
Text
└─
SKILL.md
Markdown
依赖分析 8 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
fastapi | 0.109.0 | pip | 否 | Pinned |
uvicorn | 0.27.0 | pip | 否 | Pinned with extras |
python-multipart | 0.0.6 | pip | 否 | Pinned |
requests | 2.31.0 | pip | 否 | Pinned |
pyyaml | 6.0.1 | pip | 否 | Pinned |
chromadb | 0.4.22 | pip | 否 | Pinned |
jinja2 | 3.1.3 | pip | 否 | Pinned |
httpx | * | imported | 否 | Used in app.py but not in requirements.txt - imported directly |
安全亮点
✓ No shell execution or command injection vectors found
✓ No base64 decode + exec patterns detected
✓ No credential exfiltration to external servers
✓ API keys stored in environment variables, not hardcoded
✓ File upload restricted to allowlisted extensions (.md, .txt, .pdf, .docx, .pptx, .xlsx, .csv, .pages)
✓ No access to sensitive paths like ~/.ssh or ~/.aws
✓ Session tokens use cryptographically secure secrets.token_urlsafe()
✓ No hidden functionality - behavior matches SKILL.md description