slzq-trading
三立期货官方量化交易技能,代码行为与声明一致,无恶意特征;安装脚本需shell:WRITE但已声明用途并有锁定机制。
Why this conclusion was reached
1/4 dimensions flagged2 undeclared or violating capabilities were inferred.
109 lower-risk artifacts were extracted and still need context.
There is no explicit malicious chain in the report.
4 dependency or supply-chain issues need attention.
What drove the risk score up
install/setup-clawhub.mjs使用spawnSync执行npm ci和openclaw mcp add,虽在文档MCP注册章节说明但未在frontmatter declared-tools中声明
runtime/mcp/src/index.ts写入~/.slzq-trading/credentials.json和~/.openclaw/openclaw.json,有原子写保护但路径未在文档声明
Most important evidence
安装脚本未在声明工具集中声明shell执行
setup-clawhub.mjs通过spawnSync执行npm ci安装依赖、openclaw mcp add注册MCP。这需要shell:WRITE权限但SKILL.md frontmatter的declared-tools未包含Bash/Write。文档在MCP注册章节有说明,属于部分声明。
install/setup-clawhub.mjs:42 package.json依赖未锁小版本
@modelcontextprotocol/sdk使用^1.29.0、zod使用^4.3.6,允许次版本更新,虽有package-lock.json固定但package.json本身非锁定。npm ci仍会使用lock文件,整体可接受。
runtime/mcp/package.json:22 凭证文件写入家目录
MCP将API密钥写入~/.slzq-trading/credentials.json(0600权限)和~/.openclaw/openclaw.json。原子写保护实现正确,但写入路径在文档中说明不足。
runtime/mcp/src/index.ts:88 资产文件含加密货币钱包地址
assets/kefu-qrcode.base64.txt中含加密货币钱包地址1cPzW7TNRXXg66oTg66KN6Kxrjz1p,base64编码存储。位于只读资产文件,非执行路径,实际风险低。
assets/kefu-qrcode.base64.txt:1 Declared capability vs actual capability
runtime/mcp/src/index.ts:88-115 写入~/.slzq-trading/credentials.json 所有请求仅发往 https://slzqapi.sxslqhsh.com install/setup-clawhub.mjs:42 spawnSync('npm',['ci']) runtime/mcp/src/index.ts 读取SLZQ_OPENCLAW_DOMAIN/API_KEY/ENV Suspicious artifacts and egress
https://slzqapi.sxslqhsh.com SKILL.md:44
https://www.sxslqh.com/ SKILL.md:139
https://work.weixin.qq.com/ca/cawcde585f7474b3f7 assets/README.md:5
1cPzW7TNRXXg66oTg66KN6Kxrjz1p assets/kefu-qrcode.base64.txt:1
https://slzqapi.sxslqhsh.com/mobile-api($ install/doctor.sh:55
https://slzqapi.sxslqhsh.com/mobile-api/static/page/openclaw-agreement references/api-auth.md:56
https://www.sxslqh.com/Introduction/26.html references/company-faq.md:15
https://www.sxslqh.com/, references/company-faq.md:72
https://slzqapi.sxslqhsh.com/mobile-api references/usage-notes.md:12
https://slzqapi.sxslqhsh.com),但结尾不要写 references/usage-notes.md:67
https://主机名/sanli references/usage-notes.md:174
https://clawhub.ai/upload references/usage-notes.md:372
Dependencies and supply chain
| Package | Version | Source | Known vuln | Notes |
|---|---|---|---|---|
| @modelcontextprotocol/sdk | ^1.29.0 | npm | No | 使用^允许次版本更新,有package-lock.json固定 |
| zod | ^4.3.6 | npm | No | 同^允许更新,有lock固定 |
| hono | 4.12.11 | npm | No | npm ci时使用lock固定版本 |
| express | 5.2.1 | npm | No | 间接依赖,lock固定 |
File composition
runtime/mcp/src/index.ts runtime/mcp/dist/index.js references/usage-notes.md runtime/mcp/package-lock.json references/company-faq.md references/api-auth.md