# Install smap with Homebrew, Nix

Drop-in replacement for Nmap powered by shodan.io. Version 0.1.12 via Homebrew; verified 2026-07-26. Also installable with nix: nix profile install nixpkgs#smap.

## Install

```sh
sudo av install brew:smap
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install smap
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#smap
```

  Evidence: nixpkgs package indexes: pkgs/by-name/sm/smap/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:smap
- **Package manager:** Homebrew
- **Version:** 0.1.12
- **Source summary:** Drop-in replacement for Nmap powered by shodan.io
- **Homepage:** <https://github.com/s0md3v/Smap>
- **Repository:** <https://github.com/s0md3v/Smap>
- **Last updated:** 2026-07-26T04:03:42+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- smap (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.1.12
## Project history and usage

Smap is a passive, Nmap-like port scanner backed by Shodan data. It accepts many familiar Nmap-style arguments while avoiding direct connections to targets unless active verification is requested.

### Project history

The GitHub repository was created in March 2022. The first release candidate, 0.1.0-rc, appeared later that month, followed by 0.1.0 in April 2022; the README describes Smap as a passive Nmap-like scanner built with shodan.io.

### Adoption history

The official README documents prebuilt binaries, Go installation, AUR packages, and Homebrew installation. The supplied package metadata lists Homebrew and Nix package names, showing adoption by security-tool package sets as well as Go-based CLI users.

### How it is used

Smap is used for fast passive port lookups, Nmap-compatible output formats, target lists, port filters, vulnerability display, and optional active verification through local nmap. The README notes that it does not require an account or API key.

### Why package nerds care

Smap is interesting to package nerds because it wraps a network-intelligence service in a familiar Unix CLI shape: one binary, Nmap-like flags, packaged installs, and output formats that fit existing scanner pipelines.

### Timeline

- 2022: GitHub repository created.
- 2022: 0.1.0-rc and 0.1.0 released.
- 2022: 0.1.12 released.
- 2026: 0.2.0-rc published.

### Related projects

- Smap is related to Nmap, Shodan InternetDB, passive reconnaissance tools, and security scanner packaging ecosystems.

### Sources

- <https://api.github.com/repos/s0md3v/Smap>
- <https://api.github.com/repos/s0md3v/Smap/releases>
- <https://github.com/s0md3v/Smap#readme>
- <https://github.com/s0md3v/Smap/wiki/FAQ>
- input.source_facts.package-manager


## Security Notes

generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- generalized runtime or code generation signal

## Other Package-Manager Records

- Nix - smap: normalized package name match | nixpkgs package indexes: pkgs/by-name/sm/smap/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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


## Sources

- 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
