Client-Side Zero-Shot LLM Inference for Comprehensive In-Browser URL Analysis
Avihay Cohen

TL;DR
This paper introduces a client-side framework using in-browser large language models for comprehensive URL analysis, enabling privacy-preserving detection of malicious websites without cloud reliance.
Contribution
It presents a novel zero-shot, in-browser LLM-based system that combines static and dynamic webpage analysis for accurate URL threat classification.
Findings
High detection accuracy comparable to cloud solutions
Effective reasoning over rich webpage context
Preserves user privacy by operating locally
Abstract
Malicious websites and phishing URLs pose an ever-increasing cybersecurity risk, with phishing attacks growing by 40% in a single year. Traditional detection approaches rely on machine learning classifiers or rule-based scanners operating in the cloud, but these face significant challenges in generalization, privacy, and evasion by sophisticated threats. In this paper, we propose a novel client-side framework for comprehensive URL analysis that leverages zero-shot inference by a local large language model (LLM) running entirely in-browser. Our system uses a compact LLM (e.g., 3B/8B parameters) via WebLLM to perform reasoning over rich context collected from the target webpage, including static code analysis (JavaScript abstract syntax trees, structure, and code patterns), dynamic sandbox execution results (DOM changes, API calls, and network requests),and visible content. We detail the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSpam and Phishing Detection · Web Application Security Vulnerabilities · Cybercrime and Law Enforcement Studies
