fund-daily
Skill performs multiple undeclared network requests and subprocess execution, with hardcoded credentials exposed in source code.
为什么得出这个结论
1/4 个维度触发发现 4 项声明之外的能力或越权行为。
提取到 4 个一般风险产物,需要结合上下文判断。
没有形成明确的恶意路径。
发现 2 项需要关注的依赖或供应链线索。
风险分是怎么被拉高的
Makes HTTP requests to fund APIs and Telegram API without declaring network:READ/WRITE in capabilities
Uses subprocess.run() to invoke news-market script without documentation
Telegram bot token and chat ID exposed in source code (lines 85-86)
Writes Word documents to D:\System\Desktop\基金日报 without declaring filesystem:WRITE
requirements.txt has no version pins, risking supply chain issues
最关键的证据
Undeclared network API access
SKILL.md declares no network permissions but the script makes HTTP GET requests to multiple external APIs (天天基金网, Telegram) to fetch fund data and send messages.
fund_daily.py:155 Undeclared subprocess execution
Script uses subprocess.run() to execute a local Python script for news aggregation without documenting this behavior. The target path is hardcoded to a specific Windows user directory.
fund_daily.py:157 Hardcoded Telegram credentials
Telegram bot token and chat ID are hardcoded directly in the source code. This exposes sensitive credentials and violates secure coding practices.
fund_daily.py:85 Undeclared filesystem write operation
Script writes Word documents to D:\System\Desktop\基金日报 without declaring filesystem:WRITE permission in SKILL.md.
fund_daily.py:340 Unpinned Python dependencies
requirements.txt specifies 'requests' and 'python-docx' without version constraints, potentially allowing malicious replacement if package is typosquatted.
requirements.txt:1 声明能力 vs 实际能力
fund_daily.py:155-163 (HTTP requests to fundgz.1234567.com.cn, api.fund.eastmoney.com, api.telegram.org) fund_daily.py:155-163 (subprocess.run() executes python script) fund_daily.py:340-348 (creates directories and saves Word documents) fund_daily.py:155 (invokes news-market skill script) 可疑产物与外联
http://fundgz.1234567.com.cn/js/ fund_daily.py:155
http://fund.eastmoney.com/ fund_daily.py:158
http://api.fund.eastmoney.com/f10/lsjz fund_daily.py:216
https://api.telegram.org/bot fund_daily.py:309
依赖与供应链
| 包名 | 版本 | 来源 | 漏洞 | 备注 |
|---|---|---|---|---|
| requests | * | pip | 否 | Version not pinned - risk of supply chain attack |
| python-docx | * | pip | 否 | Version not pinned - risk of supply chain attack |
文件构成
fund_daily.py requirements.txt