# 使用 Homebrew, MacPorts, Nix 安装 dalfox

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

## 安装

```sh
sudo av install brew:dalfox
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dalfox
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dalfox
```

  证据: MacPorts ports tree: security/dalfox/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#dalfox
```

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

## 软件包事实

- **软件包键:** brew:dalfox
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/dalfox>
- **版本:** 3.2.0
- **来源摘要:** XSS scanner and utility focused on automation
- **主页:** <https://dalfox.hahwul.com>
- **仓库:** <https://github.com/hahwul/dalfox>
- **上游文档:** <https://dalfox.hahwul.com>
- **许可证:** MIT
- **源码归档:** <https://github.com/hahwul/dalfox/archive/refs/tags/v3.2.0.tar.gz>
- **最后更新:** 2026-08-02T11:57:54Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- dalfox (cli)
- dalfox (别名)

## 构建依赖

- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 3.2.0
- 管理器更新时间: 2026-08-02
- 本地数据: OK
- 上游仓库: https://github.com/hahwul/dalfox
- 检测到的最新版本: v3.2.0 (当前)
## 项目历史与用法

Dalfox is an open-source XSS scanner and security automation CLI built around parameter discovery, context-aware payload generation, and verified reporting formats useful in bug bounty and DevSecOps workflows.

### 项目历史

The project identifies itself as Dalfox, combining the Korean word for moon with 'Fox', and its older Go-era README described it as a successor-style rewrite after XSpear. Current official documentation presents v3 as a Rust rewrite while preserving the Go v2 branch for security backports.

### 采用历史

Dalfox became package-manager friendly because it ships as a single CLI and documents installation through Homebrew, Snap, Nix, cargo, Arch AUR, prebuilt binaries, and source builds. Its official pages emphasize fitting into existing recon stacks instead of requiring a heavy scanner platform.

### 使用方式

Typical use is to scan a single URL, a file of URLs, raw HTTP input, or piped crawler output, then export findings as plain text, JSON, JSONL, Markdown, SARIF, TOML, or through REST and MCP server modes.

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

For package maintainers, Dalfox is a modern security CLI with a clean single-binary distribution story and a visible language/runtime transition from Go v2 to Rust v3, making it a useful example of how security tools move across ecosystems while keeping package channels alive.

### 时间线

- 2020: Go module metadata records a stable v1-era Dalfox release.
- 2025: Official release notes documented expanded server, report, and raw request workflow support in the v2 line.
- 2026: Official docs present Dalfox v3.1.2 and a Rust-based v3 line.

### Related projects

- Dalfox's own history points back to XSpear as prior XSS tooling by the same author, and its package ecosystem sits beside proxy/recon tools such as Caido, Burp-style raw request workflows, and CI code-scanning consumers of SARIF.

### 来源

- <https://dalfox.hahwul.com/>
- <https://dalfox.hahwul.com/getting-started/>
- <https://dalfox.hahwul.com/getting-started/installation/>
- <https://dalfox.hahwul.com/getting-started/configuration/>
- <https://github.com/hahwul/dalfox>
- <https://www.hahwul.com/blog/2025/dalfox_2_12_released/>


## 安全说明

没有找到 dalfox 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



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

- Unix: $XDG_CONFIG_HOME/dalfox/config.toml, ~/.config/dalfox/config.toml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** dalfox
- **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:** head, stable

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

- Nix - dalfox: normalized package name match | nixpkgs package indexes: pkgs/by-name/da/dalfox/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - dalfox: normalized package name match | MacPorts ports tree: security/dalfox/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://pkg.so/zh-hans/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [Web development packages](https://pkg.so/zh-hans/web-dev-tools/) - Matched web development metadata.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [ffuf](https://pkg.so/zh-hans/brew/ffuf/) - Shares pkgdb curated category or tags: cli, security, web-security.
- [feroxbuster](https://pkg.so/zh-hans/brew/feroxbuster/) - Shares pkgdb curated category or tags: cli, security, web-security.
- [katana](https://pkg.so/zh-hans/brew/katana/) - Shares pkgdb curated category or tags: automation, cli, security, web-security.
- [anubis](https://pkg.so/zh-hans/brew/anubis/) - Shares pkgdb curated category or tags: cli, security, web-security.
- [snyk-cli](https://pkg.so/zh-hans/brew/snyk-cli/) - Shares pkgdb curated category or tags: cli, security, vulnerability-scanning.
- [dependency-check](https://pkg.so/zh-hans/brew/dependency-check/) - Shares pkgdb curated category or tags: cli, security, vulnerability-scanning.
- [gobuster](https://pkg.so/zh-hans/brew/gobuster/) - Shares pkgdb curated category or tags: cli, security, web-security.
- [nikto](https://pkg.so/zh-hans/brew/nikto/) - Shares pkgdb curated category or tags: cli, security, web-security.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
