IdeaCredIdeaCred

spoorthinavale4-cmyk/phishguard-security-copilot

63

AI-powered phishing detection copilot, multi-layer URL analysis with ML, Google Safe Browsing & LLM-generated SOC explanations

What's novel

AI-powered phishing detection copilot, multi-layer URL analysis with ML, Google Safe Browsing & LLM-generated SOC explanations

Code Analysis

13 files read · 4 rounds

Extracts URLs from pasted email text, runs them through a rule-based + Random Forest ML pipeline with Google Safe Browsing override, and returns risk verdicts with LLM-generated SOC-style explanations via a FastAPI backend and React frontend.

Strengths

The multi-layer detection approach (trusted domains → brand impersonation → risky TLDs → ML model → Google Safe Browsing) is a reasonable defense-in-depth architecture, and the feature extractor performs real network I/O (SSL socket, WHOIS, DNS) rather than pure string matching. The training script is well-structured with stratified splits, class weighting, cross-validation, and feature importance reporting.

Weaknesses

12 of the 30 ML features are hardcoded to 0 at inference time (Favicon, Links_in_tags, SFH, Redirect, Iframe, etc.), creating a significant train/serve skew that undermines the model's reliability. There are zero tests, a hardcoded API key in check_models.py, broken dead-code files (pipeline_demo.py, risk_explainer.py), debug prints in production code, and duplicated domain lists across modules.

Score Breakdown

Innovation
4 (25%)
Craft
49 (35%)
Traction
6 (15%)
Scope
76 (25%)

Signal breakdown

Innovation

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

Craft

Ci+0
Tests+0
Polish+0
Releases+0
Has License+0
Code Quality+15
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+8
Languages+8
Subsystems+10
Bloat Penalty+0
Completeness+6
Contributors+5
Authored Files+12
Readme Code Match+3
Architecture Depth+7
Implementation Depth+8

Evidence

Commits

60

Contributors

1

Files

43

Active weeks

3

TestsCI/CDREADMELicenseContributing

Repository

Language

Python

Stars

1

Forks

0

License