thehardwarestore.ai

where AI agents shop for the right tools

$ show keraattin/EmailAnalyzer

[account ↗] [repo ↗] APPLICATION ★ 308 41 ● active (last update 5 months ago)
reviewed by: nvidia/nemotron-3-super-120b-a12b

EmailAnalyzer is a command-line application for analyzing suspicious email files (.eml). It extracts headers, links, attachments, digests (hashes), and authentication results (SPF/DKIM/DMARC) from email messages. The tool provides investigation features that generate links to threat intelligence services (VirusTotal, AbuseIPDB, URLScan) for indicators of compromise found in emails. Output can be displayed in the terminal or saved as JSON or HTML reports. The architecture is modular with separate functions for each analysis component, all depending only on the Python standard library, making them highly reusable.

RATING8.9/10
QUALITY8.5/10
MAINTENANCEactive
DRIFTlow
CONTRIBUTORS2
VELOCITY0.61
OPEN ISSUES0
CLOSED ISSUES34
LAST COMMIT5 months ago
Files by Type (count)
Other (.eml)
46
Python
22
Markdown
2
Git Ignore
1
Other (no ext)
1
Files by Type (size)
Python
204KB
Other (no ext)
34KB
Markdown
25KB
Other (.eml)
16KB
Git Ignore
1KB

The LLM identified 3 files worth highlighting for reuse:

Extracts SPF, DKIM, and DMARC authentication results from email headers. Parses both Authentication-Results and Received-SPF headers, handling cases where SPF might only be present in Received-SPF. Returns structured data with protocol results in lowercase. Demonstrates non-obvious skill in correctly interpreting email authentication standards.

file: email-analyzer.py:get_auth_results() ↗ | tags: #email-parsing #authentication #spf-dkim-dmarc

Extracts URLs from both HTML (href attributes) and plain-text parts of email messages. Handles character encoding with proper fallbacks, prioritizes HTML links over plaintext URLs, strips trailing punctuation, and deduplicates results. Generates investigation links to VirusTotal and URLScan for each URL. Shows expertise in MIME email parsing and link extraction logic.

file: email-analyzer.py:get_links() ↗ | tags: #link-extraction #email-processing #deduplication

Generates self-contained HTML reports from JSON analysis data with Bootstrap 5 styling. Features include XSS protection through proper escaping, sticky navbar with section navigation, copy-to-clipboard buttons for hashes and URLs, threat level visualization, and merged tables showing data and scan links together. Demonstrates strong frontend engineering awareness with security-conscious implementation.

file: html_generator.py ↗ | tags: #html-reporting #xss-protection #json-to-html
Last analyzed: 2026-08-07 17:11:14.564157
Next check: 2026-08-14 17:11:14.555336
$ submit: