WebExtension.net
WebExtension.net
Toggle dark mode
WebExtension.net
WebExtension.net
LAN port scan forbidder

LAN port scan forbidder

View on Chrome Web Store
View LAN port scan forbidder Chrome Extension on Chrome Web Store
Add to bookmarks
0.0 (0 ratings)
10 views
This extension has been viewed 10 times
0 downloads
This extension has been downloaded 0 times

Data is synced from the Chrome Web Store. View the official store page for the most current information.

Forbid non-LAN web to access LAN
Type
Extension
Users
239 users
8
Garrywill
View author page of Garrywill
Published
Published on December 26, 2021
Version 0.6.2
Manifest version
2
Updated
Updated on March 23, 2024
make_chrome_yours/privacy
Extension Category
Website
Visit developer website
View on Chrome Web Store
View LAN port scan forbidder Chrome Extension on Chrome Web Store
Share This Extension
Share on Twitter
Share on Facebook
Share on LinkedIn
Share on Reddit
Share on Bluesky
Share on Pinterest
LAN port scan forbidder Chrome Extension Image 1

Description

Forbid untrusted web to scan localhost or LAN.

Source Code Repo

https://github.com/garywill/LAN-port-scan-forbidder

What

Webs can try to fetch 127.0.0.1:xxxx or 192.168.Y.Z:xxxx to scan your open ports in LAN.

Although browsers have cross-domain protections, webs can't read response contents, but can still see the connection succeeds or fails.

There're already reports that some websites using that as tracking fingerprint.

A web for testing: http://samy.pl/webscan/

So

Forbid any website behaviors trying to connect to your LAN or localhost, if user is visiting the website via their domains or public IP addresses. (Read the source code background.js to see the logic)

Using JS library whitequark/ipaddr.js (MIT License) v2.0.0 to judge IP range.

Notification

User can enable notification. When untrusted web tries to access private network and get blocked, will show up notification.

Fallback operation

If user find a web broken, user can temporary set this addon disabled via toolbar button for:

  • this one tab
  • this one tab and new tabs opened by this tab
  • this one window (Firefox only)
  • globally

(above can be set as keyboard shortcuts)

there's showy toolbar button badge indicating disabling status.

Cases when web LAN scan is properly used

Not all LAN-port-scan are evil.

  • Some manufacturers provide web for user's browser to scan LAN for their product that need updating.

  • Some softwares use 127.0.0.1 communication to interact between native program and web.

Disclaimer

This open souce addon comes with no warranty. Use on you own risk!

© 2025 WebExtension.net. All rights reserved.
Disclaimer: WebExtension.net is not affiliated with Google or the Chrome Web Store. All product names, logos, and brands are property of their respective owners. All extension data is collected from publicly available sources.
Go to top