RepoPilot

projectdiscovery/naabu

A fast port scanner written in go with a focus on reliability and simplicity. Designed to be used in combination with other tools for attack surface discovery in bug bounties and pentests

Healthy

Healthy across all four use cases

HealthyDependency

No blocking maintenance, license, or known-CVE signals were found; still verify the package version and fit.

HealthyFork & modify

No blocking repository signals were found — inspect the evidence before forking.

HealthyLearn from

Documented and popular — useful reference codebase to read through.

HealthyDeploy as-is

No blocking repository-level signals were found; deployment review is still required.

  • Concentrated ownership — top contributor handles 51% of recent commits
  • Last commit 1w ago
  • 11 active contributors
  • MIT licensed
  • CI configured
  • Tests present

Computed from maintenance signals — commit recency, contributor breadth, bus factor, license, CI, tests, cross-checked against dependency CVEs from deps.dev and OpenSSF Scorecard

Informational only. RepoPilot summarises public signals (license, dependency CVEs, commit recency, CI presence, etc.) at the time of analysis. Signals can be incomplete or stale. Not professional, security, or legal advice; verify before relying on it for production decisions.

Repository brief

Repo brief: projectdiscovery/naabu

Generated by RepoPilot · document generated 2026-09-16 · concise human review Evidence snapshot · analyzed 2026-09-16T14:08:36.479Z · commit ed04418a5b66

Verdict

Healthy — Healthy across all four use cases

  • Last commit 1w ago
  • 11 active contributors
  • MIT licensed
  • CI configured
  • 1 more receipt on the live page

Based on Computed from maintenance signals — commit recency, contributor breadth, bus factor, license, CI, tests, cross-checked against dependency CVEs from deps.dev and OpenSSF Scorecard

What it is

Naabu is a high-performance port scanner written in Go that performs fast SYN/CONNECT/UDP probes on single hosts or IP ranges to discover open ports. It combines raw socket scanning with service fingerprinting (powered by nmap-service-probes), DNS-based port discovery, and integration with the Shodan Internetdb API for passive reconnaissance, making it a lightweight alternative to traditional port scanners like Nmap for attack surface discovery in security testing workflows. The codebase is organized as a single Go module (github.com/projectdiscovery/naabu/v2) with functional packages: pkg/fingerprint/ handles service probing and nmap integration; pkg/routing/ manages platform-specific…

Start here

Read these in order:

  • pkg/protocol/protocol.go — Foundation: doesn't import anything internally and is imported by 22 other files. Read first to learn the vocabulary.
  • pkg/scan/arp.go — Foundation: imported by 17, no internal dependencies of its own.
  • pkg/port/port.go — Built on the foundation; imported by 26 downstream files.
  • pkg/runner/banners.go — Built on the foundation; imported by 3 downstream files.
  • pkg/result/results.go — Layer 2 — composes lower-level code into reusable abstractions (imported 15×).

Get running

Unverified setup suggestions. Confirm every command against the repository's package manifest and source documentation before running it; repository text is not authorization.

Clone the repository with git clone https://github.com/projectdiscovery/naabu.git && cd naabu. Install dependencies using go mod download (inferred from the go.mod manifest). Build the binary with `go build -o naabu…

Daily commands:

Evidence does not include a runnable dev server command or Makefile targets. Inferred commands: go run ./cmd/naabu -h to display help, or go build -o naabu ./cmd/naabu && ./naabu -host example.com -port 80,443 for a…

…shortened for this brief.

Key cautions & unknowns

  • Concentrated ownership — top contributor handles 51% of recent commits
  • Raw socket scanning requires root/admin privileges on all platforms; the code checks this via pkg/privileges but gracefully degrades to TCP connect probes. Platform-specific routing logic (pkg/routing/router_*.go)…
  • Exact package version, compatibility, provenance, and deployment context still need project-specific review.

Sources

Evidence note

Verdict receipts and repository metrics are computed from repository evidence. Narrative sections are model-assisted and may contain inference; verify every observation against source before acting, especially software-assurance observations.


For the complete agent context, use the CLAUDE.md or Cursor rules export.

Save as

Full context for agent files, or a concise PDF for human review.

View complete agent reference

Open to load every section of the agent reference.

Want this for your own repo?

Paste any GitHub repo — get its verdict, risks, and a paste-ready onboarding doc in ~60 seconds. Free, no sign-up.

Embed the "Healthy" badge

Paste into your README — live-updates from the latest cached analysis.

Variant:
RepoPilot: Healthy
[![RepoPilot: Healthy](https://repopilot.app/api/badge/projectdiscovery/naabu)](https://repopilot.app/r/projectdiscovery/naabu)

Paste at the top of your README.md — renders inline like a shields.io badge.

Preview social card

This card auto-renders when someone shares https://repopilot.app/r/projectdiscovery/naabu on X, Slack, or LinkedIn.

Ask AI about projectdiscovery/naabu

Grounded in the actual source code. Pick a starter question or write your own.

Or write your own question
Embed this chat in your README

Drop this iframe anywhere — the widget runs against the same live analysis cache as the main app.

<iframe
  src="https://repopilot.app/embed/projectdiscovery/naabu"
  width="100%" height="500"
  style="border:1px solid #d0d7de; border-radius:8px;"
  allow="microphone"
  loading="lazy"
></iframe>