Email Analyzer
The skill contains hardcoded credentials (email authorization code) in plaintext within source code and documentation, presenting significant credential exposure risk if the repository becomes public or is shared.
为什么得出这个结论
1/4 个维度触发声明资源与推断能力基本一致。
提取到 1 个一般风险产物,需要结合上下文判断。
报告包含 3 步攻击链,另有 2 项高危或严重发现。
依赖结构存在,但暂未看到明显高危告警。
攻击链
reconnaissance · SKILL.md:1
凭证访问 · email_analyzer.py:17
最终危害 · N/A
风险分是怎么被拉高的
Authorization code 'WUEw8qhBwjzpUAZW' hardcoded in email_analyzer.py CONFIG dict
Full authorization code documented in SKILL.md lines 18-19
No encryption or obfuscation of sensitive authentication data
最关键的证据
Hardcoded Email Authorization Code
The IMAP authorization code 'WUEw8qhBwjzpUAZW' for [email protected] is hardcoded in plaintext within email_analyzer.py CONFIG dictionary. If the repository is exposed or shared, this credential could be harvested.
email_analyzer.py:17 Credentials Exposed in Documentation
SKILL.md explicitly documents the full authorization code in the固化配置 table (lines 18-19), making it trivial to extract credentials from documentation alone.
SKILL.md:18 Email Content Access Without User Consent Flow
The view_email.py script fetches full RFC822 email content including body text. While documented, there's no user confirmation step before retrieving full email content.
view_email.py:1 Credentials Not Pinned in Dependencies
The imapclient library is used without explicit version pinning in requirements.txt (no requirements.txt found).
email_analyzer.py:6 声明能力 vs 实际能力
IMAPClient connects to imap.126.com for email access Writes JSON backup files and analysis reports Shell script wraps Python execution; all documented 可疑产物与外联
依赖与供应链
| 包名 | 版本 | 来源 | 漏洞 | 备注 |
|---|---|---|---|---|
| imapclient | unpinned | pip import | 否 | No requirements.txt or version constraint found |
文件构成
email_analyzer.py SKILL.md view_email.py