CloFix Shield Extension

Chrome + Firefox (Mozilla) · MV3

Full security features

CloFix Shield browser extension - phishing, malware, trackers, privacy, file/picture guard, and more.

Same product surface on Google Chrome and Mozilla Firefox. Sign in with @gmail.com or @clofix.com, turn Protection ON, sync signed threat rules.

Chrome Load unpacked / zip Firefox Temporary / zip Version 1.7.12+ Protections 1-43 Rules signed threat-intel sync

Overview

What the extension does across both browsers.

Both

Network blocking

Declarative Net Request (DNR) blocks phishing, malware, ads/trackers, crypto miners, downloads, beacons from synced lists.

Both

Page guards

Content scripts scan links, forms, popups, clipboard, fingerprint noise, fake login heuristics, SVG/file open.

Both

Account + rules

Google login, trial/plan status in popup, Sync rules from license server every 6h + manual Sync.

Install - Chrome & Firefox

Unpacked for development; packed zip for distribution.

Chrome

Load unpacked

  • Open chrome://extensions
  • Enable Developer mode
  • Load unpacked → browser-extension/
  • Or install zip: dist/clofix-shield-chrome.zip
  • Pack: bash browser-extension/scripts/pack.sh
Firefox

Temporary add-on

  • Open about:debugging#/runtime/this-firefox
  • Load Temporary Add-on
  • Select dist/firefox/manifest.json
  • Zip: dist/clofix-shield-firefox.zip
  • Uses Firefox MV3 manifest (same feature set)

Protection stays off until Google sign-in. Popup shows CloFix Shield + trial remaining when status is trialing.

Protections 1-43

Options → Protections. Toggle each item. Default ON when Protect is active; Protect OFF allows all. States: full block, partial, or detection/warn.

