Automic VaultAutomic Vault

brew

Install asnmap with Homebrew, dnf, Nix

Quickly map organization network ranges using ASN information. Version 1.1.1 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install asnmap

local Homebrew formula metadata

Linux

Fedora dnfverified · 92%
sudo dnf install asnmap

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

Nixverified · 92%
nix profile install nixpkgs#asnmap

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

overview

Package summary

Quickly map organization network ranges using ASN information

Commands and aliases

  • asnmap

history

Project history and usage

asnmap is ProjectDiscovery's Go CLI and library for mapping autonomous system, organization, domain, and IP inputs to network ranges. It fits the ProjectDiscovery style of small composable reconnaissance tools with stdin/stdout support and automation-friendly JSON and CSV output.

Project history

The official README presents asnmap as both a command-line tool and Go library built on top of the ASNMap API. It acknowledges Frank Denis for maintaining the free IPtoASN database, making the project a packaged interface around ASN/CIDR lookup data useful in security and network inventory workflows.

Adoption history

The Homebrew input records asnmap in Homebrew, dnf, and Nix. Upstream installation also documents `go install github.com/projectdiscovery/asnmap/cmd/asnmap@latest` and precompiled binaries from the GitHub releases page, which is typical for ProjectDiscovery tools distributed both through Go and OS package managers.

How it is used

asnmap accepts ASN, IP, domain, organization, file, and stdin input. Common package-manager usage is simple shell composition: query an organization or AS number, emit CIDR ranges, and pipe them into other recon tools.

The README explicitly shows pipelines into ProjectDiscovery tools such as `tlsx`, `dnsx`, `naabu`, `httpx`, and `nuclei`, and it documents JSON and CSV output for post-processing.

Why package nerds care

For package nerds, asnmap is notable less as a standalone network database and more as a glue utility: it converts high-level organization or ASN targets into CIDR material that the rest of a CLI security toolchain can consume.

The tool's API-token support also marks a shift seen in modern recon CLIs: a packaged open-source binary can still depend on a hosted platform token for full operation.

Timeline

  • 2022: README examples show v0.0.1-era output and timestamped JSON examples for ASN/CIDR lookup.
  • Current README: Installation requires Go 1.21, supports precompiled releases, and documents ProjectDiscovery Cloud API token configuration.

Related projects

  • The README documents direct workflow use with `tlsx`, `dnsx`, `naabu`, `httpx`, and `nuclei`, all in the ProjectDiscovery CLI ecosystem.
  • The README acknowledges the IPtoASN database maintained by Frank Denis as related data infrastructure.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:network

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 10 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

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

executables

Installed executables

CommandKindExposureNote
asnmapcliglobal 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.1.1
manager updated
local dataok
upstreamcurrent
latest detectedv1.1.1

https://github.com/projectdiscovery/asnmap

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

install metadata

Package metadata

Package keybrew:asnmap
Version1.1.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/asnmap
Homepagehttps://github.com/projectdiscovery/asnmap
Repositoryhttps://github.com/projectdiscovery/asnmap
Upstream docshttps://github.com/projectdiscovery/asnmap#readme
LicenseMIT
Source archivehttps://github.com/projectdiscovery/asnmap/archive/refs/tags/v1.1.1.tar.gz
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameasnmap
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.

Nix95%

asnmap

nix profile install nixpkgs#asnmap
  • normalized package name match
  • Matched by: Asnmap
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/as/asnmap/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
dnf95%

asnmap 1.1.1-9.fc44

Go CLI and Library for quickly mapping organization network ranges using ASN information

https://github.com/projectdiscovery/asnmap

sudo dnf install asnmap
  • License: 0BSD AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ICU AND ISC AND MIT AND MPL-2.0 AND Unlicense
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: asnmap
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Asnmap
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: asnmap from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

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 package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment