Why this conclusion was reached
1/4 dimensions flagged Pass Declared vs actual capability Declared resources and inferred behavior are broadly aligned.
Block Hidden execution and egress 2 high-risk artifacts or egress signals were extracted.
Pass Attack chain and severe findings There is no explicit malicious chain in the report.
Review Dependencies and supply chain hygiene 2 dependency or supply-chain issues need attention.
What drove the risk score up
curl|sh 管道式安装 uv +10
skills/invest/scripts/run.sh:26 使用 curl -LsSf https://astral.sh/uv/install.sh | sh,属于供应链风险但安装来源可信
依赖版本未锁定 +8
后端通过 uvx openinvest 从 PyPI 拉取,无版本锁定,可能拉取到恶意更新
涉及敏感数据备份 +5
invest-backup 打包 .env(含 API 密钥),备份文件本身需妥善保管
网络请求(合法) +2
调用 yfinance API 获取行情、LLM API 执行委员会分析,属于功能声明范围内
Most important evidence
Medium Supply Chain
uv 工具通过管道式安装
run.sh 第26行使用 curl -LsSf https://astral.sh/uv/install.sh | sh 安装 uv。虽然来源(astral.sh)可信,但管道式安装是已知风险模式
skills/invest/scripts/run.sh:26 建议使用官方包管理器安装 uv(如 pip install uv),或在文档中说明此为必需依赖
Low Supply Chain
PyPI 依赖无版本锁定
后端 openinvest 通过 uvx --from openinvest 拉取,未指定版本。OPENINVEST_SPEC 环境变量支持手动指定版本
skills/invest/scripts/run.sh:53 生产环境建议设置 OPENINVEST_SPEC='openinvest==0.20.2' 锁定版本
Low Supply Chain
备份文件含敏感凭证
invest-backup 打包 .env(包含 DEEPSEEK_API_KEY、Gmail 密码等)进 zip 文件。备份文件需妥善保管
skills/invest-backup/scripts/run.sh:31 建议添加 .gitignore 规则排除备份文件;用户应将备份文件存放在安全位置
Declared capability vs actual capability
Shell Pass
Declared WRITE
→ Inferred WRITE
skills/invest/scripts/run.sh:76 使用 uvx 执行后端命令 Network Pass
Declared READ
→ Inferred READ
调用 yfinance API / LLM API Filesystem Pass
Declared WRITE
→ Inferred WRITE
备份/恢复 memory/、db/、.env Environment Pass
Declared READ
→ Inferred READ
读取 DEEPSEEK_API_KEY、INVEST_API_BASE 等
Suspicious artifacts and egress
Critical Dangerous Command
rm -rf ~ skills/invest/README.md:77
Critical Dangerous Command
curl -LsSf https://astral.sh/uv/install.sh | sh skills/invest/scripts/run.sh:26
Medium External URL
https://docs.astral.sh/uv/ README.md:75
Medium External URL
https://agentskills.io skills/invest/README.md:84
Medium External URL
https://your-hub.example.com skills/invest/SKILL.md:189
Medium External URL
http://10.0.0.x:8765 skills/invest/SKILL.md:189
Medium External URL
http://127.0.0.1:8765/openapi.json skills/invest/SKILL.md:223
Medium External URL
https://api.deepseek.com skills/invest/references/onboarding.md:74
Medium External URL
https://platform.deepseek.com skills/invest/references/onboarding.md:112
Medium External URL
https://myaccount.google.com/security skills/invest/references/onboarding.md:122
Medium External URL
https://myaccount.google.com/apppasswords skills/invest/references/onboarding.md:123
Medium External URL
https://myaccount.google.com/apppasswords. skills/invest/references/onboarding.md:186
Dependencies and supply chain
| Package | Version | Source | Known vuln | Notes |
| openinvest | * | PyPI | No | 通过 uvx 拉取,无版本锁定 |
| uv | * | Astral | No | 通过 curl|sh 安装,属于环境依赖 |
File composition
24 files · 2455 lines Markdown 16 files · 2114 linesShell 2 files · 253 linesJSON 5 files · 88 lines
Files of concern · 5
skills/invest/SKILL.md Markdown · 325 lines
https://your-hub.example.com · http://10.0.0.x:8765 · http://127.0.0.1:8765/openapi.json
skills/invest/references/onboarding.md Markdown · 194 lines
https://api.deepseek.com · https://platform.deepseek.com · https://myaccount.google.com/security · https://myaccount.google.com/apppasswords · https://myaccount.google.com/apppasswords.
skills/invest-setup/SKILL.md Markdown · 197 lines
https://invest.example.com · http://10.0.0.6:8765
skills/invest-backup/scripts/run.sh Shell · 147 lines
备份文件含敏感凭证
skills/invest/README.md Markdown · 99 lines
rm -rf ~ · https://agentskills.io
Other files · logo.png · CHANGELOG.md · tools.md · committee-protocol.md · committee-protocol-hermes.md · two-paths.md +1
24 files · 169.0 KB · 2455 lines
Markdown 16f · 2114LShell 2f · 253LJSON 5f · 88L
├─
▾
📁
.claude-plugin
│ └─
📋
plugin.json
JSON
18L · 806 B
├─
▾
📁
.codex-plugin
│ └─
📋
plugin.json
JSON
35L · 1.7 KB
├─
▾
📁
assets
├─
▾
📁
skills
│ ├─
▾
📁
invest
│ │ ├─
▾
📁
references
│ │ │ ├─
📝
adding-assets.md
Markdown
107L · 4.2 KB
│ │ │ ├─
📝
committee-protocol-hermes.md
Markdown
181L · 8.7 KB
│ │ │ ├─
📝
committee-protocol.md
Markdown
211L · 9.0 KB
│ │ │ ├─
📝
onboarding.md
Markdown
194L · 10.8 KB
│ │ │ ├─
📝
tools.md
Markdown
98L · 11.6 KB
│ │ │ ├─
📝
troubleshooting.md
Markdown
85L · 3.6 KB
│ │ │ └─
📝
two-paths.md
Markdown
90L · 6.8 KB
│ │ ├─
▾
📁
scripts
│ │ │ └─
🔧
run.sh
Shell
106L · 4.2 KB
│ │ ├─
📝
CHANGELOG.md
Markdown
269L · 16.4 KB
│ │ ├─
📝
README.md
Markdown
99L · 4.3 KB
│ │ └─
📝
SKILL.md
Markdown
325L · 20.5 KB
│ ├─
▾
📁
invest-backup
│ │ ├─
▾
📁
scripts
│ │ │ └─
🔧
run.sh
Shell
147L · 5.0 KB
│ │ ├─
📝
CHANGELOG.md
Markdown
15L · 802 B
│ │ └─
📝
SKILL.md
Markdown
42L · 4.7 KB
│ └─
▾
📁
invest-setup
│ ├─
📝
CHANGELOG.md
Markdown
44L · 1.9 KB
│ ├─
📝
README.md
Markdown
65L · 2.4 KB
│ └─
📝
SKILL.md
Markdown
197L · 8.4 KB
├─
📋
.mcp.json
JSON
6L · 123 B
├─
📝
README.md
Markdown
92L · 4.2 KB
├─
📋
openclaw.plugin.json
JSON
17L · 550 B
└─
📋
package.json
JSON
12L · 438 B
Security positives
代码结构清晰,职责单一(invest 主逻辑、invest-backup 备份、invest-setup 初始化)
文档详尽,SKILL.md 完整声明了所有功能和权限
invest-backup 有防误覆盖机制(has_real_portfolio_data 检查)
使用 uvx 从 PyPI 拉取后端,减少本地代码量
支持 DeepSeek/Qwen/Zhipu 等多 LLM 提供商,用户可控密钥
无混淆代码、无可疑 API 调用模式