扫描报告
35 /100
whale-alert-monitor
Cryptocurrency whale wallet alert monitoring assistant — tracks large transfers, exchange flows, and whale positions
Hardcoded billing API key exposed in source code; payment.py makes undeclared external network calls to skillpay.me that are not mentioned in SKILL.md; all scripts use mock/simulated data with no real blockchain APIs called.
谨慎使用
Remove hardcoded BILLING_API_KEY from payment.py and use os.getenv('SKILLPAY_API_KEY') instead. Add network:WRITE to declared capabilities. Consider whether payment.py is actually invoked at skill runtime, since scripts use mock data.
安全发现 6 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 高危 | Hardcoded billing API key in payment.py | payment.py:12 |
| 中危 | Undeclared external network calls in payment.py | payment.py:26 |
| 中危 | Silent payment enforcement on skill invocation | payment.py:88 |
| 低危 | Environment variable access not declared | whale_tracker.py:17 |
| 低危 | File write operations not declared | whale_tracker.py:231 |
| 提示 | All scripts use mock/simulated data | whale_tracker.py:67 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 网络访问 | READ | READ+WRITE | ✗ 越权 | payment.py:15 — requests.post to skillpay.me with API key |
| 环境变量 | NONE | READ | ✗ 越权 | whale_tracker.py:17 — os.getenv('ETHERSCAN_API_KEY'); alert_manager.py:105 — os.… |
| 文件系统 | NONE | READ+WRITE | ✗ 越权 | whale_tracker.py:231 — open(filename,'w'); monitor_daemon.py:44 — logging.FileHa… |
| 命令执行 | NONE | NONE | — | No subprocess or shell execution found |
1 高危 24 项发现
高危 API 密钥 疑似硬编码凭证
API_KEY = "sk_f03aa8f8bbcf79f7aa11c112d904780f22e62add1464e3c41a79600a451eb1d2" payment.py:12 中危 钱包地址 加密货币钱包地址
0x742d35Cc6634C0532925a3b8D4E6D3b6e8d3e8D3 SKILL.md:78 中危 钱包地址 加密货币钱包地址
0x3f5CE5FBFe3E9af3971dD833D26bA9b5C936f0bE SKILL.md:96 中危 钱包地址 加密货币钱包地址
0x71660c4005BA85c37ccec55d0C4493E66Fe775d3 SKILL.md:101 中危 外部 URL 外部 URL
https://skillpay.me payment.py:11 中危 外部 URL 外部 URL
https://api.etherscan.io/api references/api-configuration.md:8 中危 外部 URL 外部 URL
https://eth-mainnet.g.alchemy.com/v2/ references/api-configuration.md:54 中危 外部 URL 外部 URL
https://deep-index.moralis.io/api/v2/ references/api-configuration.md:89 中危 外部 URL 外部 URL
https://eth-mainnet.g.alchemy.com/v2/KEY references/api-configuration.md:112 中危 外部 URL 外部 URL
https://eth-mainnet.g.alchemy.com/v2/$ references/api-configuration.md:137 中危 外部 URL 外部 URL
https://etherscan.io references/api-configuration.md:138 中危 外部 URL 外部 URL
https://bsc-dataseed.binance.org references/api-configuration.md:142 中危 外部 URL 外部 URL
https://bscscan.com references/api-configuration.md:143 中危 外部 URL 外部 URL
https://arb-mainnet.g.alchemy.com/v2/$ references/api-configuration.md:147 中危 外部 URL 外部 URL
https://arbiscan.io references/api-configuration.md:148 中危 外部 URL 外部 URL
https://opt-mainnet.g.alchemy.com/v2/$ references/api-configuration.md:152 中危 外部 URL 外部 URL
https://optimistic.etherscan.io references/api-configuration.md:153 中危 钱包地址 加密货币钱包地址
0xdB3c617cDd2fBf0c8611C04A49d34C7B332e2BB6 references/wallet-labels.md:8 中危 钱包地址 加密货币钱包地址
0x5a52E96BAcdaBb82fd05763E25335261B270Efcb references/wallet-labels.md:9 中危 钱包地址 加密货币钱包地址
0x503828976D22510aad0201ac7EC88293211D23Da references/wallet-labels.md:15 中危 钱包地址 加密货币钱包地址
0x6b75d8AF000000e20B7a7DD000000090D0000000 references/wallet-labels.md:20 中危 钱包地址 加密货币钱包地址
0xf89d7b9c864f589bbF53f821d7EfC68c91d70958 references/wallet-labels.md:25 中危 钱包地址 加密货币钱包地址
0x2B6eD29a95753C3Ad948348e3e7b1A251039FBB9 references/wallet-labels.md:30 中危 外部 URL 外部 URL
https://api.telegram.org/bot scripts/alert_manager.py:149 目录结构
11 文件 · 74.5 KB · 2441 行 Python 7f · 1864L
Markdown 3f · 558L
JSON 1f · 19L
├─
▾
references
│ ├─
api-configuration.md
Markdown
│ └─
wallet-labels.md
Markdown
├─
▾
scripts
│ ├─
alert_manager.py
Python
│ ├─
exchange_flow.py
Python
│ ├─
holding_analyzer.py
Python
│ ├─
monitor_daemon.py
Python
│ ├─
transfer_monitor.py
Python
│ └─
whale_tracker.py
Python
├─
_meta.json
JSON
├─
payment.py
Python
└─
SKILL.md
Markdown
依赖分析 2 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
requests | * | pip | 否 | Version not pinned; used for billing and notification HTTP calls |
pyyaml | * | pip | 否 | Used for config loading in monitor_daemon.py |
安全亮点
✓ No subprocess, shell, or eval() execution found anywhere in the codebase
✓ No credential harvesting from ~/.ssh, ~/.aws, or other sensitive paths
✓ No base64-encoded payloads or obfuscated code
✓ No curl|bash or wget|sh remote script execution
✓ Notification channels (Telegram/Discord) use environment variables, not hardcoded tokens
✓ No hidden instructions in HTML comments or documentation
✓ Scripts are well-structured Python with clear logging