IdeaCredIdeaCred

ThisAkshat/PHANTOM-AI-Cyber-Threat-Analyzer

48

PHANTOM is an AI-powered phishing detection system that analyzes emails, messages, and URLs using NLP, machine learning, and cyber-threat intelligence to identify scams in real time.

What's novel

PHANTOM is an AI-powered phishing detection system that analyzes emails, messages, and URLs using NLP, machine learning, and cyber-threat intelligence to identify scams in real time.

Code Analysis

15 files read · 4 rounds

A Streamlit app that fine-tunes BERT on 15 rows of phishing text, then combines the ML prediction with hardcoded keyword matching, WHOIS lookups, SSL checks, and brand-spoof heuristics to produce a phishing/safe verdict.

Strengths

The multi-layer decision pipeline concept (ML + domain age + SSL + brand spoof + ASN) mirrors how real security products think, and the brand_intel module with official domain mapping and suspicious TLD detection is the most substantive piece of logic.

Weaknesses

The training dataset is 15 rows (far too small for BERT fine-tuning), the AbuseIPDB API key is empty so IP reputation always returns 0, the OpenPhish feed is fetched but never used in the decision pipeline, there's a duplicate hard-block loop in predict.py, bare except clauses swallow all errors, and the 'test' is a single print statement with no assertions.

Score Breakdown

Innovation
5 (25%)
Craft
45 (35%)
Traction
6 (15%)
Scope
46 (25%)

Signal breakdown

Innovation

Not Fork+1
Code Novelty+1
Concept Novelty+2

Craft

Ci+0
Tests-1
Polish+0
Releases+0
Has License+0
Code Quality+12
Readme Quality+15
Recent Activity+7
Structure Quality+5
Commit Consistency+2
Has Dependency Mgmt+5

Traction

Forks+0
Stars+6
Hn Points+0
Watchers+0
Early Traction+0
Devto Reactions+0
Community Contribs+0

Scope

Commits+5
Languages+3
Subsystems+5
Bloat Penalty+0
Completeness+6
Contributors+5
Authored Files+8
Readme Code Match+3
Architecture Depth+3
Implementation Depth+8

Evidence

Commits

13

Contributors

1

Files

21

Active weeks

3

TestsCI/CDREADMELicenseContributing

Repository

Language

Python

Stars

2

Forks

0

License