ptn1411/skill/network-scanner
Claude Code and agent skill by ptn1411/skill
- community
Checking that the SKILL.md file is still in the repository.
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).
Install
npx vskill@latest install ptn1411/skill/network-scannerSKILL.md
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 skill | When | |
|---|---|---|
| network-interceptor | Capture/analyze traffic once services are found | |
| container-cloud-auditor | Audit exposed container/cloud services | |
| sbom-supply-chain-auditor | Review dependency exposure of discovered services |
Prerequisites (Windows)
- 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.Nmapfor 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.
- Default install path:
C:\Program Files (x86)\Nmap\nmap.exe. The wrapper auto-detects PATH and this path. - 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. - Python 3 for the parser (only Python stdlib is used — no extra install).
Verify:
Step 1 — Host Discovery (find live hosts)
Ping-sweep a subnet to see what is up (no port scan):
Step 2 — Port & Service Scan
Scan a host for open ports with service/version detection (default profile):
Profiles:
| Profile | Nmap flags | Use | |
|---|---|---|---|
discovery | -sn | Live-host ping sweep, no ports | |
quick | -T4 -F | Fast top-100 ports | |
service | -sV -T4 --top-ports 1000 | Default. Open ports + versions | |
full | -p- -sV -T4 | All 65535 ports (slow) | |
os | -O -sV | OS + service detection (needs admin) | |
safe-scripts | -sV -sC | service + default NSE scripts (safe/default only) | |
vuln | -sV --script vuln | Known-CVE NSE checks (authorized targets only) |
Pass extra raw Nmap flags after --:
Step 3 — Parse into Findings Report
Every run writes raw Nmap output (.xml, .nmap) plus a parsed report. To re-parse an existing XML:
Produces:
output/nmap/FINDINGS.md— hosts, open ports, services, versions, plus a severity-ranked Findings section.output/nmap/findings.json— structured results (including the derivedfindings[]) 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 fromvuln/vulnersNSE output;VULNERABLEstates → 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 vulnor--profile safe-scripts.
Notes & Safety
- Timing:
service/fullon a/24can take minutes to hours. Start narrow (single host orquick), widen as needed. - The wrapper refuses
dos,exploit, andbruteNSE categories by default; passing them requires--allow-intrusiveand 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).
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingnetwork-scanner/SKILL.md
Popularity
- Repository stars
- 150
- Repository forks
- 90
- 7-day trend score
- 25
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ptn1411/skill/network-scanner)