hackingBuddyGPT  by ipa-lab

LLM agentic framework for security researchers/pen-testers

created 2 years ago
710 stars

Top 49.2% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a framework for ethical hackers and security researchers to leverage Large Language Models (LLMs) for penetration testing and vulnerability discovery, aiming to automate and accelerate security assessments. It targets security professionals seeking to integrate AI into their workflows, offering a concise, 50-line-of-code approach to building LLM-powered security agents.

How It Works

HackingBuddyGPT utilizes an agent-based architecture where LLMs are prompted to generate commands for execution on target systems. It supports various use cases, including Linux privilege escalation and web penetration testing, by abstracting LLM interactions, command execution, and logging. The framework emphasizes modularity, allowing users to easily define new agents and integrate different LLMs or execution environments.

Quick Start & Requirements

  • Install: pip install -e . after cloning the repository.
  • Prerequisites: Python environment, OpenAI API key (or other LLM provider configuration), SSH access to a target machine.
  • Setup: Clone repo, create/activate virtual environment, install requirements, configure .env file with API keys and target credentials.
  • Run: python src/hackingBuddyGPT/cli/wintermute.py <UseCaseName> (e.g., LinuxPrivesc).
  • Docs: https://github.com/ipa-lab/hackingBuddyGPT

Highlighted Details

  • Framework designed for <50 lines of code per agent.
  • Supports autonomous agents for tasks like Linux privilege escalation.
  • Includes a web-based viewer for live log monitoring and replay functionality.
  • Offers academic publications detailing research and benchmarks.

Maintenance & Community

The project is led by contributors from TU Wien's IPA-Lab, with active participation from academics and professional pen-testers. A Discord server is available for community discussion.

Licensing & Compatibility

The project is released under a permissive license, suitable for commercial use and integration into closed-source projects.

Limitations & Caveats

Web testing use cases are in pre-alpha and under heavy development. Usage of OpenAI models incurs costs, and users are responsible for managing API usage and associated expenses. The project is experimental and provided "as-is."

Health Check
Last commit

3 weeks ago

Responsiveness

1 day

Pull Requests (30d)
1
Issues (30d)
1
Star History
156 stars in the last 90 days

Explore Similar Projects

Starred by Michael Truell Michael Truell(Cofounder of Cursor), Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), and
14 more.

SWE-agent by SWE-agent

0.5%
17k
Agent for automated software engineering (NeurIPS 2024)
created 1 year ago
updated 2 days ago
Starred by Peter Norvig Peter Norvig(Author of Artificial Intelligence: A Modern Approach; Research Director at Google), Michael Han Michael Han(Cofounder of Unsloth), and
15 more.

open-interpreter by openinterpreter

0.1%
60k
Natural language interface for computers
created 2 years ago
updated 4 days ago
Feedback? Help us improve.