PhishLens

Chrome extension · Gmail + Outlook · 8 languages · open source

See why an email is phishing.

PhishLens adds a verdict above every email in Gmail and Outlook: one score per check, the signals it found, and the words that weighed most. Click Scan, or let it check new mail on its own.

Install PhishLens checking the server
Two PhishLens banners above emails in Gmail. The first says the email looks like phishing, with scores for wording 97%, links 88% and sender 74%, chips for a Safe Browsing hit, a DMARC failure and a Spamhaus listing, and the words that drove the verdict. The second says the email looks safe because the sender is on the trusted list.
The banner PhishLens adds above an email (drawing of the real interface; try the same analysis below).

Results

90.2%

phishing caught by the whole system, in recent real emails95% confidence interval: 88.8% to 91.4%

0 of 117 real inbox emails flagged (at most 3.2%), 1 of 297 mailing-list emails · about 190 ms per email on the server · checked on real phishing in 6 of the 22 languages the text model reads

How it was measured

Measured on PhishLens Cloud on November 1, 2026 with the public benchmark: 1,804 of 2,000 recent phishing emails in several languages, drawn from those nobody looked at while tuning (95% confidence interval 88.8% to 91.4%), and 1 of 414 legitimate emails (297 from public mailing lists, 117 from real inboxes; 0.0% to 1.4%). The scan time is the median for a typical email (about 250 tokens); a short one takes about 65 ms. The mailing-list emails were used while tuning, and the phishing emails were measured again after the 2.0.12 changes, and the next run uses a fresh set. These figures give an order of magnitude and are not a guarantee. See how it was measured and the known limitations.

PhishLens Cloud, right now

loading the server's counters

Read from the server when the page loads. Counters reset when the server restarts.

What it checks

Real bank and university emails use the same words as phishing, so a text model on its own flags them. PhishLens checks the evidence before it decides.

  • WordingA multilingual model (mmBERT-small, distilled from a larger phishing detector) scores the text in 22 languages; LIME shows the words that pushed the verdict.
  • LinksEvery real link target, including the one behind "Click here", checked against Safe Browsing, PhishTank, URLhaus and Spamhaus.
  • SenderIn Gmail, SPF, DKIM and DMARC show who really sent it (Outlook gives the page only the visible text, so there the wording, links and name are checked). Forwarded mail does not borrow the forwarder's trust.
  • AttachmentsPDFs (scanned ones through OCR), QR codes, Office macros and remote templates, ZIP, RAR and 7z archives and calendar invites.
  • Real inboxesConversations, image-only mail and links to files shared on Drive, OneDrive or Dropbox.
The PhishLens popup after scanning an email: a phishing verdict, one score per check, threat-intelligence badges and the words behind the decision.
The popup, for files and pasted text.
Attachment results under an email: a scanned PDF invoice with a QR code flagged as phishing, a Word document with macros flagged as phishing, and a PDF marked safe.
Attachment results, shown under the email's attachments.

Features

  • Explainable verdictsA score per check, the signals found, and the words that pushed the text model, so you can judge for yourself.
  • Gmail and OutlookA Scan button next to the subject in Gmail and Outlook on the web; files and pasted text in the popup.
  • Automatic checksOptional: new mail is checked as it arrives, marked Safe or Phishing? in the list, with a notification.
  • Private by designNo account. Emails are analysed in memory and not stored; your history stays in your browser. Run your own server and no email leaves your computer.
  • Your own accuracyMark each verdict right or wrong and see how PhishLens performs on your real mail, with a CSV export.
  • Open and testedLicensed under the GNU AGPL-3.0, with a threat model, CodeQL and more than 1,000 automated tests run on every change.

How it works

  1. ReadThe text, the real link targets, the sender and, in Gmail, the full original headers.
  2. ScoreA multilingual model for the wording, a model and rules for the links, rules for the sender and where the links lead.
  3. VerifyAuthentication results and four threat-intelligence sources, before any verdict.
  4. ExplainA verdict, a score per check, the signals found and the words behind it, above the email.

Try it

This box uses the same server as the extension. Nothing is stored, but please use test emails, not private ones.

or Ctrl + Enter

The verdict, the score of each check and the words behind it appear here.

Why it exists

PhishLens began as our group's final-year project at Nile University of Nigeria. Of the topics we considered, we chose a phishing detector that explains its verdict instead of only flagging an email. When the course ended I kept it going on my own, and it is now an independent project, with no link to the university. In mid-October it still flagged 130 of the 297 legitimate mailing-list emails of its own benchmark; the fixes that brought that down to 1 are described step by step, and every run is published, good or bad.

AnzouK

Install

Add PhishLens from the Chrome Web Store, then choose a server. It takes about a minute.

1. The extension

  1. Open PhishLens on the Chrome Web Store and click Add to Chrome.
  2. Open an email in Gmail or Outlook on the web and click Scan with PhishLens next to the subject.

To install by hand instead, download PhishLens-extension-….zip from the latest release and unzip it, open chrome://extensions, turn on Developer mode and click Load unpacked on the unzipped folder.

2. A backend

  1. PhishLens Cloud (default): nothing to do.
  2. Your own, private: run it with Docker, then pick Local in the extension settings.
# the public English text model; PhishLens Cloud runs the multilingual one
huggingface-cli download AnzouKiona/phishlens-distilbert \
  --local-dir backend/model
cd backend && docker compose up --build

For Python without Docker, configuration and deployment, see the quickstart.

Install from the Chrome Web Store Download from GitHub