{"id":20119138,"url":"https://github.com/saro0307/tavern-cut","last_synced_at":"2026-06-10T05:31:52.717Z","repository":{"id":244051180,"uuid":"814155811","full_name":"saro0307/Tavern-cut","owner":"saro0307","description":"Tavern cut is a Turing test integrated Encryption system that provides additional layer of protect for web servers against Malware bots.","archived":false,"fork":false,"pushed_at":"2024-07-05T14:51:37.000Z","size":548,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T19:49:54.346Z","etag":null,"topics":["artificial-intelligence","cybersecurity","encryption","jypyternotebook","machine-learning","machine-learning-algorithms","python","python3","research","research-paper","research-project","smtplib","tkinter","tkinter-python","turing-machine","turing-test"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/saro0307.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-12T12:54:30.000Z","updated_at":"2024-07-05T14:51:40.000Z","dependencies_parsed_at":"2024-06-12T16:59:47.922Z","dependency_job_id":"3d1ad739-5bd1-4160-96ca-eeabfaf6cfa5","html_url":"https://github.com/saro0307/Tavern-cut","commit_stats":null,"previous_names":["saro0307/tavern-cut"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/saro0307/Tavern-cut","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saro0307%2FTavern-cut","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saro0307%2FTavern-cut/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saro0307%2FTavern-cut/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saro0307%2FTavern-cut/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saro0307","download_url":"https://codeload.github.com/saro0307/Tavern-cut/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saro0307%2FTavern-cut/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34139178,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["artificial-intelligence","cybersecurity","encryption","jypyternotebook","machine-learning","machine-learning-algorithms","python","python3","research","research-paper","research-project","smtplib","tkinter","tkinter-python","turing-machine","turing-test"],"created_at":"2024-11-13T19:14:30.445Z","updated_at":"2026-06-10T05:31:52.701Z","avatar_url":"https://github.com/saro0307.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tavern-cut\n\nTavern Cut is an advanced cybersecurity application that integrates a Turing Test algorithm with artificial intelligence (AI) to enhance password protection and fortify online accounts against unauthorized access. This project aims to provide a robust and adaptive security mechanism by distinguishing between legitimate users and potential intruders through human-like conversational interactions.\n\n## Features\n\n- **AI-Driven Turing Test:** Utilizes AI to engage users in dynamic conversations during login attempts to assess authenticity.\n- **Intruder Alert Mechanism:** Sends automated email alerts to notify users of potential unauthorized access attempts.\n- **Continuous Learning:** The system evolves over time, improving its ability to distinguish between genuine users and threats through machine learning.\n- **User-Friendly Interface:** Provides a seamless and intuitive interface for user registration, login, and response to security alerts.\n\n## Installation\n\n1. **Clone the repository:**\n   ```sh\n   git clone https://github.com/saro0307/tavern-cut.git\n   cd tavern-cut\n   ```\n\n2. **Install required libraries:**\n   ```sh\n   pip install -r requirements.txt\n   ```\n\n3. **Configure email settings:**\n   Replace the placeholders in the code with your actual email credentials:\n   ```python\n   email_sender = 'your_email@gmail.com'\n   email_password = 'your_password'\n   email_receiver = 'receiver_email@gmail.com'\n   ```\n\n4. **Run the application:**\n   ```sh\n   python tavern_cut.py\n   ```\n\n## Usage\n\n1. **User Registration:**\n   - Enter your email address and set up a secure password.\n\n2. **Login:**\n   - Enter your username and password.\n   - The system will engage in a human-like conversation to verify authenticity.\n\n3. **Security Alerts:**\n   - In case of unauthorized access attempts, an email alert will be sent to the configured email address.\n\n## Code Overview\n\n### Turing Machine States and Transitions\n\nThe Turing machine is implemented to verify the password correctness through a series of states and transitions.\n\n```python\nstates = {\n    \"q0\": {\"r\": (\"q1\", \"r\", \"R\")},\n    \"q1\": {\"u\": (\"q2\", \"u\", \"R\")},\n    \"q2\": {\"s\": (\"q3\", \"s\", \"R\")},\n    \"q3\": {\"s\": (\"accept\", \"s\", \"S\")},\n    \"q4\": {\"i\": (\"accept\", \"i\", \"S\")},\n    \"q5\": {\"a\": (\"accept\", \"a\", \"S\")},\n}\n```\n\n### Email Alert Configuration\n\nThe `send_email_alert` function sends an email notification if an unauthorized login attempt is detected.\n\n```python\ndef send_email_alert():\n    # Email configuration and sending logic\n```\n\n### GUI Setup\n\nThe application uses Tkinter to create a user-friendly interface for login and registration.\n\n```python\nroot = tk.Tk()\nroot.title(\"Login Page\")\n# GUI components setup\nroot.mainloop()\n```\n\n## Future Work\n\nFuture evaluations will focus on:\n\n- **Scalability:** Assessing system performance under increased user load.\n- **Real-World Deployment:** Testing the system in corporate networks and large-scale platforms.\n- **Adaptability:** Enhancing resilience against sophisticated AI-driven attacks.\n- **User Experience:** Continuously improving the user interface and reducing false positives.\n- **Cross-Platform Compatibility:** Ensuring seamless performance across various operating systems, browsers, and devices.\n- **Legal Compliance:** Ensuring adherence to privacy regulations and data protection laws.\n\n## Conclusion\n\nTavern Cut represents a significant advancement in cybersecurity, integrating the Turing Test algorithm with AI to provide a dynamic and adaptive defense mechanism. This project demonstrates the potential of AI in enhancing online security, offering a robust solution against evolving cyber threats.\n\n## Authors\n\n- Sam Priesly Mathuram P\n- Saravana Kumar G\n- Sudharsun B\n- Thiru Vigneswaran babu S\n\n## License\n\nThis project is licensed under the Apache-2.0 license. See the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n- SNS College of Engineering, Coimbatore, Tamil Nadu, India\n- All contributors and supporters of the project\n\nFor more details, refer to the project report available [here](https://ijsart.com/Home/IssueDetail/90871) (Volume 10 Issue 5 – MAY 2024).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaro0307%2Ftavern-cut","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaro0307%2Ftavern-cut","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaro0307%2Ftavern-cut/lists"}