Skip to main content

HoneyBee: Misconfigured App Generator

Project description

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).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyhoneybee-0.1.0.tar.gz (307.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyhoneybee-0.1.0-py3-none-any.whl (56.8 kB view details)

Uploaded Python 3

File details

Details for the file pyhoneybee-0.1.0.tar.gz.

File metadata

  • Download URL: pyhoneybee-0.1.0.tar.gz
  • Upload date:
  • Size: 307.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for pyhoneybee-0.1.0.tar.gz
Algorithm Hash digest
SHA256 10313d9d385f3b593ab18c203603a5e131f2ec2b2ae37a267e3f796878b178cf
MD5 d5225e7590fc7319089414f70a5f541a
BLAKE2b-256 8f784ed7a29bf7ae11c0016593965d2fd99361d3d160fecc8c82c0438c7944ba

See more details on using hashes here.

File details

Details for the file pyhoneybee-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyhoneybee-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 56.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for pyhoneybee-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dacbcb72cfde755fe81bcfba62fb1b8a8f519c0e1b4b5be8334a2c1e8192a18f
MD5 7c3c9d15e30d33e58fbb7d5b1f336872
BLAKE2b-256 7da0d35c927df77de334efaae70e29e46b5701c0cd63f61f5869b9b38cb3b0f4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page