Lightweight Phishing Url Detection Using Rule-Based Feature Extraction in Python

Abstract Phishing is one of the most common online threats where fake websites trick users into sharing sensitive information like passwords or bank details. In this paper, we introduce a simple yet effective method to detect phishing websites by analyzing the structure of their URLs. Instead of using complex or heavy machine learning models, we use Python to create a lightweight system that checks for specific patterns in the URL—like if it’s unusually long, contains suspicious words (such as "secure" or "login"), uses special characters like '@', or even tries to hide its identity using shortened links or IP addresses. We extract these features and use a basic classifier (like Naive Bayes or Decision Tree) to decide if the link is safe or a potential phishing[1] attempt. Our technique performs well on publicly available datasets and requires very little system resources, making it suitable for small tools like browser extensions or email scanners. Overall, the goal of this project is to provide a fast, transparent, and easy-to-use solution that helps protect users online without needing advanced hardware or deep technical knowledge.

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2025-06-30
DOI
https://doi.org/10.5281/zenodo.17077403
Primary Topic
Geochemistry and Geologic Mapping
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Lightweight Phishing Url Detection Using Rule-Based Feature Extraction in Python

Zenodo (CERN European Organization for Nuclear Research)
Geochemistry and Geologic Mapping
article

Lightweight Phishing Url Detection Using Rule-Based Feature Extraction in Python

article en

Abstract

Abstract Phishing is one of the most common online threats where fake websites trick users into sharing sensitive information like passwords or bank details. In this paper, we introduce a simple yet effective method to detect phishing websites by analyzing the structure of their URLs. Instead of using complex or heavy machine learning models, we use Python to create a lightweight system that checks for specific patterns in the URL—like if it’s unusually long, contains suspicious words (such as "secure" or "login"), uses special characters like '@', or even tries to hide its identity using shortened links or IP addresses. We extract these features and use a basic classifier (like Naive Bayes or Decision Tree) to decide if the link is safe or a potential phishing[1] attempt. Our technique performs well on publicly available datasets and requires very little system resources, making it suitable for small tools like browser extensions or email scanners. Overall, the goal of this project is to provide a fast, transparent, and easy-to-use solution that helps protect users online without needing advanced hardware or deep technical knowledge.

Zenodo (CERN European Organization for Nuclear Research)
G.S. Science, Arts And Commerce College (IN)
Peace, Justice and strong institutions
Openalex Percentile: Top 48%
Geochemistry and Geologic Mapping
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Lightweight Phishing Url Detection Using Rule-Based Feature Extraction in Python · Zenodo (CERN European Organization for Nuclear Research) (2025) | TGRS Research Map | TGRS