openInvest skill suite
合法的开源投资管理工具套件(invest + invest-backup + invest-setup),核心功能清晰,无恶意行为证据,存在轻微供应链风险
为什么得出这个结论
1/4 个维度触发声明资源与推断能力基本一致。
提取到 2 个高危 IOC 或外联信号。
没有形成明确的恶意路径。
发现 2 项需要关注的依赖或供应链线索。
风险分是怎么被拉高的
skills/invest/scripts/run.sh:26 使用 curl -LsSf https://astral.sh/uv/install.sh | sh,属于供应链风险但安装来源可信
后端通过 uvx openinvest 从 PyPI 拉取,无版本锁定,可能拉取到恶意更新
invest-backup 打包 .env(含 API 密钥),备份文件本身需妥善保管
调用 yfinance API 获取行情、LLM API 执行委员会分析,属于功能声明范围内
最关键的证据
uv 工具通过管道式安装
run.sh 第26行使用 curl -LsSf https://astral.sh/uv/install.sh | sh 安装 uv。虽然来源(astral.sh)可信,但管道式安装是已知风险模式
skills/invest/scripts/run.sh:26 PyPI 依赖无版本锁定
后端 openinvest 通过 uvx --from openinvest 拉取,未指定版本。OPENINVEST_SPEC 环境变量支持手动指定版本
skills/invest/scripts/run.sh:53 备份文件含敏感凭证
invest-backup 打包 .env(包含 DEEPSEEK_API_KEY、Gmail 密码等)进 zip 文件。备份文件需妥善保管
skills/invest-backup/scripts/run.sh:31 声明能力 vs 实际能力
skills/invest/scripts/run.sh:76 使用 uvx 执行后端命令 调用 yfinance API / LLM API 备份/恢复 memory/、db/、.env 读取 DEEPSEEK_API_KEY、INVEST_API_BASE 等 可疑产物与外联
rm -rf ~ skills/invest/README.md:77
curl -LsSf https://astral.sh/uv/install.sh | sh skills/invest/scripts/run.sh:26
https://docs.astral.sh/uv/ README.md:75
https://agentskills.io skills/invest/README.md:84
https://your-hub.example.com skills/invest/SKILL.md:189
http://10.0.0.x:8765 skills/invest/SKILL.md:189
http://127.0.0.1:8765/openapi.json skills/invest/SKILL.md:223
https://api.deepseek.com skills/invest/references/onboarding.md:74
https://platform.deepseek.com skills/invest/references/onboarding.md:112
https://myaccount.google.com/security skills/invest/references/onboarding.md:122
https://myaccount.google.com/apppasswords skills/invest/references/onboarding.md:123
https://myaccount.google.com/apppasswords. skills/invest/references/onboarding.md:186
依赖与供应链
| 包名 | 版本 | 来源 | 漏洞 | 备注 |
|---|---|---|---|---|
| openinvest | * | PyPI | 否 | 通过 uvx 拉取,无版本锁定 |
| uv | * | Astral | 否 | 通过 curl|sh 安装,属于环境依赖 |
文件构成
skills/invest/SKILL.md skills/invest/references/onboarding.md skills/invest-setup/SKILL.md skills/invest-backup/scripts/run.sh skills/invest/README.md