Scan Report
5 /100
industry_research_report
依托东方财富数据库,为指定行业生成深度研究报告
东方财富行业研究报告生成工具,功能声明与实际行为一致,无恶意行为。
Safe to install
可安全使用。建议:1) API Key 通过环境变量注入而非硬编码;2) 文档补充文件写入说明。
Findings 2 items
| Severity | Finding | Location |
|---|---|---|
| Low | 文档未声明文件写入能力 | SKILL.md:42 |
| Info | API Key 示例占位符 | SKILL.md:44 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Network | READ | READ | ✓ Aligned | SKILL.md:26 - 脚本调用接口获取数据 |
| Filesystem | NONE | WRITE | ✓ Aligned | scripts/get_data.py:69-72 - 将 base64 解码的 PDF/DOCX 写入本地目录 |
| Environment | READ | READ | ✓ Aligned | scripts/get_data.py:54 - 仅读取 EM_API_KEY 和 OUTPUT_DIR |
| Shell | NONE | NONE | — | 代码无 subprocess/shell 执行 |
1 High 2 findings
High API Key 疑似硬编码凭证
API_KEY="your_api_key_here" SKILL.md:44 Medium External URL 外部 URL
https://ai-saas.eastmoney.com/proxy/app-robo-advisor-api/assistant/write/industry/research scripts/get_data.py:75 File Tree
2 files · 14.0 KB · 345 lines Python 1f · 217L
Markdown 1f · 128L
├─
▾
scripts
│ └─
get_data.py
Python
└─
SKILL.md
Markdown
Dependencies 1 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
httpx | 未指定 | pip | No | 用于 HTTP 请求,功能正常 |
Security Positives
✓ 只与声明的 eastmoney.com 域名通信,无其他网络请求
✓ API Key 仅用于接口鉴权,未外传或泄露
✓ 无环境变量遍历、无凭证收割行为
✓ 无远程代码执行、无 base64|bash 管道
✓ 无访问 ~/.ssh、~/.aws、.env 等敏感路径
✓ httpx 依赖用于合法 HTTP 请求
✓ 代码结构清晰,错误处理完善