Skip to content
Skillpedia
Misc35k · #5973

implementing-vulnerability-management-with-greenbone

Enables your agent to automate the creation and analysis of vulnerability scans with Greenbone/OpenVAS.

What it does

This tool helps automate vulnerability scanning on systems using Greenbone (OpenVAS). It connects to Greenbone, sets up and runs scans, and then organizes the results so you know which issues to fix first.

When to use it

  • ✓Automating the creation and execution of security scans.
  • ✓Programmatically retrieving and parsing vulnerability reports.
  • ✓Integrating security scans into your existing processes.

Example of what to ask your AI

“Set up and run a vulnerability scan on my server 192.168.1.10 and show me the results.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-vulnerability-management-with-greenbone/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-vulnerability-management-with-greenbone/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

It uses a Python library to talk to Greenbone. You define what to scan, where to scan, and the tool runs the scan and collects the reports for you.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill implementing-vulnerability-management-with-greenbone

Or download just the file:

curl -L https://raw.githubusercontent.com/mukul975/Anthropic-Cybersecurity-Skills/main/skills/implementing-vulnerability-management-with-greenbone/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Implementing Vulnerability Management with Greenbone

Overview

Greenbone Vulnerability Management (GVM) is the open-source framework behind OpenVAS, providing comprehensive vulnerability scanning with over 100,000 Network Vulnerability Tests (NVTs). The python-gvm library provides a Python API to interact with GVM through the Greenbone Management Protocol (GMP), enabling programmatic creation of scan targets, task management, scan execution, and report retrieval. This skill covers connecting to GVM via Unix socket or TLS, authenticating, creating scan configs and targets, launching scans, and parsing XML-based vulnerability reports to produce actionable findings.

When to Use

  • When deploying or configuring implementing vulnerability management with greenbone capabilities in your environment
  • When establishing security controls aligned to compliance requirements
  • When building or improving security architecture for this domain
  • When conducting security assessments that require this implementation

Prerequisites

  • Greenbone Community Edition or Greenbone Enterprise Appliance installed
  • Python 3.9+ with python-gvm (pip install python-gvm)
  • GMP access credentials (username/password)
  • Network connectivity to GVM daemon (Unix socket or TCP/TLS)
  • Understanding of CVSS scoring and vulnerability classification

Steps

  1. Install python-gvm: pip install python-gvm
  2. Establish a GMP connection via UnixSocketConnection or TLSConnection
  3. Authenticate with gmp.authenticate(username, password)
  4. Create a target with gmp.create_target(name, hosts=[...], port_list_id=...)
  5. Create a scan task with gmp.create_task(name, config_id, target_id, scanner_id)
  6. Start the scan with gmp.start_task(task_id)
  7. Monitor scan progress with gmp.get_task(task_id)
  8. Retrieve results with gmp.get_report(report_id, report_format_id=...)
  9. Parse the XML report for vulnerabilities, CVSS scores, and affected hosts
  10. Generate a JSON summary report with severity distribution and remediation priorities

Expected Output

A JSON report containing total vulnerabilities found, severity breakdown (critical/high/medium/low), per-host findings with CVE references and CVSS scores, and scan metadata including duration and NVT feed version.

FAQ

What is Greenbone/OpenVAS?

It's an open-source system for finding security flaws (vulnerabilities) in networks and systems.

What is python-gvm?

It's a tool that allows programs written in Python to communicate with Greenbone/OpenVAS.

What are NVTs?

These are tests that Greenbone uses to check for specific vulnerabilities on a system.

Details

Original description by the author

Deploy and operate Greenbone/OpenVAS vulnerability management using the python-gvm library over the Greenbone Management Protocol (GMP) to connect via Unix socket or TLS, create scan targets and configs, execute scans, and parse the XML scan reports into actionable findings. Use when automating OpenVAS/GVM scan creation and execution, or programmatically retrieving and parsing vulnerability scan r

repo: mukul975/Anthropic-Cybersecurity-Skills

Popularity

GitHub stars
35k
Ranking position
#5973
License
Apache-2.0
Updated
8/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills