# projectdiscovery/asnmap

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

Repository: https://github.com/projectdiscovery/asnmap
Canonical: https://ross.abutalabs.com/products/asnmap
Language: Go
License: MIT
License Family: permissive
Topics: asn, asn-lookup, cidr-range, osint, recon
Last push: 2026-08-24T16:42:39+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 8, longevity 100
- inputs: {"age_days": 1435, "days_push": 9, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1121, forks 123 (observed 2026-08-28T04:03:39.890502+00:00)

## What it is
asnmap is a Go CLI tool and library that maps organizations to their network ranges (CIDR blocks) using ASN information. It supports lookups by ASN, IP, domain, or organization name, with JSON/CSV/text output and stdin/stdout piping.

## Use cases
- find all IP ranges belonging to an organization
- map ASN to CIDR blocks for reconnaissance
- resolve a domain to its network ranges
- enumerate attack surface from an org name
- look up CIDR ranges for an IP address
- pipe ASN data into other recon tools

## When to choose
- you need quick ASN-to-CIDR mapping during OSINT or recon
- you want a scriptable CLI with JSON/CSV output and stdin support
- you need a Go library for ASN lookups in your own tooling

## When to avoid
- you need deep BGP routing analysis or historical ASN data
- you want a GUI-based network mapping tool
- you need real-time network monitoring rather than one-off lookups

## Facets
- artifact type: cli-tool
- maturity: active
- function: cli, networking, security, osint
- domain: security, networking, osint, developer-tools
- platform: windows, go, cli
- tags: asn-lookup, cidr-range, recon, attack-surface-mapping, projectdiscovery, linux, macos

## Member repositories
- projectdiscovery/asnmap (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:39.890502+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:41:01.573222+00:00, confidence not recorded.
  - readme: https://github.com/projectdiscovery/asnmap (fetched 2026-08-28T04:03:39.890502+00:00, sha 877721b3bcea)
- Data as of 2026-08-30T08:39:29.467469+00:00.
