Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

add-vulhub-env

Skill by vulhub

Guides an assistant through adding a new vulnerability lab to the Vulhub project. It covers the Dockerfile, compose file, bilingual docs, environments.toml entry, and pull request steps. Written for contributors who add or maintain Vulhub environments.

  • Score 87
  • 22k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install add-vulhub-env

Built from the published package, never by AI.

git clone --depth 1 https://github.com/vulhub/vulhub /tmp/vulhub && mkdir -p ~/.claude/skills && cp -r /tmp/vulhub/.claude/skills/add-vulhub-env ~/.claude/skills/add-vulhub-env

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install add-vulhub-env in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is a step-by-step guide for adding a new vulnerability reproduction environment to the Vulhub project. Vulhub hosts pre-built vulnerable Docker environments for security education, and each one is started with docker compose up -d. The guide covers the criteria a vulnerability must meet, naming conventions, the docker-compose.yml file, the environments.toml entry, and the English and Chinese README files.

It also explains how to test the environment locally, how to open a pull request, and which CI checks run on it. The skill does not capture screenshots. It only places placeholders for a human to fill in later. It is intended for contributors to the Vulhub project who want to add a CVE or other vulnerability lab.

Written from the project's SKILL.md and checked against it.

What it can do

  • Vulnerability vettingChecks a candidate against criteria such as high impact, open source, Docker-friendly and reproducible.
  • Base Dockerfile creationExplains when to add a base image under base/ and the rules for building it.
  • Compose file setupDescribes a minimal docker-compose.yml that uses vulhub/ images and names the main service web.
  • environments.toml registrationLists required fields, naming rules and the available vulnerability and application tags.
  • Bilingual documentationGives rules for the English README and the Chinese README.zh-cn.md, including version ranges and reproduction steps.
  • Local testingLists commands to build, start, test and clean up the environment with docker compose.
  • Pull request submissionShows git and gh commands to create a lowercase branch and open a pull request against master.

What you need

  • Docker
  • Git
  • GitHub CLI (gh)
  • hadolint for linting base Dockerfiles

Try asking

  • Help me add CVE-2024-9264 to Vulhub as a Docker lab.
  • Create docker-compose.yml and README files for a new Vulhub environment.
  • Walk me through the Vulhub pull request steps for my new CVE lab.

Good to know

  • Only for contributing environments to the Vulhub project.
  • Screenshots are left as placeholders for a human to capture.
  • Archive files larger than 4096 bytes fail the CI checks.
  • Docker Compose files must use the .yml extension, not .yaml.

Security check

F
  • Posts environment variables to a web addressIn .claude/skills/add-vulhub-env/SKILL.md: environments**: verify JDWP is actually listening with `printf 'JDWP-Handshake' | nc

Checked automatically: .claude/skills/add-vulhub-env/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md12 KB
  • references/readme-writing-guide.md5 KB

Alternatives to add-vulhub-env

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

add-vulhub-env: common questions

How do I add a new CVE environment to Vulhub?

The skill lists the required files: docker-compose.yml, README.md, README.zh-cn.md, screenshot placeholders and an environments.toml entry. A base Dockerfile is needed only if the software version does not already exist.

Does the skill capture screenshots for the README?

No. The skill tells the assistant not to create or fabricate .png files and to leave placeholders for a human to capture after review.

What naming rules does Vulhub use?

Software directories are lowercase and CVE directories are uppercase. File extensions are lowercase, and the compose file must be docker-compose.yml.

How do I install add-vulhub-env?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is add-vulhub-env free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is add-vulhub-env safe to use?

It scores 87 of 100. Grades: maintenance B, licence A, quality A. Security check: grade F (posts environment variables to a web address). Review the code before you install. How grades work.

What are alternatives to add-vulhub-env?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

add-vulhub-env Install

Add to stack

Loading.