Scan Report
15 /100
workswith-claw
智能家居中间件 - Home Assistant integration for semantic device control, habit learning, and smart automation
Workswith Claw is a legitimate smart home middleware that integrates with Home Assistant API. No malicious behavior detected; minor documentation gaps regarding optional LLM API calls.
Safe to install
This skill is safe to use. Consider documenting the optional LLM API integration in SKILL.md and removing hardcoded fallback URLs.
Findings 3 items
| Severity | Finding | Location |
|---|---|---|
| Low | LLM API integration not documented Doc Mismatch | src/services/llm_enhancer.py:14 |
| Low | Hardcoded example URLs in source code Doc Mismatch | src/api/routes/devices.py:15 |
| Low | CORS wildcard configuration Sensitive Access | src/main.py:29 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Network | READ | READ | ✓ Aligned | src/services/ha_client.py:63-72 |
| Filesystem | WRITE | WRITE | ✓ Aligned | src/api/routes/apply.py:99 - writes to ~/.homeassistant/automations/ |
| Environment | READ | READ | ✓ Aligned | src/services/ha_client.py:17-18 - reads HA_URL, HA_TOKEN |
| Database | WRITE | WRITE | ✓ Aligned | src/storage/database.py - local SQLite storage |
10 findings
Medium External URL 外部 URL
https://img.shields.io/github/stars/workswith/claw?style=flat README.md:5 Medium External URL 外部 URL
https://img.shields.io/github/license/workswith/claw README.md:6 Medium External URL 外部 URL
http://192.168.x.x:8123 README.md:103 Medium External URL 外部 URL
https://www.home-assistant.io/installation/raspberry-pi README.md:191 Medium External URL 外部 URL
https://www.home-assistant.io/ README.md:270 Medium External URL 外部 URL
http://192.168.1.x:8123 _meta.json:10 Medium External URL 外部 URL
http://192.168.31.27:8123 src/api/routes/apply.py:153 Medium External URL 外部 URL
http://homeassistant.local:8123 src/api/routes/intent.py:22 Medium External URL 外部 URL
https://api.minimax.chat/v1/text/chatcompletion_v2 src/services/llm_enhancer.py:103 Medium External URL 外部 URL
http://192.168.1.1:8123 tests/test_ha_client.py:52 File Tree
44 files · 146.0 KB · 4276 lines Python 37f · 2836L
HTML 1f · 818L
Markdown 2f · 469L
YAML 2f · 113L
Text 1f · 27L
JSON 1f · 13L
├─
▾
config
│ └─
scenes.yaml
YAML
├─
▾
src
│ ├─
▾
api
│ │ ├─
▾
routes
│ │ │ ├─
__init__.py
Python
│ │ │ ├─
apply.py
Python
│ │ │ ├─
dashboard.py
Python
│ │ │ ├─
devices.py
Python
│ │ │ ├─
health.py
Python
│ │ │ ├─
insights_v2.py
Python
│ │ │ ├─
insights.py
Python
│ │ │ ├─
intent.py
Python
│ │ │ ├─
scenes.py
Python
│ │ │ ├─
semantic.py
Python
│ │ │ └─
suggestions.py
Python
│ │ └─
__init__.py
Python
│ ├─
▾
core
│ │ ├─
__init__.py
Python
│ │ └─
auth.py
Python
│ ├─
▾
models
│ │ ├─
__init__.py
Python
│ │ ├─
habit.py
Python
│ │ ├─
intent.py
Python
│ │ └─
scene.py
Python
│ ├─
▾
services
│ │ ├─
__init__.py
Python
│ │ ├─
data_collector.py
Python
│ │ ├─
ha_client.py
Python
│ │ ├─
habit_analyzer.py
Python
│ │ ├─
intent_parser.py
Python
│ │ ├─
llm_enhancer.py
Python
│ │ ├─
openclaw_client.py
Python
│ │ ├─
scene_engine.py
Python
│ │ ├─
suggestion_engine.py
Python
│ │ └─
task_orchestrator.py
Python
│ ├─
▾
storage
│ │ ├─
__init__.py
Python
│ │ └─
database.py
Python
│ ├─
__init__.py
Python
│ └─
main.py
Python
├─
▾
static
│ └─
dashboard.html
HTML
├─
▾
tests
│ ├─
__init__.py
Python
│ ├─
test_ha_client.py
Python
│ ├─
test_habit_analyzer.py
Python
│ ├─
test_intent_parser.py
Python
│ └─
test_scene_engine.py
Python
├─
_meta.json
JSON
├─
docker-compose.yml
YAML
├─
README.md
Markdown
├─
requirements.txt
Text
└─
SKILL.md
Markdown
Dependencies 6 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
fastapi | 0.109.0 | pip | No | Version pinned |
uvicorn | 0.27.0 | pip | No | Version pinned |
aiohttp | 3.9.3 | pip | No | Version pinned |
aiosqlite | 0.19.0 | pip | No | Version pinned |
pydantic | 2.5.3 | pip | No | Version pinned |
pyyaml | 6.0.1 | pip | No | Version pinned |
Security Positives
✓ All dependencies have pinned versions in requirements.txt
✓ No obfuscated code (base64, eval, exec) found
✓ No credential harvesting beyond HA API token (which is user-configured)
✓ No reverse shell, C2, or data exfiltration patterns detected
✓ File writes are restricted to user-designated directories (~/.homeassistant/automations/)
✓ No supply chain vulnerabilities detected
✓ Core functionality (HA integration, local storage) properly documented in SKILL.md
✓ SQL injection protection via parameterized queries in database.py
✓ Singleton pattern used for HAClient to prevent credential duplication