Network Scanner logo

Network Scanner

Community
ptn1411
network-scanner

Run authorized network reconnaissance with Nmap on Windows (or Linux). Host discovery, port/service/version scanning, OS detection, and safe NSE scripts, parsed into a severity-ranked defensive findings report (exposed services, CVEs from vuln/vulners NSE, weak TLS/SSH, anonymous/default credentials, EOL versions).

Overview

Publisherptn1411
Repositoryskill
Skill namenetwork-scanner
Stars
275
Forks
133
Bundled files
3
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by ptn1411 on GitHub. Read the source before you install it.

Installation

Install the Network Scanner AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/ptn1411/skill/tree/main/network-scanner
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ptn1411/skill.git /tmp/skill
mkdir -p .claude/skills
cp -r /tmp/skill/network-scanner .claude/skills/network-scanner
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Network Scanner in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Network Scanner on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Network Scanner is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Network Scanner (Nmap)

Authorized network reconnaissance and attack-surface mapping with Nmap. Discovers live hosts, open ports, services, versions, and OS fingerprints, then produces a defensive findings report.

Language rule: All skill instructions use English. Final summary presented to the user must be in Vietnamese.


0. Authorization & Routing

Operates under MASTER_POLICY.md §1-§2.

Scope gate — required before any scan. Only scan hosts/ranges the user owns or is explicitly authorized to assess (written engagement, bug-bounty scope, internal assignment, lab/CTF, or their own network). If scope is unclear, ask one concise question before scanning. Do not scan third-party or public infrastructure without stated authorization.

This skill performs read-only reconnaissance. It does not exploit, brute-force, DoS, or run intrusive NSE categories (dos, exploit, brute, intrusive) unless the user explicitly requests them and confirms authorization.

Sibling skillWhen
network-interceptorCapture/analyze traffic once services are found
container-cloud-auditorAudit exposed container/cloud services
sbom-supply-chain-auditorReview dependency exposure of discovered services

Prerequisites (Windows)

  1. Install Nmap for Windows (bundles Npcap, required for raw packet scans):
    • Recommended: download the latest installer from https://nmap.org/download.html and run it as Administrator (the Npcap driver needs elevation).
    • Avoid winget install Insecure.Nmap for now — its manifest points at a stale 7.80 URL and fails with a download-size error.
    • Without Npcap, Nmap still works via TCP connect scan (-sT); you lose SYN scan and OS detection.
  2. Default install path: C:\Program Files (x86)\Nmap\nmap.exe. The wrapper auto-detects PATH and this path.
  3. Run PowerShell as Administrator for -sS (SYN scan), OS detection (-O), and raw-packet host discovery. Without admin, Nmap falls back to TCP connect scan (-sT), which still works.
  4. Python 3 for the parser (only Python stdlib is used — no extra install).

Verify:

powershell
python network-scanner\scripts\nmap_scan.py --check

Step 1 — Host Discovery (find live hosts)

Ping-sweep a subnet to see what is up (no port scan):

powershell
python network-scanner\scripts\nmap_scan.py 192.168.1.0/24 --profile discovery --out output\nmap
bash
python network-scanner/scripts/nmap_scan.py 192.168.1.0/24 --profile discovery --out output/nmap

Step 2 — Port & Service Scan

Scan a host for open ports with service/version detection (default profile):

powershell
python network-scanner\scripts\nmap_scan.py 192.168.1.10 --profile service --out output\nmap

Profiles:

ProfileNmap flagsUse
discovery-snLive-host ping sweep, no ports
quick-T4 -FFast top-100 ports
service-sV -T4 --top-ports 1000Default. Open ports + versions
full-p- -sV -T4All 65535 ports (slow)
os-O -sVOS + service detection (needs admin)
safe-scripts-sV -sCservice + default NSE scripts (safe/default only)
vuln-sV --script vulnKnown-CVE NSE checks (authorized targets only)

Pass extra raw Nmap flags after --:

powershell
python network-scanner\scripts\nmap_scan.py 192.168.1.10 --profile service --out output\nmap -- -p 22,80,443,3389

Step 3 — Parse into Findings Report

Every run writes raw Nmap output (.xml, .nmap) plus a parsed report. To re-parse an existing XML:

powershell
python network-scanner\scripts\parse_nmap.py output\nmap\scan.xml --out output\nmap

Produces:

  • output/nmap/FINDINGS.md — hosts, open ports, services, versions, plus a severity-ranked Findings section.
  • output/nmap/findings.json — structured results (including the derived findings[]) for downstream skills.

The parser derives findings from the scan (best results with --profile vuln or safe-scripts):

  • Exposed services — classified by risk (cleartext FTP/Telnet, RDP/VNC, exposed databases, SMB).
  • CVEs — pulls CVE-… IDs from vuln/vulners NSE output; VULNERABLE states → critical/high.
  • Weak TLS/SSL — SSLv3 / TLS 1.0–1.1 / RC4 / EXPORT / DES / MD5 / low cipher grade.
  • Weak SSH — arcfour / CBC / DH group1 / ssh-dss.
  • Default / anonymous credentials — ftp-anon, *-default-accounts, brute-found creds.
  • EOL / known-bad versions — e.g. vsftpd 2.3.4 backdoor, OpenSSH < 7, Apache 2.2, IIS ≤ 6, PHP 5.

To populate CVE/TLS/SSH/cred findings, run NSE: --profile vuln or --profile safe-scripts.


Notes & Safety

  • Timing: service/full on a /24 can take minutes to hours. Start narrow (single host or quick), widen as needed.
  • The wrapper refuses dos, exploit, and brute NSE categories by default; passing them requires --allow-intrusive and explicit user authorization.
  • All findings are reported for defensive purposes: attack-surface reduction, patching EOL services, closing unnecessary ports, hardening exposed management interfaces (RDP/SSH/SMB).

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Network Scanner AI skill do?

Run authorized network reconnaissance with Nmap on Windows (or Linux). Host discovery, port/service/version scanning, OS detection, and safe NSE scripts, parsed into a severity-ranked defensive findings report (exposed services, CVEs from vuln/vulners NSE, weak TLS/SSH, anonymous/default credentials, EOL versions).

Why use Network Scanner on TypingMind?

Because you install it once and use it with any model. Network Scanner is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Network Scanner in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/ptn1411/skill/tree/main/network-scanner. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Network Scanner?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Network Scanner?

As many as you like. As long as a model supports skills, you can use Network Scanner with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Network Scanner AI skill free?

It is published on GitHub by ptn1411. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