vulhub Agent Skills & AI Rules

GitHub

Pre-Built Vulnerable Environments Based on Docker-Compose

21,393 stars Dockerfile Dockerfile 1 file ยท ~1,287 tokens #docker#docker-compose#dockerfile#vulhub#vulnerability-environment
RAW Rules
4 Discovered Rules โ€ข ~1,174 Estimated Tokens
Quick:
Loading skill content...

AI Agent Protocol & Instructions

AGENTS.md root-instruction ~274 tokens
Raw
# Vulhub โ€” AI Agent Guide

Vulhub is an open-source collection of pre-built vulnerable Docker environments for security education.

## Project Structure

```
base/<software>/<version>/Dockerfile      # Base Docker images for vulnerable software
<software>/<CVE-ID or name>/              # Vulnerability environments
โ”œโ”€โ”€ docker-compose.yml
โ”œโ”€โ”€ README.md                             # English documentation
โ”œโ”€โ”€ README.zh-cn.md                       # Chinese documentation
โ””โ”€โ”€ 1.png, 2.png, ...                     # Screenshots
environments.toml                          # Registry of all environments
```

## Adding a New Environment

Use the `add-vulhub-env` skill โ€” it contains the complete step-by-step guide, Dockerfile templates, docker-compose patterns, documentation writing rules, and CI check requirements.

## Key Conventions

- Software directories: **lowercase** (`grafana`, `apache-cxf`)
- CVE directories: **UPPERCASE** (`CVE-2024-9264`)
- Non-CVE directories: **lowercase** (`admin-ssrf`, `weak_password`)
- Compose file: must be `docker-compose.yml` (not `.yaml`)
- Docker command: `docker compose up -d` (not `docker-compose up -d`)
- All text files must use **LF** line endings