扫描报告
25 /100
claw-sergeant
Train autonomous OpenClaw AI agents through LLM-guided curriculum design and multi-turn dialogue evaluation
The skill is a legitimate AI agent training framework with a missing required dependency that would cause runtime failure, plus minor documentation hygiene issues.
可以安装
Fix the missing learning_logger.py file before deployment. The skill performs declared LLM-based training with CLI interaction for a documented purpose.
安全发现 2 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 中危 | Missing required module causes runtime failure 供应链 | main.py:15 |
| 低危 | Incomplete training insights file 文档欺骗 | .claw_sergeant_accumulated_lessons/TRAINING_INSIGHTS.md:4 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 文件系统 | WRITE | WRITE | ✓ 一致 | main.py:73 - writes training_results.json |
| 网络访问 | READ | READ | ✓ 一致 | llm_handler.py:72 - POSTs to LLM API endpoint |
| 命令执行 | WRITE | WRITE | ✓ 一致 | claw_agent.py:44 - executes openclaw CLI command |
| 环境变量 | READ | READ | ✓ 一致 | main.py:91-95 - reads LLM_API_KEY, CLAW_RECIPIENT |
4 项发现
中危 外部 URL 外部 URL
https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control .gitignore:107 中危 外部 URL 外部 URL
https://pdm-project.org/en/latest/usage/project/#working-with-version-control .gitignore:114 中危 外部 URL 外部 URL
https://abstra.io/docs .gitignore:181 中危 外部 URL 外部 URL
https://docs.cursor.com/context/ignore-files .gitignore:200 目录结构
14 文件 · 57.8 KB · 1739 行 Python 7f · 1330L
Ignore 1f · 213L
Markdown 5f · 193L
Text 1f · 3L
├─
▾
.claw_sergeant_accumulated_lessons
│ ├─
CURRICULUM_PATTERNS.md
Markdown
│ ├─
ERRORS.md
Markdown
│ └─
TRAINING_INSIGHTS.md
Markdown
├─
.gitignore
Ignore
├─
claw_agent.py
Python
├─
config.py
Python
├─
curriculum.py
Python
├─
llm_handler.py
Python
├─
main.py
Python
├─
README.md
Markdown
├─
requirements.txt
Text
├─
SKILL.md
Markdown
├─
test_phases.py
Python
└─
trainer.py
Python
依赖分析 4 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
httpx | >=0.27 | pip | 否 | Version specifier present |
loguru | >=0.7 | pip | 否 | Version specifier present |
python-dotenv | >=1.0 | pip | 否 | Version specifier present |
openclaw | unknown | external CLI | 否 | Must be installed separately - not a Python dependency |
安全亮点
✓ All core functionality (LLM API calls, CLI execution) is declared in SKILL.md
✓ No base64-encoded payloads or obfuscated code detected
✓ No network exfiltration or credential theft beyond necessary API authentication
✓ No suspicious file accesses (no ~/.ssh, ~/.aws, or .env file reading)
✓ Shell execution is limited to documented openclaw CLI tool
✓ Training results written only to declared local files
✓ httpx library used with proper timeout configuration (120s)