扫描报告
5 /100
mx_macro_data
基于东方财富数据库,支持自然语言查询全球宏观经济数据的AI Skill
A legitimate macroeconomics data query tool that reads an API key from an environment variable, calls a single documented API endpoint, and writes output CSV/txt files to a declared directory. No shell execution, credential theft, data exfiltration, or obfuscation observed.
可以安装
No action needed. The skill operates within its declared scope.
安全发现 2 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 低危 | Placeholder API key literal in documentation 文档欺骗 | SKILL.md:154 |
| 低危 | Debug print statements may leak API key to stdout 敏感访问 | scripts/get_data.py:218 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 环境变量 | READ | READ | ✓ 一致 | get_data.py:47 EM_API_KEY = os.environ.get("EM_API_KEY", "") |
| 文件系统 | WRITE | WRITE | ✓ 一致 | get_data.py:157-158 output_dir.mkdir(parents=True, exist_ok=True); get_data.py:1… |
| 网络访问 | WRITE | WRITE | ✓ 一致 | get_data.py:225-229 httpx.AsyncClient POST to https://ai-saas.eastmoney.com |
1 高危 3 项发现
高危 API 密钥 疑似硬编码凭证
API_KEY="your_api_key_here" SKILL.md:154 中危 外部 URL 外部 URL
https://ai.eastmoney.com/mxClaw SKILL.md:29 中危 外部 URL 外部 URL
https://ai-saas.eastmoney.com scripts/get_data.py:71 目录结构
2 文件 · 32.4 KB · 780 行 Python 1f · 507L
Markdown 1f · 273L
├─
▾
scripts
│ └─
get_data.py
Python
└─
SKILL.md
Markdown
依赖分析 1 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
httpx | unpinned | pip | 否 | Listed in SKILL.md _meta.install but no version pin specified in requirements.txt or pip command |
安全亮点
✓ Uses only a single declared environment variable (EM_API_KEY) for authentication
✓ Calls a single, documented, named API endpoint (https://ai-saas.eastmoney.com/proxy/b/mcp/tool/searchMacroData)
✓ No shell execution or subprocess usage — pure Python library calls
✓ No credential theft — only reads the declared API key, does not enumerate environment variables
✓ No data exfiltration — all outbound traffic is to the legitimate API service
✓ No obfuscation — all code is clear and human-readable
✓ No sensitive file path access (no ~/.ssh, ~/.aws, .env scanning)
✓ No base64, eval, or dynamic code execution
✓ File writes are scoped to a declared output directory
✓ httpx dependency is explicitly declared in metadata