Scan Report
50 /100
fund-daily
自动生成基金日报,包含持仓基金数据、估值涨跌、单位净值和财经要闻
Skill performs multiple undeclared network requests and subprocess execution, with hardcoded credentials exposed in source code.
Use with caution
1) Declare network:READ and network:WRITE permissions for API calls; 2) Document subprocess usage in SKILL.md; 3) Move Telegram credentials to environment variables instead of hardcoding; 4) Pin dependency versions in requirements.txt
Findings 5 items
| Severity | Finding | Location |
|---|---|---|
| Medium | Undeclared network API access Doc Mismatch | fund_daily.py:155 |
| Medium | Undeclared subprocess execution Doc Mismatch | fund_daily.py:157 |
| Medium | Hardcoded Telegram credentials Credential Theft | fund_daily.py:85 |
| Low | Undeclared filesystem write operation Doc Mismatch | fund_daily.py:340 |
| Low | Unpinned Python dependencies Supply Chain | requirements.txt:1 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Network | NONE | READ+WRITE | ✗ Violation | fund_daily.py:155-163 (HTTP requests to fundgz.1234567.com.cn, api.fund.eastmone… |
| Shell | NONE | WRITE | ✗ Violation | fund_daily.py:155-163 (subprocess.run() executes python script) |
| Filesystem | NONE | WRITE | ✗ Violation | fund_daily.py:340-348 (creates directories and saves Word documents) |
| Skill Invoke | NONE | READ | ✗ Violation | fund_daily.py:155 (invokes news-market skill script) |
4 findings
Medium External URL 外部 URL
http://fundgz.1234567.com.cn/js/ fund_daily.py:155 Medium External URL 外部 URL
http://fund.eastmoney.com/ fund_daily.py:158 Medium External URL 外部 URL
http://api.fund.eastmoney.com/f10/lsjz fund_daily.py:216 Medium External URL 外部 URL
https://api.telegram.org/bot fund_daily.py:309 File Tree
4 files · 27.2 KB · 950 lines Python 1f · 581L
Markdown 2f · 367L
Text 1f · 2L
├─
fund_daily.py
Python
├─
README.md
Markdown
├─
requirements.txt
Text
└─
SKILL.md
Markdown
Dependencies 2 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
requests | * | pip | No | Version not pinned - risk of supply chain attack |
python-docx | * | pip | No | Version not pinned - risk of supply chain attack |
Security Positives
✓ No evidence of credential harvesting beyond required Telegram tokens
✓ No base64-encoded or obfuscated code detected
✓ No reverse shell or C2 communication patterns found
✓ No access to sensitive paths like ~/.ssh, ~/.aws, or .env files
✓ No hidden functionality beyond legitimate fund data fetching
✓ Subprocess usage serves documented feature (news aggregation) rather than malicious purpose