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.
Why this conclusion was reached
1/4 dimensions flaggedDeclared resources and inferred behavior are broadly aligned.
1 lower-risk artifacts were extracted and still need context.
The report includes 3 attack-chain steps and 2 severe findings.
Dependencies are present but no obvious high-risk issue stands out.
Attack Chain
reconnaissance · SKILL.md:1
Credential Access · email_analyzer.py:17
Impact · N/A
What drove the risk score up
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
Most important evidence
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 Declared capability vs actual capability
IMAPClient connects to imap.126.com for email access Writes JSON backup files and analysis reports Shell script wraps Python execution; all documented Suspicious artifacts and egress
Dependencies and supply chain
| Package | Version | Source | Known vuln | Notes |
|---|---|---|---|---|
| imapclient | unpinned | pip import | No | No requirements.txt or version constraint found |
File composition
email_analyzer.py SKILL.md view_email.py