SubSleuth is a Chrome extension designed to analyze web links on a page, identifying potentially malicious links and subscription/unsubscription links. This work is currently in progress
- Link Analysis: Analyze links on the current webpage for malicious content.
- Subscription Links: Identify links related to subscriptions/unsubscriptions.
- The extension utilizes a background script (
background.js
) and a content script (content.js
) to interact with the browser. - Clicking on the extension icon triggers the analysis of links on the current webpage.
- Malicious links and subscription links are identified using a machine learning model in the
scanner.py
backend.
- Frontend: HTML, CSS, JavaScript
- Backend: Python, Flask
- Machine Learning: Scikit-learn, XGBoost
- Web Scraping: BeautifulSoup
- Chrome Extension APIs:
chrome.runtime
,chrome.tabs
,chrome.notifications
- Clone the repository:
git clone https://github.com/vampbrain/SubSleuth.git
- Load the extension in Chrome by navigating to
chrome://extensions/
, enabling "Developer mode," and selecting "Load unpacked."
- Click on the SubSleuth extension icon in the Chrome toolbar.
- Press the "Analyze Links" button to initiate link analysis.
- Malicious links and subscription links will be displayed in the extension popup.
- Service worker registration might fail due to restrictions on some websites.
Contributions are welcome! Please submit bug reports or feature requests via GitHub issues.
This project is licensed under the MIT License.
Happy sleuthing!