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.
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
-
Clone the repository:
git clone https://github.com/yaaras/honeybee.git cd honeybee
-
Install using pip:
pip install -e .
-
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
-
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10313d9d385f3b593ab18c203603a5e131f2ec2b2ae37a267e3f796878b178cf
|
|
| MD5 |
d5225e7590fc7319089414f70a5f541a
|
|
| BLAKE2b-256 |
8f784ed7a29bf7ae11c0016593965d2fd99361d3d160fecc8c82c0438c7944ba
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dacbcb72cfde755fe81bcfba62fb1b8a8f519c0e1b4b5be8334a2c1e8192a18f
|
|
| MD5 |
7c3c9d15e30d33e58fbb7d5b1f336872
|
|
| BLAKE2b-256 |
7da0d35c927df77de334efaae70e29e46b5701c0cd63f61f5869b9b38cb3b0f4
|