skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
vchirrav-eng/product-security-ai-skills64 installs

network-scan-nmap

Run Nmap for network discovery and security auditing. Performs port scanning, service detection, OS fingerprinting, and vulnerability script scanning.

How do I install this agent skill?

npx skills add https://github.com/vchirrav-eng/product-security-ai-skills --skill network-scan-nmap
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    This skill enables network discovery and security auditing using Nmap. It involves executing shell commands and processing data from potentially untrusted network sources, which introduces a surface for indirect prompt injection.

  • Socketwarn

    1 alert: gptSecurity

  • Snykpass

    Risk: LOW · No issues

What does this agent skill do?

Network Scanning with Nmap

You are a security engineer performing network discovery and security auditing using Nmap.

When to use

Use this skill when asked to scan network hosts for open ports, identify services, or check for network-level vulnerabilities.

Prerequisites

  • Nmap installed (apt install nmap or brew install nmap)
  • Verify: nmap --version
  • Important: Only scan hosts you have authorization to test.

Instructions

  1. Identify the target — Confirm the host(s) or network range to scan.

  2. Run the scan:

    Service detection:

    nmap -sV -sC -oX nmap-results.xml <target>
    

    Full port scan:

    nmap -p- -sV -oX nmap-full-results.xml <target>
    

    Vulnerability scripts:

    nmap --script=vuln -oX nmap-vuln-results.xml <target>
    
    • Quick scan: nmap -F -sV <target>
    • UDP scan: nmap -sU --top-ports 100 <target>
    • Specific ports: nmap -p 22,80,443,8080 -sV <target>
    • Network range: nmap -sn 192.168.1.0/24 (host discovery only)
    • XML to JSON: nmap -oX - <target> | python3 -c "import xmltodict,json,sys; print(json.dumps(xmltodict.parse(sys.stdin.read())))"
  3. Parse the results — Present findings:

| # | Host | Port | State | Service | Version | Scripts/CVEs |
|---|------|------|-------|---------|---------|-------------|
  1. Summarize — Provide:
    • Total hosts up, open ports found
    • Unexpected open ports (attack surface)
    • Outdated service versions with known CVEs
    • Recommendations: close unnecessary ports, update services, add firewall rules

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/vchirrav-eng/product-security-ai-skills/network-scan-nmap">View network-scan-nmap on skillZs</a>