Skip to content

mathushuthanans/cybersecurity-project-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛡️ Privacy Knight

A Chrome extension that monitors websites for login forms and privacy-related policies, giving you real-time insights into how your data might be handled.


📚 Index


🚀 Features

  • 🔐 Detects login forms across any website
  • 📜 Identifies links to privacy policies, terms of service, and other legal pages
  • 📡 Sends this data to a Go backend server for processing and analysis
  • 📊 Displays live stats inside a slick, popup-based UI
  • 🔄 Real-time updates using Chrome Extension Messaging API

🔧 How It Works

  1. Content Script scans every page you vist for:
    • Login forms (<input type="password">)
    • Privacy-related links (e.g., /privacy, /terms)
  2. Background Service Worker:
    • It queues and throttles the data from pages you visit
    • Sends it to the Go backend (/monitor)
    • Maintains extension state (active/paused)
  3. Go Backend (Gin + Colly):
    • removes duplicates entries using policy link hashes
    • Scrapes the text from linked policy pages encountered
    • Maintains a stack of the sites you’ve visited and scanned
  4. Popup UI:
    • Shows you how many login forms and policy links were found
    • Lets you toggle monitoring on or off
    • Displays the last URL you scanned for quick reference

📦 Tech Stack

Layer Technology
🧠 Extension Core JavaScript (Manifest V3)
🧼 UI HTML + CSS (Popup)
🔙 Backend Go (Gin + Colly)
📡 Messaging Chrome Extension APIs

🔧 Installation

📦 Prerequisites


🚀 1. Clone the Project

git clone https://github.com/mathushuthanans/shiny-barnacle.git

git clone https://github.com/mathushuthanans/cybersecurity-project-extension.git

cd shiny-barnacle

2. Install dependecies

go mod tidy

3. Run the backend

go run main.go

4. Web extension setup

1.Open Chrome and go to chrome://extensions/

2.Enable Developer mode (top-right toggle)

3.Click Load unpacked

4.Select the folder containing manifest.json

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •