macOS
brew install asnlocal Homebrew formula metadata
brew
asn のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install asnlocal Homebrew formula metadata
sudo apk add asnAlpine Linux edge package indexes · asn · ソース: dl-cdn.alpinelinux.org
nix profile install nixpkgs#asnnixpkgs package indexes · pkgs/by-name/as/asn/package.nix · ソース: api.github.com
概要
Organization lookup and server tool (ASN / IPv4 / IPv6 / Prefix / AS Path)
履歴
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.
セキュリティ状態
broad file, network, media, or database tool signal.
リスク blue · 信頼度 中 · tool
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
local files
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.
Config paths the tool may read or write during local use.
~/.asnrcCredential-bearing paths to review before unattended agent runs.
~/.asn/ipinfo_token/etc/asn/ipinfo_token~/.asn/iqs_token/etc/asn/iqs_token~/.asn/cloudflare_token/etc/asn/cloudflare_token実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
asn | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/nitefood/asn
インストールメタデータ
| パッケージキー | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | asn |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
asn 0.78.0-1
network OSINT CLI ASN, RPKI, BGP, Geo, Recon, Trace
https://github.com/nitefood/asn/
sudo apt install asnasn
nix profile install nixpkgs#asnasn 0.75.3-1.1
network OSINT CLI ASN, RPKI, BGP, Geo, Recon, Trace
https://github.com/nitefood/asn/
sudo apt install asnasn 0.81.0-r0
ASN Lookup Tool and Traceroute Server
https://github.com/nitefood/asn/
sudo apk add asnソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.