Skip to main content

HoneyBee: Misconfigured App Generator

HoneyBee is a tool for creating misconfigured environments to test vulnerabilities in technologies like Jenkins, Jupyter Notebook, and more.

With the help of LLMs, HoneyBee generates:

  • Dockerfiles and Docker-compose files to replicate misconfigured applications.
  • Nuclei templates to detect vulnerabilities (credit to a great template from the project Fabric).
  • README files with instructions on how to use the generated files.

How It Works

  • Choose a technology and a misconfiguration from a curated list of known issues, or write your own.
  • HoneyBee uses LLMs to generate the required files and instructions to use them.

HoneyBee

Key Features

  • Misconfiguration Generator:

    • Choose from a list of commonly misconfigured apps (e.g., Jenkins, Jupyter Lab).
    • Select a well-known misconfiguration (e.g., weak authentication, improper access control).
    • Automatically generate Dockerfiles and Docker-compose files tailored to your selections.
  • Detection Template Generator:

    • Generate Nuclei templates to detect the created misconfiguration.
  • One-click test deployment:

    • Deploy generated docker-compose files with one click and without leaving the browser.

Getting Started

Prerequisites

  • Python 3.10 or above
  • OpenAI API key

Installation

  1. Clone the repository:

    git clone https://github.com/yaaras/honeybee.git
    cd honeybee
    
  2. Install using pip:

    pip install -e .
    
  3. Set up your OpenAI API key:

    For OpenAI:

    export OPENAI_API_KEY=your_openai_api_key
    

    For Azure OpenAI:

    export AZURE_OPENAI_API_KEY=your_azure_api_key
    export AZURE_OPENAI_ENDPOINT=your_azure_endpoint
    
  4. Setup docker compose (Optional):

    To enable the use of the local deployment feature simply Install Docker Compose.

Usage

Simply run the honeybee command

 honeybee

Open your browser and navigate to the URL provided by Streamlit (typically http://localhost:8501).

Metadata

Release files for pyhoneybee 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyhoneybee 0.1.0
File Size Uploaded
pyhoneybee-0.1.0.tar.gz 307.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyhoneybee 0.1.0
File Interpreter ABI Platform
pyhoneybee-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 364.4 kB

Release files / pyhoneybee-0.1.0.tar.gz

Download URL pyhoneybee-0.1.0.tar.gz
Size 307.6 kB
Tags Source
SHA-256 checksum
How to use checksums
10313d9d385f3b593ab18c203603a5e131f2ec2b2ae37a267e3f796878b178cf
BLAKE2b-256 checksum
How to use checksums
8f784ed7a29bf7ae11c0016593965d2fd99361d3d160fecc8c82c0438c7944ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.12

Release files / pyhoneybee-0.1.0-py3-none-any.whl

Download URL pyhoneybee-0.1.0-py3-none-any.whl
Size 56.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dacbcb72cfde755fe81bcfba62fb1b8a8f519c0e1b4b5be8334a2c1e8192a18f
BLAKE2b-256 checksum
How to use checksums
7da0d35c927df77de334efaae70e29e46b5701c0cd63f61f5869b9b38cb3b0f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page