惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

量子位
Recent Announcements
Recent Announcements
D
Docker
V
V2EX
阮一峰的网络日志
阮一峰的网络日志
Vercel News
Vercel News
Microsoft Security Blog
Microsoft Security Blog
The GitHub Blog
The GitHub Blog
U
Unit 42
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
月光博客
月光博客
腾讯CDC
B
Blog
博客园_首页
罗磊的独立博客
D
DataBreaches.Net
IT之家
IT之家
酷 壳 – CoolShell
酷 壳 – CoolShell
L
LangChain Blog
aimingoo的专栏
aimingoo的专栏
MongoDB | Blog
MongoDB | Blog
GbyAI
GbyAI
Stack Overflow Blog
Stack Overflow Blog
M
MIT News - Artificial intelligence

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - tommyjepsen/local-llm-phishing-guard-for-chrome:...
tommyjepsen · 2026-05-06 · via Hacker News: Show HN

PhishGuard

A Chrome extension that detects dangerous and phishing pages using a locally-run LLM — no data leaves your machine.

Supports Ollama and LM Studio (or any OpenAI-compatible local server).


Demo

PhishGuard Demo

Watch a demo on Youtube here: https://www.youtube.com/watch?v=eA5MTv1Dlts


How it works

  1. Click the extension icon → Scan Page
  2. The extension captures: URL + visible text + form inputs + page metadata + a screenshot
  3. Everything is sent to your local LLM
  4. The model returns a risk assessment — Safe, Suspicious, or Dangerous — with a list of red flags

Passive monitoring (optional): auto-analyzes every page you visit and injects a warning banner directly into the page if something looks dodgy.


Setup & Installation

Step 1 — Install a local LLM

PhishGuard requires a vision-capable model running locally. Pick one of the two options below.


Option A — Ollama (recommended, free & open source)

1. Install Ollama

Platform Instructions
macOS brew install ollama or download from ollama.com
Linux curl -fsSL https://ollama.com/install.sh | sh
Windows Download the installer from ollama.com

2. Pull the model

PhishGuard uses google/gemma-4-26b-a4b — a multimodal model that can analyse both text and screenshots.

ollama pull google/gemma-4-26b-a4b

The model is ~17 GB. A smaller alternative is gemma3:4b (~3 GB) if you're on limited hardware, though accuracy will be lower.

3. Start the server

ollama serve

Ollama runs at http://localhost:11434 by default. You can verify it's working:

curl http://localhost:11434/api/tags

On macOS, Ollama also runs automatically as a menu bar app after installation — no need to run ollama serve manually.


Option B — LM Studio

  1. Download LM Studio and install it
  2. Search for and download google/gemma-4-26b-a4b (or any vision-capable model)
  3. Go to Local Server → click Start Server (default: http://localhost:1234)

Step 2 — Load the extension in Chrome

  1. Open chrome://extensions
  2. Enable Developer mode (toggle in the top-right corner)
  3. Click Load unpacked
  4. Select this project directory

The PhishGuard icon will appear in your Chrome toolbar.


Step 3 — Configure the extension

Click the icon in the popup and set:

Setting Ollama LM Studio
Provider Ollama LM Studio / OpenAI
Local LLM URL http://localhost:11434 http://localhost:1234
Model google/gemma-4-26b-a4b google/gemma-4-26b-a4b
API Key (leave blank) Your LM Studio key (if auth is enabled)

Click Save, then try scanning a page.


Troubleshooting

"LLM error 404" or no response

  • Make sure ollama serve is running (or LM Studio's local server is started)
  • Check the URL in Settings matches where your server is running
  • Confirm the model name is spelled exactly right: ollama list

Slow analysis

  • First run after pulling the model is slowest (model loads into memory)
  • A GPU speeds things up significantly; CPU-only is supported but slower
  • Try a smaller model like gemma3:4b if speed is a concern

Extension not loading

  • Make sure Developer mode is enabled in chrome://extensions
  • Check the service worker console for errors: click "Service worker" link on the extension card

Architecture

popup.html / popup.js          ← User interface
       │
       │  chrome.runtime.sendMessage
       ▼
background.js (service worker) ← Orchestrator
  ├── chrome.tabs.captureVisibleTab()    → screenshot (base64 PNG)
  ├── chrome.scripting.executeScript()  → page text, inputs, links, iframes
  └── fetch(llmUrl)                     → LLM analysis
       │
       ▼
content.js                     ← Injects warning banner into the page
                                  Detects cross-origin form submissions

What the LLM analyzes

Signal Examples
URL patterns typosquatting, suspicious TLDs, IP addresses, excessive subdomains
Visual mimicry fake Google/Apple/bank login pages
Credential harvesting unexpected password/email forms
Fear tactics "your account will be suspended in 24h"
Technical signals hidden iframes, cross-origin form actions
Content quality poor grammar/spelling common in phishing

Risk levels

Level Meaning
✅ Safe No significant threats detected
⚠️ Suspicious Some concerning signals — proceed with caution
🚨 Dangerous High confidence this is malicious

License

MIT — see LICENSE