Status | Badge |
---|---|
License | |
Release | |
Stars | |
Contributors | |
Issues | |
Pull Requests | |
Build Status | |
Code Size | |
Languages | |
Forks |
HackerAI is an open-source Chrome extension designed to improve online security by alerting users before they open potentially harmful links. It provides a lightweight solution to mitigate phishing attacks and suspicious links by prompting users for confirmation before they proceed.
Feature | Description |
---|---|
π Link Confirmation Dialog | Displays a confirmation dialog before opening any link, ensuring users are aware of their actions. |
π Support for Custom Links | Handles both standard HTML links (<a> tags) and custom attributes like data-link . |
π€ Beginner-Friendly | Designed for non-technical users to add an extra layer of security. |
β‘ Lightweight and Efficient | Minimal performance impact while providing essential protection. |
π Open-Source | Fully transparent codebase, open to contributions and community collaboration. |
Follow these steps to install the extension locally:
- π₯οΈ Clone the repository:
git clone https://github.com/JustSouichi/hackerai.git
- π Go to the Chrome Extensions page:
Open
chrome://extensions/
in your browser. - π οΈ Enable Developer Mode: Toggle the Developer mode in the top-right corner.
- π Load the extension: Click Load unpacked and select the folder containing the project files.
- β Done: The extension is now active and ready to use!
HackerAI injects a content.js
script into all web pages. This script intercepts clicks on links and displays a confirmation dialog, allowing the user to decide whether to proceed or cancel.
- A user clicks on a link.
β οΈ A dialog appears:Do you really want to open this link? https://example.com
- π’ The user can choose to proceed or π cancel.
Defines the extensionβs metadata and permissions:
{
"manifest_version": 3,
"name": "HackerAI - Link Confirmation",
"version": "1.0",
"description": "Prompts confirmation before opening a link.",
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": ["content.js"]
}
]
}
Handles link interception and confirmation prompts:
document.body.addEventListener('click', function (event) {
let target = event.target;
while (target && target !== document.body) {
if (target.tagName === 'A' && target.href) {
event.preventDefault();
const confirmed = confirm(`Do you really want to open this link?
${target.href}`);
if (confirmed) {
window.location.href = target.href;
}
return;
} else if (target.getAttribute && target.getAttribute('data-link')) {
event.preventDefault();
const link = target.getAttribute('data-link');
const confirmed = confirm(`Do you really want to open this link?
${link}`);
if (confirmed) {
window.location.href = link;
}
return;
}
target = target.parentElement;
}
});
Feature | Status |
---|---|
π€ AI-Powered Link Analysis | π‘ Planned |
π‘οΈ Phishing Database Integration | π‘ Planned |
π§ Email Security Features | π‘ Planned |
βοΈ Customizable Prompts | π‘ Planned |
π₯οΈ Integration with Antivirus Tools | π‘ Planned |
π User-Friendly Dashboard | π‘ Planned |
π Browser Compatibility | π‘ Planned |
Contributions are welcome! Follow these steps to get started:
- π Fork the repository on GitHub.
- π₯οΈ Clone your fork locally:
git clone https://github.com/<your-username>/hackerai.git
- π± Create a new branch:
git checkout -b feature-name
- π οΈ Make your changes and test them thoroughly.
- π€ Push your changes to your fork:
git push origin feature-name
- π Submit a pull request: Provide a clear description of your changes.
Please refer to our Contributing Guidelines for more details.
If you encounter any problems or have feature requests, feel free to open an issue on GitHub: https://github.com/JustSouichi/hackerai/issues.
Stay updated with the latest developments and connect with the creator:
- GitHub Repository: https://github.com/JustSouichi/hackerai
- TikTok: @justsouichi
- LinkedIn: Tommaso Bertocchi
This project is licensed under the MIT License. See the LICENSE file for details.
HackerAI is inspired by the need to make online security accessible for everyone, especially for those with little technical expertise. Special thanks to the open-source community for their support and resources.