Automic VaultAutomic Vault

brew

Installer asn avec Homebrew, apk, apt, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de asn pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install asn

local Homebrew formula metadata

Linux

Alpine Linux apkvérifié · 92%
sudo apk add asn

Alpine Linux edge package indexes · asn · Source: dl-cdn.alpinelinux.org

Debian aptvérifié · 92%
sudo apt install asn

Debian stable package indexes · asn · Source: deb.debian.org

Nixvérifié · 92%
nix profile install nixpkgs#asn

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

aperçu

Résumé du paquet

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

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

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

posture de sécurité

Niveau de risque : blue

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

Classificateur de risque

risque blue · confiance moyen · tool

Pourquoi

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

Signaux

  • text:server

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 1 plateformes.
  • S’installe avec 7 dépendances d’exécution.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

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

exécutables

Exécutables installés

CommandeTypeExpositionNote
asncliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-10
version du gestionnaire0.81.0
gestionnaire mis à jour
données localesOK
amontà jour
dernière version détectéev0.81.0

https://github.com/nitefood/asn

  • infoNo package-manager update timestamp was available.confiance faible

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:asn
Version0.81.0
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/asn
Page d'accueilhttps://github.com/nitefood/asn
Dépôthttps://github.com/nitefood/asn
Docs amonthttps://github.com/nitefood/asn#readme
LicenceMIT
Archive sourcehttps://github.com/nitefood/asn/archive/refs/tags/v0.81.0.tar.gz
Dépendancesaha, bash, coreutils, grepcidr, ipcalc, mtr, nmap
Bibliothèques fournies par macOSjq, whois
Bouteilledisponible (sur all)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

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

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

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 Dépendances
  • normalized package name match
  • Correspondance par : 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
  • Correspondance par : 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 Dépendances
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : 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

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • 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