# asnmap を Homebrew, dnf, Nix でインストール

asnmap のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:asnmap
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install asnmap
```

  証拠: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install asnmap
```

  証拠: Fedora Rawhide package metadata: asnmap from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#asnmap
```

  証拠: nixpkgs package indexes: pkgs/by-name/as/asnmap/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:asnmap
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.1.1
- **ソース概要:** Quickly map organization network ranges using ASN information
- **ホームページ:** <https://github.com/projectdiscovery/asnmap>
- **リポジトリ:** <https://github.com/projectdiscovery/asnmap>
- **最終更新:** 2026-07-25T14:18:26-04:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- asnmap (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.1.1
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

- 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.

### ソース

- <https://github.com/projectdiscovery/asnmap#readme>
- input.source_facts.package-manager


## セキュリティノート

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

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal

## 他のパッケージマネージャ記録

- Nix - asnmap: normalized package name match | nixpkgs package indexes: pkgs/by-name/as/asnmap/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - asnmap - 1.1.1-10.fc45: normalized package name match | Fedora Rawhide package metadata: asnmap from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Go CLI and Library for quickly mapping organization network ranges using ASN information | https://github.com/projectdiscovery/asnmap


## Combined YAML source

View the package source record on GitHub. [combined/asnmap.yml](https://github.com/mxcl/pkgdb/blob/main/combined/asnmap.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
