低风险 — 风险评分 15/100
上次扫描:2 天前 重新扫描
15 /100
mx_finance_data
基于东方财富数据库,支持自然语言查询金融数据,覆盖A港美、基金、债券等多种资产
Legitimate financial data query skill that reads from environment, calls East Money API, and writes Excel output files. No malicious behavior detected.
技能名称mx_finance_data
分析耗时28.1s
引擎pi
可以安装
Consider pinning dependency versions in SKILL.md for reproducibility. The hardcoded placeholder in docs (line 104) is cosmetic and not a security risk.

安全发现 2 项

严重性 安全发现 位置
低危
Dependency versions not pinned
The SKILL.md specifies dependencies with wildcard versions (httpx, pandas, openpyxl) which could lead to unexpected behavior if upstream packages change.
package: httpx pandas openpyxl
→ Pin specific versions, e.g., 'httpx>=0.24.0,<1.0.0 pandas>=1.5.0 openpyxl>=3.0.0'
SKILL.md:19
提示
API key placeholder in documentation
SKILL.md line 104 shows 'API_KEY="your_api_key_here"' as a user instruction placeholder. This is not actual hardcoded credentials, but could be confusing.
export EM_API_KEY="your_api_key_here"
→ Consider clarifying this is a placeholder users must replace
SKILL.md:104
资源类型声明权限推断权限状态证据
网络访问 READ READ ✓ 一致 scripts/get_data.py:296 - httpx POST to ai-saas.eastmoney.com
文件系统 WRITE WRITE ✓ 一致 scripts/get_data.py:330-350 - writes xlsx and txt output files
环境变量 READ READ ✓ 一致 scripts/get_data.py:67 - os.environ.get('EM_API_KEY')
1 高危 3 项发现
🔑
高危 API 密钥 疑似硬编码凭证
API_KEY="your_api_key_here"
SKILL.md:104
🔗
中危 外部 URL 外部 URL
https://ai.eastmoney.com/mxClaw
SKILL.md:27
🔗
中危 外部 URL 外部 URL
https://ai-saas.eastmoney.com/proxy/b/mcp/tool/searchData
scripts/get_data.py:73

目录结构

2 文件 · 28.8 KB · 773 行
Python 1f · 624L Markdown 1f · 149L
├─ 📁 scripts
│ └─ 🐍 get_data.py Python 624L · 24.0 KB
└─ 📝 SKILL.md Markdown 149L · 4.9 KB

依赖分析 3 项

包名版本来源已知漏洞备注
httpx * pip Version not pinned - recommend pinning for reproducibility
pandas * pip Version not pinned
openpyxl * pip Version not pinned

安全亮点

✓ No shell command execution (subprocess, os.system)
✓ No credential exfiltration or external data transmission
✓ No access to sensitive paths (~/.ssh, ~/.aws, .env files)
✓ No obfuscation techniques (base64, eval, atob)
✓ No hidden functionality or undocumented behavior
✓ API key only used for declared East Money API authentication
✓ Clear documentation of all permissions and data flows
✓ Proper error handling throughout the codebase