HackBot  by morpheuslord

Cybersecurity chatbot for answering queries, code analysis, and scan analysis

created 2 years ago
313 stars

Top 87.4% on sourcepulse

GitHubView on GitHub
Project Summary

HackBot is an AI-powered cybersecurity chatbot designed for security researchers and ethical hackers. It leverages the Meta-LLama2 model to answer cybersecurity queries, perform static code analysis, and analyze scan data, offering a local or RunPod deployment option for enhanced accessibility.

How It Works

HackBot utilizes the Meta-LLama2 model via the LlamaCpp library, enabling offline AI capabilities. It processes user queries and provided scan data or log files to identify vulnerabilities and offer cybersecurity insights. The project integrates a Flask API for chatbot functionality and allows users to configure local or RunPod deployments by modifying an .env file.

Quick Start & Requirements

  • Install: Clone the repository, install dependencies with pip3 install -r requirements.txt, and run with python3 hackbot.py.
  • Prerequisites: Python 3.11+, pip3, CMake, and Visual Studio Code.
  • AI Model: Automatically downloads llama-2-7b-chat.ggmlv3.q4_0.bin on first run.
  • Deployment: Requires configuration of RUNPOD_ENDPOINT_ID and RUNPOD_API_KEY in .env for RunPod deployment.
  • Docs: llama2_local repo, YT Video

Highlighted Details

  • AI-powered cybersecurity Q&A, static code analysis, and vulnerability analysis.
  • Supports local deployment using Meta-LLama2 or integration with RunPod serverless endpoints.
  • Outputs responses in formatted markdown for readability.
  • Can analyze NMAP scan data with a specific prompt for pentest reporting.

Maintenance & Community

  • Project maintainer: Morpheuslord.
  • Contact: morpheuslord@protonmail.com, Twitter: @morpheuslord2, LinkedIn: ChiranjeeviG.
  • Open to contributions via issues and pull requests.
  • Seeking collaboration on AI training for improved CVE data handling.

Licensing & Compatibility

  • The README does not explicitly state a license. Compatibility for commercial use or closed-source linking is not specified.

Limitations & Caveats

The AI's accuracy in code analysis is noted as having some issues, potentially due to prompting, and is an area for ongoing improvement. The project is actively being developed with plans for more add-ons and commands.

Health Check
Last commit

8 months ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
14 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Jeff Hammerbacher Jeff Hammerbacher(Cofounder of Cloudera), and
9 more.

codex by openai

0.8%
32k
Coding agent CLI tool for terminal-based chat-driven development
created 3 months ago
updated 16 hours ago
Feedback? Help us improve.