Scan Report
10 /100
kelly-formula-crypto
Kelly Formula 仓位管理器 - 凯利公式加密货币仓位计算工具
纯凯利公式计算工具,代码干净无恶意行为,但文档声称的 api_call 能力未在代码中实现。
Safe to install
可信任使用。建议修复文档中声明但未实现的 api_call 能力,或移除该声明以保持文档与代码一致。
Findings 1 items
| Severity | Finding | Location |
|---|---|---|
| Low | 声明的 api_call 能力未实现 Doc Mismatch | SKILL.md:32 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | NONE | NONE | — | 无文件系统操作 |
| Network | READ | NONE | ✗ Violation | SKILL.md:32 声明 api_call,但 scripts/kelly_calculator.py 完全没有网络请求 |
| Shell | NONE | NONE | — | 无 shell 执行 |
| Environment | NONE | NONE | — | 无环境变量访问 |
| Skill Invoke | NONE | NONE | — | 无技能调用 |
| Clipboard | NONE | NONE | — | 无剪贴板操作 |
| Browser | NONE | NONE | — | 无浏览器操作 |
| Database | NONE | NONE | — | 无数据库操作 |
7 findings
Medium External URL 外部 URL
https://img.shields.io/badge/License-MIT-yellow.svg README.md:10 Medium External URL 外部 URL
https://img.shields.io/badge/Python-3.8+-blue.svg README.md:11 Medium External URL 外部 URL
https://www.python.org/ README.md:11 Medium External URL 外部 URL
https://api.x402.dev/pay README.md:36 Medium Wallet Address 加密货币钱包地址
0x24b288c98421d7b447c2d6a6442538d01c5fce22 README.md:39 Medium External URL 外部 URL
https://x.com/KKaWSB/status/1968453490084299020 README.md:195 Medium External URL 外部 URL
https://kelly-formula-crypto.vercel.app/api/calculate SKILL.md:15 File Tree
4 files · 15.6 KB · 636 lines Markdown 2f · 403L
Python 1f · 232L
Text 1f · 1L
├─
▾
scripts
│ └─
kelly_calculator.py
Python
├─
README.md
Markdown
├─
requirements.txt
Text
└─
SKILL.md
Markdown
Dependencies 3 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
argparse | stdlib | Python | No | Python 标准库 |
json | stdlib | Python | No | Python 标准库 |
typing | stdlib | Python | No | Python 标准库 |
Security Positives
✓ 代码结构清晰,纯数学计算,无恶意逻辑
✓ 无网络请求,无数据外泄风险
✓ 无文件系统操作,无凭证访问
✓ 无 shell 执行,无代码注入风险
✓ 依赖仅 3 个标准库,无第三方依赖风险
✓ 使用类型注解,代码质量良好