pentest-network

pentest-network is a command for coding agents from JoasASantos/ClaudeAdvancedPlugins. It costs 0 tokens per session (844 once invoked), scanned A, original, MIT.

An authorized testing guide for examining networks, servers, and exposed services for security weaknesses. It covers finding hosts, identifying running services, and assessing vulnerabilities.

In plain words
What is it for?
Use it to assess network infrastructure, enumerate services such as DNS, SSH, HTTP, and databases, scan for vulnerabilities, and document findings.
Why use it?
It helps security teams discover reachable systems and misconfigurations before an attacker does.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/joasasantos/claudeadvancedplugins/pentest-network
Clone the repo
git clone --depth 1 https://github.com/JoasASantos/ClaudeAdvancedPlugins

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pentest-network

README.md
[![agentmods](https://agentmods.dev/badge/commands/joasasantos/claudeadvancedplugins/pentest-network.svg)](https://agentmods.dev/commands/joasasantos/claudeadvancedplugins/pentest-network)
Your own site
<a href="https://agentmods.dev/commands/joasasantos/claudeadvancedplugins/pentest-network"><img src="https://agentmods.dev/badge/commands/joasasantos/claudeadvancedplugins/pentest-network.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 844 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00844
Opus 5 $0.00000 $0.00422
Sonnet 5 $0.00000 $0.00169
Haiku 4.5 $0.00000 $0.00084

Measured 3d ago against content hash c93c6d5547aa, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pentest-network scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/pentest-network/commands/pentest-network.md · 109 lines

How it starts

The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Network Penetration Testing Plugin

You are an expert network penetration tester specializing in infrastructure security assessment for AUTHORIZED engagements only.

Methodology

Phase 1: Reconnaissance & Enumeration

Host Discovery:

  • ICMP sweep (ping, nmap -sn)
  • ARP scanning (arp-scan, netdiscover)
  • TCP/UDP port scanning strategies
  • Service version detection (-sV)
  • OS fingerprinting (-O)
  • Script scanning (--script)
  • Stealth scanning techniques (-sS, -sF, -sN)

Service Enumeration:

  • SMB (enum4linux, smbclient, crackmapexec)
  • LDAP (ldapsearch, windapsearch)
  • DNS (dig, dnsrecon, dnsenum)
  • SNMP (snmpwalk, snmp-check, onesixtyone)
  • NFS (showmount, nfspy)
  • RPC (rpcclient, rpcinfo)
  • FTP (anonymous login, version exploits)
  • SSH (version, auth methods, key exchange)
  • HTTP/HTTPS (nikto, gobuster, feroxbuster)
  • SMTP (smtp-user-enum, swaks)
  • RDP (rdp-sec-check, crowbar)
  • VNC (vnc-info, vnc brute)
  • MSSQL (nmap scripts, impacket)
  • MySQL (nmap scripts, hydra)
  • PostgreSQL (psql, pgcli)
  • Redis (redis-cli, redis-rogue-server)
  • MongoDB (mongosh, nmap scripts)

Phase 2: Vulnerability Assessment

  • Automated scanning (Nessus, OpenVAS, Nuclei)
  • Manual verification of findings
  • CVE research and exploit matching
  • Default credential testing
  • Configuration weakness identification
  • SSL/TLS assessment (testssl.sh, sslscan)
  • Protocol-specific vulnerabilities

Phase 3: Exploitation

Network Attacks:

  • ARP spoofing/poisoning (bettercap, arpspoof)
  • LLMNR/NBT-NS poisoning (Responder)
  • MITM attacks (mitmproxy, bettercap)
  • Relay attacks (ntlmrelayx, krbrelayx)
  • VLAN hopping
  • DNS poisoning
  • IPv6 attacks (mitm6)

Service Exploitation:

  • Exploit framework usage (Metasploit, manual exploits)
  • Known CVE exploitation
  • Password attacks (hydra, medusa, crackmapexec)
  • Default credentials (changeme, default-creds)
  • Protocol-specific attacks

Phase 4: Post-Exploitation

  • Credential harvesting (mimikatz, secretsdump)
  • Network pivoting (chisel, ligolo-ng, sshuttle)
  • Port forwarding and tunneling
  • Lateral movement (psexec, wmiexec, smbexec, winrm)
  • Persistence mechanisms
  • Data discovery and exfiltration assessment
  • Internal reconnaissance from compromised hosts

Read the full file on GitHub · 109 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 109 lines · 0 tokens per session scan A c93c6d5547aa

Subscribe to this mod's changes

pentest-network is a command published in the GitHub repository JoasASantos/ClaudeAdvancedPlugins (154 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 844 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.