# 使用 Homebrew, Nix 安装 spoof-mac

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

## 安装

```sh
sudo av install brew:spoof-mac
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install spoof-mac
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#spoof-mac
```

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

## 软件包事实

- **软件包键:** brew:spoof-mac
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/spoof-mac>
- **版本:** 2.1.1
- **来源摘要:** Spoof your MAC address in macOS
- **主页:** <https://feross.org/spoofmac/>
- **仓库:** <https://github.com/feross/SpoofMAC>
- **上游文档:** <https://feross.org/spoofmac>
- **许可证:** MIT
- **源码归档:** <https://files.pythonhosted.org/packages/9c/59/cc52a4c5d97b01fac7ff048353f8dc96f217eadc79022f78455e85144028/SpoofMAC-2.1.1.tar.gz>
- **最后更新:** 2026-06-15T10:21:20-04:00
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- spoof-mac (cli)
- spoof-mac.py (cli)
- spoof-mac (别名)
- spoof-mac.py (别名)

## 依赖

- python@3.14

## 安装行为

- post-install 钩子: 未定义
- 服务: declared
- 注意事项: Although spoof-mac can run without root, you must be root to change the MAC. The launchdaemon is set to randomize en0. You can find the interfaces available by running: "spoof-mac list" If you wish to change interface randomized at startup change the plist line: <string>en0</string> to e.g.: <string>en1</string>
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 2.1.1
- 管理器更新时间: 2026-06-15
- 本地数据: OK
- 上游仓库: https://feross.org/spoofmac/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

SpoofMAC is a small Python command-line utility for changing a network interface MAC address, originally centered on making the macOS workflow less tedious and later extended to Windows and Linux.

### 项目历史

The project README says it was created because changing a MAC address on Mac OS X was harder than it should be, especially because the Wi-Fi interface needed to be disassociated before the new address would apply. The public GitHub repository was created in 2011 and the README changelog records an original 0.0.0 version, a later rewrite to conform to PEP 8, Windows and Linux support in 1.2.0, and Python 3 support in 2.0.0.

### 采用历史

SpoofMAC entered package-manager culture as a quick installable CLI for a task often otherwise done with platform-specific network commands. The input records Homebrew and Nix packaging, and the upstream README also documents PyPI installation with pip or easy_install.

### 使用方式

Typical use is interactive terminal administration: list interfaces, randomize an interface address, set a specific address, or try to reset an interface back to its original address. The README also documents an optional launchd setup for macOS users who want a spoofed address applied at startup.

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

Package maintainers care about SpoofMAC because it wraps divergent macOS, Linux, and Windows network behavior behind one executable. It is the kind of tiny system utility that benefits from package-manager delivery: users want it in PATH, with Python dependencies and executable names handled for them.

### 时间线

- 2011: GitHub repository created.
- 1.2.0: Windows and Linux support added.
- 2.0.0: Python 3 support added.
- 2018: Last recorded repository push in GitHub metadata.

### Related projects

- The SpoofMAC README points to `spoof`, a Node.js port, as a related project.

### 来源

- <https://api.github.com/repos/feross/SpoofMAC: official repository metadata including creation date and popularity signals.>
- <https://github.com/feross/SpoofMAC README: motivation, install, usage, changelog, related port.>
- input.source_facts.package-manager: Homebrew and Nix package-manager presence.


## 安全说明

formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- formula declares a Homebrew service

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** spoof-mac
- **Version Scheme:** 0
- **Revision:** 5
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

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


## 相关链接

- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Scientific computing packages](https://www.automicvault.com/zh-hans/pkg/scientific-computing-tools/) - Matched scientific computing metadata.
- [python@3.14](https://www.automicvault.com/zh-hans/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [abpoa](https://www.automicvault.com/zh-hans/pkg/brew/abpoa/) - Shares av.db curated category or tags: bioinformatics, cli, partial-order-alignment, science, sequence-alignment.
- [blast](https://www.automicvault.com/zh-hans/pkg/brew/blast/) - Shares av.db curated category or tags: bioinformatics, cli, science, sequence-alignment.
- [btllib](https://www.automicvault.com/zh-hans/pkg/brew/btllib/) - Shares av.db curated category or tags: bioinformatics, cli, library, science.
- [bwa](https://www.automicvault.com/zh-hans/pkg/brew/bwa/) - Shares av.db curated category or tags: bioinformatics, cli, science, sequence-alignment.
- [diamond](https://www.automicvault.com/zh-hans/pkg/brew/diamond/) - Shares av.db curated category or tags: bioinformatics, cli, science, sequence-alignment.
- [hmmer](https://www.automicvault.com/zh-hans/pkg/brew/hmmer/) - Shares av.db curated category or tags: bioinformatics, cli, science, sequence-alignment.
- [lastz](https://www.automicvault.com/zh-hans/pkg/brew/lastz/) - Shares av.db curated category or tags: bioinformatics, cli, science, sequence-alignment.
- [mafft](https://www.automicvault.com/zh-hans/pkg/brew/mafft/) - Shares av.db curated category or tags: bioinformatics, cli, science, sequence-alignment.
- [kraken2](https://www.automicvault.com/zh-hans/pkg/brew/kraken2/) - Both packages touch the same language runtime or ecosystem. Shared terms: bioinformatics, cli, python, python-3-14, science.
- [spades](https://www.automicvault.com/zh-hans/pkg/brew/spades/) - Both packages touch the same language runtime or ecosystem. Shared terms: bioinformatics, cli, python, python-3-14, science.

## Combined YAML source

View the package source record on GitHub. [combined/spoof-mac.yml](https://github.com/automic-vault/db/blob/main/combined/spoof-mac.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
