New to Claude Skills? Learn how to install them →

mukul975 on GitHub

Implementing Vulnerability Management

Free

Automate vulnerability scanning with Greenbone and Python.

Get this skill

Free · Opens the source repo

What Implementing Vulnerability Management does

The Implementing Vulnerability Management skill enables users to deploy and operate Greenbone/OpenVAS vulnerability management through the python-gvm library. This skill leverages the Greenbone Management Protocol (GMP) to facilitate seamless connections via Unix socket or TLS. It allows users to create scan targets and configurations, execute scans, and parse XML scan reports into actionable findings. This is particularly useful for security professionals looking to automate the process of vulnerability management in their environments.

By using this skill, developers and security practitioners can programmatically manage vulnerability scans, ensuring that their systems are regularly assessed for security weaknesses. The python-gvm library provides a robust API that simplifies the interaction with GVM, making it easier to create tasks, monitor their progress, and retrieve detailed reports. The expected output is a structured JSON report that summarizes vulnerabilities found, categorized by severity and including CVE references and CVSS scores, which aids in prioritizing remediation efforts.

This skill is ideal for organizations that need to align their security practices with compliance requirements or those looking to enhance their security architecture. It is also beneficial for conducting thorough security assessments, enabling teams to identify and address vulnerabilities proactively. With the prerequisites of having a Greenbone Community Edition or Enterprise Appliance and a basic understanding of vulnerability classification, users can quickly get started with implementing this skill in their workflows.

When to use it

Use this skill when you need to automate the creation and execution of vulnerability scans with Greenbone/OpenVAS in your security assessments.

When not to use it

This skill may not be suitable for environments without a Greenbone installation or for users unfamiliar with vulnerability management concepts.

What you can build with it

Automating Security Assessments

Use this skill to automate the process of conducting security assessments, ensuring regular checks for vulnerabilities.

Compliance Alignment

Implement this skill to help meet compliance requirements by establishing a structured vulnerability management process.

Enhancing Security Architecture

Utilize this skill to improve your organization's security architecture by programmatically managing vulnerabilities.

How to install Implementing Vulnerability Management

View source

1. Install with the skills CLI

npx skills add mukul975/anthropic-cybersecurity-skills/implementing-vulnerability-management-with-greenbone --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by mukul975

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.

Frequently asked questions about Implementing Vulnerability Management

Similar skills