Automic VaultAutomic Vault

brew

Install masscan with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman

TCP port scanner, scans entire Internet in under 5 minutes. Version 1.3.2 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install masscan

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install masscan

MacPorts ports tree · net/masscan/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add masscan

Alpine Linux edge package indexes · masscan · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install masscan

Debian stable package indexes · masscan · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install masscan

Fedora Rawhide package metadata · masscan · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#masscan

nixpkgs package indexes · pkgs/by-name/ma/masscan/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S masscan

Arch Linux sync databases · masscan · source: geo.mirror.pkgbuild.com

overview

Package summary

TCP port scanner, scans entire Internet in under 5 minutes

Commands and aliases

  • masscan

history

Project history and usage

MASSCAN is an Internet-scale TCP port scanner designed to transmit probes asynchronously at very high packet rates. It is packaged as a security and networking CLI because it gives users an `nmap`-like command surface for wide-range scanning rather than deep per-host enumeration.

Project history

The public GitHub repository was created in July 2013, and early releases appeared in September and October 2013. The README describes the tool as able to scan the entire Internet in under five minutes from a single machine at up to 10 million packets per second, using its own TCP/IP stack and asynchronous transmit and receive threads.

MASSCAN's 1.0 release arrived in October 2013, and a Kali-tagged prerelease was already published in September 2013. Later releases added practical improvements such as dynamic libpcap loading, memcached support, and IPv6 support in the 1.3.0 line, followed by fixes for the IPv6 transition.

The design section of the README explicitly positions MASSCAN relative to earlier high-speed scanners such as scanrand, unicornscan, and ZMap, while making the command-line and output style familiar to `nmap` users.

Adoption history

MASSCAN is widely adopted for a command-line security tool: the repository has tens of thousands of GitHub stars and thousands of forks, and the supplied package metadata lists packages across Homebrew, Debian, Ubuntu, Fedora, Arch, Alpine, MacPorts, and Nix.

Its package-manager footprint reflects its role in security labs, reconnaissance workflows, and network inventory jobs where users want a readily installable binary rather than building research code by hand.

How it is used

Users provide ports and target ranges, for example `masscan -p80,8000-8100 10.0.0.0/8`, and can emit or reuse configuration with `--echo` and `-c`. The README documents XML, binary, grepable, JSON, and list output formats.

MASSCAN is tuned for breadth. The README contrasts it with `nmap`: it uses randomized host order, raw packet sending, no default ports, no DNS resolution, and an asynchronous model suited to large address ranges. It also warns that banner grabbing and other TCP interactions can conflict with the host network stack unless source IPs, source ports, and firewall rules are configured carefully.

The default configuration file is `/etc/masscan/masscan.conf`, and command-line settings override that default. The README recommends using exclude files for Internet-scale scans and includes prominent cautions about scanning responsibly.

Why package nerds care

MASSCAN is package-nerd significant because it is one of the canonical examples of a single-purpose C security tool that package managers make safe to acquire, update, and remove across many Unix-like systems.

It also shows why packaging security tools matters: users get reproducible builds and OS integration for software that otherwise encourages copying binaries or building from source before running high-impact network scans.

Timeline

  • 2013: GitHub repository created.
  • 2013: Early v1 and Kali prereleases published.
  • 2013: 1.0 release published.
  • 2020: 1.3.0 release adds IPv6 support.
  • 2026: Repository remains active with recent commits.

Related projects

  • MASSCAN is related to `nmap`, but optimized for broad asynchronous scanning rather than detailed host inspection.
  • The README also compares its asynchronous approach with scanrand, unicornscan, and ZMap.

security posture

Risk level: red

large-scale network scanning tool.

Risk classifier

red risk · high confidence · escape-surveillance-offensive

Why

  • large-scale network scanning tool

Signals

  • override:masscan

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 13 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
/etc/masscan/masscan.conf

executables

Installed executables

CommandKindExposureNote
masscancliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.3.2
manager updated
local dataok
upstreamcurrent
latest detected1.3.2

https://github.com/robertdavidgraham/masscan

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:masscan
Version1.3.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/masscan
Homepagehttps://github.com/robertdavidgraham/masscan/
Repositoryhttps://github.com/robertdavidgraham/masscan
Upstream docshttps://github.com/robertdavidgraham/masscan#readme
LicenseAGPL-3.0-only
Source archivehttps://github.com/robertdavidgraham/masscan/archive/refs/tags/1.3.2.tar.gz
Bottleavailable (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemasscan
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

masscan 2:1.3.2+ds1-2

TCP port scanner

https://github.com/robertdavidgraham/masscan

sudo apt install masscan
  • Section: net
  • Architecture: amd64
  • 2 dependencies
  • normalized package name match
  • Matched by: Masscan
Debian stable package indexes · deb.debian.org · Debian stable package indexes: masscan from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

masscan

nix profile install nixpkgs#masscan
  • normalized package name match
  • Matched by: Masscan
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ma/masscan/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

masscan 2:1.3.2+ds1-1

TCP port scanner

https://github.com/robertdavidgraham/masscan

sudo apt install masscan
  • Section: universe/net
  • Architecture: amd64
  • 1 dependencies
  • normalized package name match
  • Matched by: Masscan
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: masscan from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

masscan 1.3.2-r2

TCP port scanner, spews SYN packets asynchronously, scanning entire Internet in under 5 minutes

https://github.com/robertdavidgraham/masscan

sudo apk add masscan
  • License: AGPL-3.0-only
  • Architecture: x86_64
  • Source Package: masscan
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Masscan
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: masscan from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

masscan-doc 1.3.2-r2

TCP port scanner, spews SYN packets asynchronously, scanning entire Internet in under 5 minutes (documentation)

https://github.com/robertdavidgraham/masscan

sudo apk add masscan-doc
  • License: AGPL-3.0-only
  • Architecture: x86_64
  • Source Package: masscan
  • normalized package name match
  • Matched by: Masscan
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: masscan-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

masscan 1.3.2-15.fc44

This is an Internet-scale port scanner

https://github.com/robertdavidgraham/masscan

sudo dnf install masscan
  • License: AGPL-3.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: masscan
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Masscan
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: masscan from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

masscan 1.3.2-2

TCP port scanner, spews SYN packets asynchronously, scanning entire Internet in under 5 minutes

https://github.com/robertdavidgraham/masscan

sudo pacman -S masscan
  • License: AGPL3
  • Architecture: x86_64
  • 2 dependencies
  • normalized package name match
  • Matched by: Masscan
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: masscan from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

masscan

sudo port install masscan
  • normalized package name match
  • Matched by: Masscan
MacPorts ports tree · api.github.com · MacPorts ports tree: net/masscan/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment