# 使用 Homebrew, Nix 安装 smap

查看 smap 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install smap
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## 软件包事实

- **软件包键:** brew:smap
- **软件包管理器:** Homebrew
- **版本:** 0.1.12
- **来源摘要:** Drop-in replacement for Nmap powered by shodan.io
- **主页:** <https://github.com/s0md3v/Smap>
- **仓库:** <https://github.com/s0md3v/Smap>
- **最后更新:** 2026-07-26T04:03:42+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- smap (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.1.12
## 项目历史与用法

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.

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

### 为什么软件包爱好者会关心

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.

### 时间线

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

### 来源

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


## 安全说明

generalized runtime or code generation signal.

- **Geiger 风险:** yellow / 中
- generalized runtime or code generation signal

## 其他软件包管理器记录

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


## 来源

- 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
