Automic VaultAutomic Vault

brew

asn を Homebrew, apk, apt, Nix でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install asn

local Homebrew formula metadata

概要

パッケージ概要

Organization lookup and server tool (ASN / IPv4 / IPv6 / Prefix / AS Path)

コマンドとエイリアス

  • asn

履歴

プロジェクトの歴史と使われ方

asn is a Bash-based network lookup, recon, and traceroute server tool centered on autonomous systems, prefixes, RPKI validity, BGP statistics, geolocation, reputation, and IP/ASN investigation workflows.

プロジェクトの歴史

The nitefood/asn repository was created in July 2020. The README describes a single command-line tool that can also run as a web traceroute server and as a JSON-producing lookup API endpoint.

The project grew beyond simple ASN lookup into a collector of network intelligence APIs and command-line workflows. Its README lists Team Cymru, Prefix Whois, PeeringDB, CAIDA ASRank, RIPEStat, RIPE IPmap, Shodan, Cloudflare Radar, GreyNoise, NVD, IPQualityScore, ipinfo.io, and other data providers as supported inputs.

採用の歴史

asn has unusually broad packaging for a shell network tool. The README displays OS support for Debian, Ubuntu, Kali, CentOS, Red Hat, Rocky Linux, Fedora, Arch, Manjaro, Alpine, openSUSE, FreeBSD, Nix, macOS, Windows environments, and Raspberry Pi, and the input package facts list apk, Homebrew, Debian, Nix, and Ubuntu packages.

GitHub metadata shows roughly two thousand stars and active releases through 2026. Homebrew analytics show continuing installs, while the README's Repology badge points at multi-repository packaging status.

使われ方

The common workflow is to run `asn` against an IP address, hostname, prefix, AS number, URL, or organization name and inspect enriched network output. The tool can do AS path tracing with mtr, RPKI checks, organization searches, Shodan recon, country CIDR mapping, bulk geolocation, and JSON output for pipelines.

Configuration is deliberately Unix-like: defaults can be overridden with `$HOME/.asnrc`, and optional API tokens are read from `$HOME/.asn/` for user mode or `/etc/asn/` for server mode. Docker and Google Cloud Shell workflows are documented for users who do not want a local install.

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

asn is significant because it packages a messy incident-response habit, asking several network-intelligence services about an address or ASN, into a scriptable CLI. For package maintainers, it is also an instructive case: a Bash tool with many external command and API integrations, distro packages, container usage, and optional credential files.

It occupies the same practical shelf as whois, dig, mtr, bgp.tools shortcuts, and OSINT helper scripts, but makes the package-manager version matter because release updates can add or repair upstream data-provider integrations.

タイムライン

  • 2020: GitHub repository created.
  • 2024: v0.76 and v0.78 releases published.
  • 2025: v0.79 and v0.80 releases published.
  • 2026: v0.81.0 published and listed by Homebrew as the stable version.

Related projects

  • The README documents integrations with mtr, Team Cymru IP to ASN mapping, Prefix Whois, PeeringDB, CAIDA ASRank, RIPEStat, Cloudflare Radar, Shodan, GreyNoise, ipinfo.io, and other network-data services.

セキュリティ状態

リスクレベル: blue

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

リスク分類器

リスク blue · 信頼度 中 · tool

理由

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

信号

  • text:server

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 1 個のプラットフォームターゲットで利用できます。
  • 7 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

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
~/.asnrc

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.asn/ipinfo_token/etc/asn/ipinfo_token~/.asn/iqs_token/etc/asn/iqs_token~/.asn/cloudflare_token/etc/asn/cloudflare_token

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
asncliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版0.81.0
マネージャ更新日
ローカルデータOK
上流最新
検出された最新v0.81.0

https://github.com/nitefood/asn

  • 情報No package-manager update timestamp was available.信頼度 低

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:asn
バージョン0.81.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/asn
ホームページhttps://github.com/nitefood/asn
リポジトリhttps://github.com/nitefood/asn
上流ドキュメントhttps://github.com/nitefood/asn#readme
ライセンスMIT
ソースアーカイブhttps://github.com/nitefood/asn/archive/refs/tags/v0.81.0.tar.gz
依存関係aha, bash, coreutils, grepcidr, ipcalc, mtr, nmap
macOS 提供ライブラリjq, whois
Bottle利用可能 (対象 all)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

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

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

asn 0.78.0-1

network OSINT CLI ASN, RPKI, BGP, Geo, Recon, Trace

https://github.com/nitefood/asn/

sudo apt install asn
  • Section: net
  • Architecture: all
  • 10 依存関係
  • normalized package name match
  • 一致条件: Asn
Debian stable package indexes · deb.debian.org · Debian stable package indexes: asn from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

asn

nix profile install nixpkgs#asn
  • normalized package name match
  • 一致条件: Asn
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/as/asn/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

asn 0.75.3-1.1

network OSINT CLI ASN, RPKI, BGP, Geo, Recon, Trace

https://github.com/nitefood/asn/

sudo apt install asn
  • Section: universe/net
  • Architecture: all
  • 10 依存関係
  • normalized package name match
  • 一致条件: Asn
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: asn from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

asn 0.81.0-r0

ASN Lookup Tool and Traceroute Server

https://github.com/nitefood/asn/

sudo apk add asn
  • License: MIT
  • Architecture: x86_64
  • Source Package: asn
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Asn
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: asn from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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