# Feature State What it does How
1 Ad & Tracker Blocking Implemented Blocks ad/tracker hosts and known tracker networks. DNR + synced tracker_domains / analytics
2 Phishing Protection Implemented Blocks phishing domains; interstitial on navigation match. DNR + phishing_domains + content link scan
3 Malicious Website Blocking Implemented Blocks malware / C2 style hosts from admin lists. DNR + blocked_domains
4 Cross-site Tracking Partial Hardens third-party tracking via privacy APIs / cookie strip where available. Privacy settings + DNR helpers
5 Cryptojacking Protection Implemented Blocks known cryptomining script hosts. DNR + cryptomining_domains
6 Malicious Script Blocking Implemented Blocks known malicious script delivery hosts. DNR script resource types
7 Pop-up & Redirect Protection Partial Soft-blocks suspicious window.open / bad popup protocols; adds noopener. page-inject + page-guards
8 Dangerous Download Protection Implemented Blocks hosts known for malicious downloads. DNR + download_block_domains
9 Browser Fingerprint Protection Partial Best-effort canvas/WebGL noise when Protect ON. fingerprint.js
10 WebRTC IP Leak Protection Implemented Sets WebRTC IP handling policy to reduce local IP leaks. privacy.network API
11 Tracking URL Cleaner Partial Strips common tracking query params on navigations. DNR queryTransform
12 Malicious Form Protection Detection Warns / soft-blocks suspicious cross-domain form posts. page-guards submit hook
13 Fake Login Detection Detection Heuristics for brand lookalike login pages; toast warn. page-heuristics.js
14 Clickjacking Protection Detection Detects large invisible overlays / suspicious iframes. page-guards heuristics
15 Browser Notification Protection Partial Blocks spammy Notification permission patterns when Protect ON. MAIN world hook
16 Malvertising Protection Implemented Blocks known malvertising / shady ad hosts. DNR extra host lists
17 HTTPS Upgrade Implemented Upgrades http→https where DNR upgradeScheme applies. DNR (Firefox may vary)
18 Web Beacons Blocking Implemented Blocks beacon / pixel hosts; reduces hyperlink auditing where possible. DNR + privacy prefs
19 Suspicious Extension Monitoring Partial Lists installed extensions with risky permission hints. management API
20 Privacy Leak Protection Detection Warns when sensitive forms post toward tracker-like hosts. page-guards
21 Clipboard Hijack Detection Detection Detects crypto-address swap patterns on copy/paste. page-guards
22 Password Reuse & Leak Warning Detection Optional warn on password fields over plain HTTP. page-guards
23 File / Picture Guard Implemented If a pic/file embeds script, URL, or tracker - block open (no click-through). file-embed-guard + background scan + SVG park
24 Private Network Access Guard Implemented Blocks public pages from calling localhost / private IPs (fetch/XHR). page-inject MAIN hooks
25 OAuth Phishing Protection Detection Detects fake OAuth / consent pages that impersonate brands on untrusted hosts. First-party IdP sites (e.g. *.google.com incl. Gmail, Microsoft, Apple, GitHub) are trusted - no false toast on real login/consent pages. advanced-guards heuristics
26 Homograph Domain Protection Detection Punycode / mixed-script lookalike hostnames. advanced-guards
27 QR Code Phishing Protection Partial QR-labeled images/links checked against threat intel. advanced-guards + CHECK_URLS
28 Browser Permission Guard Implemented Blocks camera / mic / geolocation prompts when armed. page-inject
29 WebSocket Threat Protection Implemented Blocks WebSocket to private / localhost from public pages. page-inject
30 Service Worker Abuse Detection Detection Flags suspicious / cross-origin service workers. advanced-guards
31 Fake CAPTCHA Protection Detection Detects Win+R / PowerShell copy-paste CAPTCHA scams. advanced-guards
32 Fake Browser Update Protection Partial Fake update pages + suspicious installer downloads. advanced-guards
33 Banking Protection Mode Partial Stricter checks on bank-like pages (HTTPS / lookalike). advanced-guards + banking lookalike
34 Payment Redirect Protection Detection Warns on external payment / checkout destinations. advanced-guards
35 Sensitive Upload Protection Implemented Blocks uploads of keys / wallets / secrets by filename. advanced-guards
36 Image Metadata Protection Detection Warns when JPEG/TIFF uploads contain GPS/EXIF. advanced-guards
37 File Signature Verification Implemented Extension vs magic-byte mismatch on uploads. advanced-guards
38 SVG Threat Protection Implemented Inline SVG script scrub + SVG upload script block (pairs with #23). advanced-guards + #23
39 Browser Storage Risk Detection Detection localStorage keys that look like tokens/secrets. advanced-guards
40 Tabnabbing Protection Implemented Adds rel=noopener noreferrer on target=_blank. advanced-guards / page-heuristics
41 AI Scam Website Detection Detection Fake shopping / investment / giveaway copy heuristics. advanced-guards
42 Threat Intelligence Protection Implemented Applies synced malicious domain reputation rules. rules sync + matchThreat / DNR
43 Website Security Inspector Implemented Auto Inspect (Protect ON) + Deep Inspect (20 scanners: URL/links/images/JS/HTML/ads/trackers/phishing/malware/forms/downloads/redirects/iframes/CSS/QR/WebSocket/cookies/clipboard/risk). Live monitor, quarantine, evidence, export HTML/PDF, per-site trust, right-click element inspect. site-inspect.js + scanners.js + inspect-report

Extra lists & extras

Additional category toggles and helpers in Options.

Threat categories

  • Spam / scam domains
  • Ransomware
  • Spyware / stalkerware
  • Adult
  • Location tracing
  • Malicious IPs
  • Payment fraud
  • Scam URL keywords (EN/BN)

Also included

  • Inline mail/page link scan + CloFix badge
  • Allowlist hosts (user-managed)
  • Banking lookalike / typosquat (detection)
  • Tabnabbing rel=noopener harden
  • Blocked interstitial page
  • Popup: ON/OFF, indicators, per-site Blocked, Sync
  • Toolbar badge: per-tab site Blocked count (default blank / 0)

Account & popup

Google sign-in required for protection.

Login

  • @gmail.com or company @clofix.com
  • Same identity style as Android CloFix app
  • Logout clears session and turns protection off

Popup UI

  • Title: CloFix Shield
  • Circle: ON / OFF
  • Trial: remaining days/time under ON
  • Indicators (global rule size)
  • Blocked = this tab's site only (default 0); network blocks count toward the page host, not ad CDNs
  • Toolbar badge matches that per-site Blocked number and updates on tab switch
  • Options Overview shows Blocked (all) lifetime total
  • URL check, Sync rules (circle), Options

Rules sync

Chrome and Firefox both pull the same signed public pack.

Client pull (no admin login)

  • Endpoint: GET /v1/threat-intel/rules
  • Default base: https://shield.clofix.com
  • Auto sync ~ every 6 hours + startup
  • Manual: popup Sync rules
  • Gzip supported for large packs

Admin publish

  • Dashboard publishes rule packs
  • Machine publish: RULES_SYNC_TOKEN (no dashboard login)
  • Categories include phishing, malware, trackers, scam, adult, keywords…

#23 File / Picture Guard (detail)

Any pic/file open path - script, URL bind, or tracker inside → block.

Script

<script>, javascript:, onload, macros, shell markers.

URL

Embedded http(s)/data links in SVG, EXIF/polyglot, docs (xmlns skipped).

Tracker

GA, GTM, DoubleClick, FB pixel, Hotjar, threat-list tracker hosts.

Quick test

  • Local: cd browser-extension/test && python3 -m http.server 8765 → http://127.0.0.1:8765/file-embed-guard-demo.html
  • Online SVG XSS sample: netsec.expert/examples/stored-xss.svg
  • Expect CloFix blocked page - alert must not run

Limits & honesty

Browser extensions cannot do everything a VPN / OS firewall can.

  • List-based blocks depend on synced admin rules + built-in extras.
  • Detection-only items warn; they do not always hard-stop the action.
  • Fingerprint / cross-site / notification guards are best-effort (browser APIs vary).
  • File/picture scan is heuristic on a content sample - not full antivirus.
  • No HTTPS MITM / full TLS interception.
  • Other extensions or browser policies can conflict.

Key files

AreaPath
Background / DNR / syncbrowser-extension/background.js
DNR builderbrowser-extension/engines/network/dnr-builder.js
Inline link scanbrowser-extension/content.js
Page guardsbrowser-extension/engines/threats/page-guards.js
Advanced guards #24-43browser-extension/engines/threats/advanced-guards.js
File/picture guardbrowser-extension/engines/threats/file-embed-guard.js
Content bridge (port / bfcache)browser-extension/shared/content-bridge.js
Options UIbrowser-extension/chrome-options.html
Popupbrowser-extension/popup.html
Blocked interstitialbrowser-extension/blocked.html
Chrome manifestbrowser-extension/manifest.json
Firefox manifestbrowser-extension/manifest.firefox.json
Pack scriptbrowser-extension/scripts/pack.sh