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).
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyhoneybee-0.1.0.tar.gz | 307.6 kB | Without provenance | Details for pyhoneybee-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyhoneybee-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for pyhoneybee-0.1.0-py3-none-any.whl |
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
|
Security for pyhoneybee 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.