https://github.com/spignelon/trustlink_cyberhackathon
TrustLink: Detect and safeguard against deceptive URLs. Real-time threat detection using browser extension and web application for enhanced online security.
https://github.com/spignelon/trustlink_cyberhackathon
delhi-police hackathon hackathon-project machine-learning malicious malicious-url-detection phishing-detection security security-tools transformers url-detection
Last synced: 9 days ago
JSON representation
TrustLink: Detect and safeguard against deceptive URLs. Real-time threat detection using browser extension and web application for enhanced online security.
- Host: GitHub
- URL: https://github.com/spignelon/trustlink_cyberhackathon
- Owner: spignelon
- License: gpl-3.0
- Archived: true
- Created: 2024-02-14T10:13:07.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-03T06:13:13.000Z (3 months ago)
- Last Synced: 2025-03-31T09:41:26.580Z (about 2 months ago)
- Topics: delhi-police, hackathon, hackathon-project, machine-learning, malicious, malicious-url-detection, phishing-detection, security, security-tools, transformers, url-detection
- Language: Python
- Homepage:
- Size: 1.27 MB
- Stars: 0
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TrustLink: Safeguarding Against Deceptive URLs
Welcome to TrustLink, a project developed during the Delhi Police Cyber Hackathon, aimed at enhancing online security by detecting and safeguarding against deceptive URLs. TrustLink leverages machine learning models, data analysis, and dynamic classification techniques to provide users with a reliable solution to identify and avoid malicious links, contributing to a safer online experience.
## Team Members
- [Ujjawal Saini](https://github.com/spignelon/)
- [Divyanshu Shukla](https://github.com/Divyanshushukla1)
- [Alorika Jain](https://github.com/BLACKACE13)
- [Dev Bhardwaj](https://github.com/DBhardwaj21)## Project Overview
TrustLink utilizes a combination of static and dynamic analysis to examine URLs for potential threats, categorizing them into labels such as phishing, malware, benign, or defacement. The project incorporates diverse data sources, including curated host lists and a pre-trained text classification model, to offer a robust defense against deceptive URLs.## Technology Stack
![]()
![]()
![]()
![]()
![]()
- **Flask:** Python-based web framework for developing the backend logic and the API of the TrustLink project.
- **Transformers Library:** Utilized for the ML model, providing a pre-trained text classification model for analyzing URLs.
- **Python:** Primary programming language for scripting and backend development.
- **Streamlit**: Utilized for the web application, allowing users to input URLs and receive classification results.
- **Tampermonkey Script:** A Tampermonkey script is provided for enabling real-time threat detection directly in the browser.## Workflow
1. **User Input:** Users input a URL into the TrustLink web application or Use Tampermonkey Chrome extension for automatic detection and blocking.
2. **Static Analysis:** Comparison against pre-loaded data from various host lists to identify patterns associated with malicious behavior.
3. **Dynamic Analysis:** Utilization of a pre-trained text classification model for dynamic analysis if the URL is not found in host lists.
4. **Classification Results:** Display of classification results on the webapp, including labels such as phishing, malware, benign, or defacement, along with corresponding scores.## How to Use TrustLink
1. Clone the repository.
2. Install the required dependencies using `requirements.txt`.
3. Run the Flask API (`flask_api.py`) to set up the backend logic for URL classification.
4. Run the Streamlit app (`streamlit_app.py`) to input a URL and view the classification results.
5. Optionally, install the Tampermonkey script in your browser to experience real-time threat detection.## Presentation
For a detailed overview of the TrustLink project, including its objectives, workflow, technology stack, and future aspects, please refer to the [Delhi Police Cyber Hackathon Project Presentation (PDF)](TrustLink_presentation.pdf).## Future Prospects
TrustLink aims to expand its capabilities in the following areas:
- Protection against Typosquatting attacks.
- Protections against IDN Homograph attacks.
- Enriching the machine learning dataset with additional features, such as comprehensive Whois information and the age of the website.## Acknowledgments
We extend our gratitude to the Delhi Police Cyber Hackathon for providing a platform to develop and showcase TrustLink, as well as to all organizations and individuals contributing to the project's datasets and resources.## License
[](https://www.gnu.org/licenses/gpl-3.0.en.html)
This project is licensed under the [GNU General Public License v3.0](LICENSE).