Scan Report
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.
Use with caution
Document the subprocess-based shell execution. Pin versions for any third-party imports. Add integrity verification for external script paths before execution.
Findings 4 items
| Severity | Finding | Location |
|---|---|---|
| Medium | Undeclared subprocess/shell execution Doc Mismatch | scripts/unified_query.py:76 |
| Medium | Dynamic import from external workspace scripts Supply Chain | scripts/unified_query.py:29 |
| Medium | Hardcoded external script paths with no integrity verification Doc Mismatch | scripts/registry.py:14 |
| Low | No dependency pinning Supply Chain | scripts/unified_query.py:1 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Shell | NONE | WRITE | ✗ Violation | scripts/unified_query.py:29 - subprocess.run() |
| Shell | NONE | WRITE | ✗ Violation | scripts/registry.py:47 - subprocess via build_exact_command() |
| Shell | NONE | WRITE | ✗ Violation | scripts/publish_skill.py:58 - subprocess.run(clawhub) |
| Filesystem | WRITE | WRITE | ✓ Aligned | scripts/unified_query.py:59 - Path.write_text() for reports |
File Tree
7 files · 27.8 KB · 849 lines 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
Security Positives
✓ 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)