扫描报告
45 /100
research-archive-query
统一查询本地研究资料库,默认同时搜索 AlphaPai 归档和 knowledge_bases,支持精确检索、向量检索和混合检索
Skill is a legitimate research archive query tool but has a significant doc-to-code mismatch: SKILL.md does not declare that it uses shell:WRITE via subprocess to invoke external scripts, and it depends on unsandboxed external scripts outside its own codebase.
谨慎使用
Document the subprocess-based shell execution. Pin versions for any third-party imports. Add integrity verification for external script paths before execution.
安全发现 4 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 中危 | Undeclared subprocess/shell execution 文档欺骗 | scripts/unified_query.py:76 |
| 中危 | Dynamic import from external workspace scripts 供应链 | scripts/unified_query.py:29 |
| 中危 | Hardcoded external script paths with no integrity verification 文档欺骗 | scripts/registry.py:14 |
| 低危 | No dependency pinning 供应链 | scripts/unified_query.py:1 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 命令执行 | NONE | WRITE | ✗ 越权 | scripts/unified_query.py:29 - subprocess.run() |
| 命令执行 | NONE | WRITE | ✗ 越权 | scripts/registry.py:47 - subprocess via build_exact_command() |
| 命令执行 | NONE | WRITE | ✗ 越权 | scripts/publish_skill.py:58 - subprocess.run(clawhub) |
| 文件系统 | WRITE | WRITE | ✓ 一致 | scripts/unified_query.py:59 - Path.write_text() for reports |
目录结构
7 文件 · 27.8 KB · 849 行 Python 5f · 754L
Markdown 1f · 88L
YAML 1f · 7L
├─
▾
agents
│ └─
openai.yaml
YAML
├─
▾
scripts
│ ├─
adapter_template.py
Python
│ ├─
package_skill.py
Python
│ ├─
publish_skill.py
Python
│ ├─
registry.py
Python
│ └─
unified_query.py
Python
└─
SKILL.md
Markdown
安全亮点
✓ No credential harvesting or sensitive path access observed
✓ No base64 encoding, eval(), or obfuscation detected
✓ No curl|bash or wget|sh remote script execution
✓ No direct IP network requests or C2 communication
✓ No hidden instructions in HTML comments or documentation
✓ File writes are limited to a controlled output directory in ~/.openclaw/data/
✓ subprocess is used for legitimate CLI tool invocation (alphapai-scraper, kb_engine, clawhub)